[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-22 00:55:29 -07:00
committed by PyTorch MergeBot
parent c95f7fa874
commit aeaf6b59e2
9 changed files with 101 additions and 9 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: