-
Notifications
You must be signed in to change notification settings - Fork 25.7k
[inductor] CI improvments #91283
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[inductor] CI improvments #91283
Conversation
[ghstack-poisoned]
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/91283
Note: Links to docs will display an error until the docs builds have been completed. ✅ No FailuresAs of commit 540110a: This comment was automatically generated by Dr. CI and updates every 15 minutes. |
Summary: We need to set use_eval_mode when checking training accuracy, not only for inductor but also for eager, to avoid randomness from dropout. Some minor script clean up is also included in this PR. [ghstack-poisoned]
Summary: We need to set use_eval_mode when checking training accuracy, not only for inductor but also for eager, to avoid randomness from dropout. Some minor script clean up is also included in this PR. [ghstack-poisoned]
|
cc @anijain2305. We can't set eval mode for timm models because that would disable bn testing, and we had serious bugs when we didn't test bn. |
Summary: Setting torch.backends.cudnn.deterministic to True helps to eliminate the eager_variance failures seen on CI. Some minor script clean up is also included in this PR. [ghstack-poisoned]
Discussed offline. Dropout is not the root cause here since it is already 0 for those failing models we have seen on CI. Setting |
|
@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 |
Merge failedReason: 2 additional jobs have failed, first few of them are: inductor ,inductor / cuda11.6-py3.10-gcc7-sm86 / test (inductor_timm, 2, 2, linux.g5.4xlarge.nvidia.gpu) Details for Dev Infra teamRaised by workflow job |
Summary: 1) Setting torch.backends.cudnn.deterministic to True helps to eliminate the eager_variance failures seen on CI 2) Skip Triton failure instead of retry 3) Some minor script cleanup is also included in this PR. [ghstack-poisoned]
|
@pytorchbot merge -f "Only affects inductor shards and they have already passed" |
Merge startedYour change will be merged immediately since you used the force (-f) flag, bypassing any CI checks (ETA: 1-5 minutes). Learn more about merging in the wiki. Questions? Feedback? Please reach out to the PyTorch DevX Team |
Summary: #91283 skips certain random triton failure on CI, but we need to check against the BackendCompilerFailed exception type. [ghstack-poisoned]
Summary: #91283 skips certain random triton failure on CI, but we need to check against the BackendCompilerFailed exception type. Pull Request resolved: #91634 Approved by: https://github.com/ngimel
Stack from ghstack (oldest at bottom):
Summary:
eliminate the eager_variance failures seen on CI
cc @mlazos @soumith @voznesenskym @yanboliang @penguinwu @anijain2305 @EikanWang @jgong5 @Guobing-Chen @chunyuan-w @XiaobingSuper @zhuhaozhe @blzheng @Xia-Weiwen @wenzhe-nrv @jiayisunx