[dynamo] Weblink generation when unimplemented_v2() is called (#156033)

This PR includes the GBID weblink whenever a user encounters a graph break. I also had to include the JSON file in setup.py, so it can be part of the files that are packaged in during CI. It also fixes the issue of the hardcoded error messages stripping away one of the '/' in 'https'.

Pull Request resolved: https://github.com/pytorch/pytorch/pull/156033
Approved by: https://github.com/williamwen42
This commit is contained in:
Sidharth
2025-06-20 09:50:54 -07:00
committed by PyTorch MergeBot
parent b8ace6f951
commit 9de23d0c29
8 changed files with 99 additions and 8 deletions

View File

@ -1286,6 +1286,7 @@ def main():
"utils/model_dump/skeleton.html",
"utils/model_dump/code.js",
"utils/model_dump/*.mjs",
"_dynamo/graph_break_registry.json",
]
if not BUILD_LIBTORCH_WHL: