-
Notifications
You must be signed in to change notification settings - Fork 26.3k
C10_UNUSED to [[maybe_unused]] (#6357) #138364
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
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/138364
Note: Links to docs will display an error until the docs builds have been completed. ❌ 1 New FailureAs of commit 809e354 with merge base fecd370 ( NEW FAILURE - The following job has failed:
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
Summary: X-link: pytorch/pytorch#138364 Differential Revision: D64613643
4ebd81c to
6b6ae64
Compare
|
This pull request was exported from Phabricator. Differential Revision: D64613643 |
Summary: X-link: pytorch/pytorch#138364 Reviewed By: dmm-fb Differential Revision: D64613643
|
This pull request was exported from Phabricator. Differential Revision: D64613643 |
098daf2 to
ffd289b
Compare
Summary: Pull Request resolved: pytorch#138364 X-link: pytorch/executorch#6357 Test Plan: Sandcastle Reviewed By: dmm-fb Differential Revision: D64613643
|
This pull request was exported from Phabricator. Differential Revision: D64613643 |
ffd289b to
809e354
Compare
|
@pytorchbot merge -f "ignore internals" |
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 |
Summary: X-link: pytorch/pytorch#138364 Pull Request resolved: #6357 Reviewed By: dmm-fb Differential Revision: D64613643 fbshipit-source-id: 8c0608376e5b21d9d3291bef6ae75e7d826d86bb
|
@r-barnes Why did you |
# Motivation Accroding to pytorch/pytorch#138364 to use `[[maybe_unused]]` to suppress the unused warning. Maybe it could fix the [issue](#987) introduced by https://github.com/intel/torch-xpu-ops/pull/770/files#diff-ae810fb2aff5cf37ab1b21244fd1e172a660a8e4f4b9292f0661af64c2f92b21L15.
# Motivation Fix #138577. # Solution 1. All UTs in `test/inductor/test_compiled_optimizers.py` are fixed by #134170 2. UT in `test/inductor/test_pattern_matcher.py` is introduced by #138089, we will skip this UT due to the unsupported feature `max_autotune_gemm_backends:Triton`. 3. We have a new impl related to `histc`, so we remove the expected failure from `test/inductor/test_torchinductor_opinfo.py` 4. We support `avg_pool3d` for `fp16` data type, so we remove the expected failure from `test/inductor/test_torchinductor_opinfo.py` 5. CUDA-bias code is introduced by #138472, we just generalize it to `GPU_TYPE`. # Additional Context > Why update torch-xpu-ops commit pin here? We have to update commit pin to avoid the build failure raised by the code change [C10_UNUSED](#138364). > What does the feature of torch-xpu-ops update? 1. Add some foreach ops, like `unary ops` and `foreach_clamp_max` etc; 2. Add some maxpool ops forward and backward, like `averge_pool3d` and `max_pool3d` 3. Add some other ops, like `log_normal_`, `index_copy`, and `mode` etc; 4. fix build failure related to `C10_UNUSED`; Pull Request resolved: #138548 Approved by: https://github.com/malfet, https://github.com/EikanWang
Summary: Pull Request resolved: pytorch/executorch#6357
cc @XilunWu @H-Huang @awgu @kwen2501 @wanchaol @fegin @fduwjj @wz337 @wconstab @d4l3k @c-p-i-o @jgong5 @mingfeima @XiaobingSuper @sanchitintel @ashokei @jingxu10 @EikanWang