Repository navigation
torch.bcomplex32 shell dtype. - #173783
hameerabbasi wants to merge 13 commits into
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/173783
Note: Links to docs will display an error until the docs builds have been completed. ❌ 1 New Failure, 2 Unrelated FailuresAs of commit 961ec29 with merge base e8fdac8 ( NEW FAILURE - The following job has failed:
FLAKY - The following job failed but was likely due to flakiness present on trunk:
BROKEN TRUNK - The following job failed but was present on the merge base:👉 Rebase onto the `viable/strict` branch to avoid these failures
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
8626d6b to
9602874
Compare
bb469ef to
cfd4d49
Compare
cfd4d49 to
22e8cde
Compare
| // BFloat16 has range equivalent to Float, | ||
| // so we map it to ComplexFloat. | ||
| return ScalarType::ComplexFloat; | ||
| return ScalarType::BComplex32; | ||
| case ScalarType::Half: |
There was a problem hiding this comment.
This is technically bc-breaking, makes it so that complex(bfloat16, bfloat16) -> bcomplex32. It was previously complex64.
There was a problem hiding this comment.
It seems one weird consequence of this is op(bfloat16, python_complex_scalar) doesn't work anymore, as it tries to compute in bcomplex32.
22e8cde to
11ba0e7
Compare
| } | ||
|
|
||
| _real_to_complex_dtype_map = { | ||
| torch.float16: torch.complex32, | ||
| torch.bfloat16: torch.complex64, | ||
| torch.bfloat16: torch.bcomplex32, |
There was a problem hiding this comment.
This is related to the same BC break mentioned in #173783 (comment)
86f76c9 to
6a04945
Compare
|
6a04945 and 949adf5 show some of the testing fixes needed due to the BC break described in #173783 (comment). |
b9b68ef to
7b141cc
Compare
|
@pytorchbot started a rebase job onto refs/remotes/origin/viable/strict. Check the current status here |
|
Successfully rebased |
|
@pytorchbot merge -i |
|
@pytorchbot rebase |
|
@pytorchbot started a rebase job onto refs/remotes/origin/viable/strict. Check the current status here |
…EX` macros * Use these in place of the `AT_FORALL_SCALAR_TYPES_WITH_COMPLEX` macro where possible * Revert changes to `AT_FORALL_SCALAR_TYPES_WITH_COMPLEX`
|
Successfully rebased |
|
@pytorchbot merge -i |
Merge startedYour change will be merged while ignoring the following 1 checks: Meta Internal-Only Changes Check Learn more about merging in the wiki. Questions? Feedback? Please reach out to the PyTorch DevX Team |
Merge failedReason: 1 mandatory check(s) failed. The first few are: Dig deeper by viewing the failures on hud |
|
@pytorchbot merge -i |
Merge startedYour change will be merged while ignoring the following 4 checks: trunk / linux-jammy-rocm-py3.10-mi355 / test (default, 8, 10, linux.rocm.gpu.gfx950.1), torchtitan-test / torchtitan-x-pytorch-test / test-osdc (torchtitan_models_integration, 1, 1, mt-l-x86aavx2-189-704-a10g-8), torchtitan-test / torchtitan-x-pytorch-test / test-osdc (torchtitan_features_integration, 1, 1, mt-l-x86aavx2-189-704-a10g-8), Meta Internal-Only Changes Check Learn more about merging in the wiki. Questions? Feedback? Please reach out to the PyTorch DevX Team |
|
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 |
|
Superseded by #186928 |
cc @ezyang @gchanan @jgong5 @mingfeima @XiaobingSuper @sanchitintel @ashokei @jingxu10 @jerryzh168 @aditew01 @anjali411 @dylanbespalko @mruberry @nikitaved @amjames @voznesenskym @penguinwu @EikanWang @Guobing-Chen @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @ipiszy @kadeng @muchulee8 @chauhang @aakhundov @coconutruben @jataylo