[ONNX] Change stacklevel in warning message for export#166558
[ONNX] Change stacklevel in warning message for export#166558justinchuby wants to merge 1 commit intomainfrom
Conversation
Change to 3 so that the warning shows user callsite. (Where user calls torch.onnx.export)
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/166558
Note: Links to docs will display an error until the docs builds have been completed. ❗ 1 Active SEVsThere are 1 currently active SEVs. If your PR is affected, please view them below: ⏳ No Failures, 20 PendingAs of commit 4053c4e with merge base fa560e1 ( UNSTABLE - The following job is marked as unstable, possibly due to flakiness on trunk:
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
|
@pytorchbot merge |
|
This PR needs to be approved by an authorized maintainer before merge. |
|
@pytorchbot merge |
Merge startedYour change will be merged once all checks pass (ETA 0-4 Hours). Learn more about merging in the wiki. Questions? Feedback? Please reach out to the PyTorch DevX Team |
|
@pytorchbot merge -f "warning message update" |
|
The merge job was canceled or timed out. This most often happen if two merge requests were issued for the same PR, or if merge job was waiting for more than 6 hours for tests to finish. In later case, please do not hesitate to reissue the merge command |
Merge startedYour change will be merged immediately since you used the force (-f) flag, bypassing any CI checks (ETA: 1-5 minutes). Please use Learn more about merging in the wiki. Questions? Feedback? Please reach out to the PyTorch DevX Team |
Change to 3 so that the warning shows user callsite. (Where user calls torch.onnx.export) Pull Request resolved: #166558 Approved by: https://github.com/titaiwangms
Change to 3 so that the warning shows user callsite. (Where user calls torch.onnx.export)
cc @titaiwangms