-
Notifications
You must be signed in to change notification settings - Fork 24.7k
[inductor] Add constant_to_device for ir.Constant #108087
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
Conversation
Fixes error with: ``` TORCHINDUCTOR_MAX_AUTOTUNE=1 TORCHINDUCTOR_MAX_AUTOTUNE_POINTWISE=1 TORCHINDUCTOR_MAX_AUTOTUNE_GEMM=1 ./benchmarks/dynamo/torchbench.py --inference --performance --no-skip --inductor --freezing --only pyhpc_turbulent_kinetic_energy ``` [ghstack-poisoned]
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/108087
Note: Links to docs will display an error until the docs builds have been completed. ✅ You can merge normally! (2 Unrelated Failures)As of commit c400ecd with merge base 7ef13b1 ( BROKEN TRUNK - The following job failed but were present on the merge base:👉 Rebase onto the `viable/strict` branch to avoid these failures
UNSTABLE - The following job failed but was likely due to flakiness present on trunk and has been marked as unstable:
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
Fixes error with: ``` TORCHINDUCTOR_MAX_AUTOTUNE=1 TORCHINDUCTOR_MAX_AUTOTUNE_POINTWISE=1 TORCHINDUCTOR_MAX_AUTOTUNE_GEMM=1 ./benchmarks/dynamo/torchbench.py --inference --performance --no-skip --inductor --freezing --only pyhpc_turbulent_kinetic_energy ``` cc voznesenskym penguinwu EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng Xia-Weiwen wenzhe-nrv jiayisunx peterbell10 ipiszy ngimel yf225 chenyang78 kadeng muchulee8 aakhundov [ghstack-poisoned]
Fixes error with: ``` TORCHINDUCTOR_MAX_AUTOTUNE=1 TORCHINDUCTOR_MAX_AUTOTUNE_POINTWISE=1 TORCHINDUCTOR_MAX_AUTOTUNE_GEMM=1 ./benchmarks/dynamo/torchbench.py --inference --performance --no-skip --inductor --freezing --only pyhpc_turbulent_kinetic_energy ``` ghstack-source-id: 37946d5 Pull Request resolved: #108087
@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 |
This is one (but not all) issues in DALLE2_pytorch Pull Request resolved: #108098 Approved by: https://github.com/eellison ghstack dependencies: #108096, #108087
Fixes: ```python CUDA_LAUNCH_BLOCKING=1 ./benchmarks/dynamo/torchbench.py --inference --performance --no-skip --inductor --freezing --only nanogpt_generate loading model: 0it [00:00, ?it/s]number of parameters: 123.69M loading model: 0it [00:07, ?it/s] cuda eval nanogpt_generate ERROR:common:Backend dynamo failed in warmup() Traceback (most recent call last): File "/data/users/jansel/pytorch/torch/_inductor/cudagraph_trees.py", line 1084, in _record static_outputs = model(inputs) File "/data/users/jansel/pytorch/torch/_inductor/codecache.py", line 401, in _run_from_cache return compiled_graph.compiled_artifact(inputs) File "/tmp/torchinductor_jansel/db/cdbk4ip3fucyoccnbnoik2crjpdkliwxll653l7l3wwsxiygmade.py", line 18375, in call buf239 = aten.multinomial.default(buf238, 1) File "/data/users/jansel/pytorch/torch/_ops.py", line 448, in __call__ return self._op(*args, **kwargs or {}) RuntimeError: CUDA error: operation not permitted when stream is capturing ``` Pull Request resolved: #108105 Approved by: https://github.com/eellison ghstack dependencies: #108096, #108087, #108098
Stack from ghstack (oldest at bottom):
Fixes error with:
cc @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @Xia-Weiwen @wenzhe-nrv @jiayisunx @peterbell10 @ipiszy @ngimel @yf225 @chenyang78 @kadeng @muchulee8 @aakhundov