Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

pytorchbot
Copy link
Collaborator

Fixes #115922

This PR is prepared to separate existing #116926 and to apply suggestions in the review.

scalar_t which is defined as c10::impl::ScalarTypeToCPPType<ScalarType::Half>::t appears to be causing the issue with Visual Studio 2022 17.8.4 (coming with MSVC 14.38.33130)

Error message:

aten\src\ATen/cpu/vec/vec_base.h(150): fatal error C1001: Internal compiler error.
(compiler file 'D:\a_work\1\s\src\vctools\Compiler\CxxFE\sl\p1\c\toinil.c', line 910)

Related line was added for a similar issue before as a workaround (scalar_t definition) Fix compile error for vs2022

cc @peterjc123 @mszhanyi @skyline75489 @nbcsm @vladimir-aubrecht @iremyux @Blackhex @cristianPanaite @jgong5 @mingfeima @XiaobingSuper @sanchitintel @ashokei @jingxu10

Fixes #115922

This PR is prepared to separate existing #116926 and to apply suggestions in the review.

`scalar_t` which is defined as `c10::impl::ScalarTypeToCPPType<ScalarType::Half>::t` appears to be causing the issue with `Visual Studio 2022 17.8.4`  (coming with `MSVC 14.38.33130`)

Error message:
```
aten\src\ATen/cpu/vec/vec_base.h(150): fatal error C1001: Internal compiler error.
(compiler file 'D:\a_work\1\s\src\vctools\Compiler\CxxFE\sl\p1\c\toinil.c', line 910)
```

---

Related line was added for a similar issue before as a workaround (`scalar_t` definition) [Fix compile error for vs2022](#85958)

Pull Request resolved: #117497
Approved by: https://github.com/ezyang, https://github.com/malfet

(cherry picked from commit fa86fa7)
Copy link

pytorch-bot bot commented Mar 18, 2024

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/122120

Note: Links to docs will display an error until the docs builds have been completed.

❌ 11 New Failures, 28 Unrelated Failures

As of commit 64de554 with merge base a8bd593 (image):

NEW FAILURES - The following jobs have failed:

FLAKY - The following jobs failed but were likely due to flakiness present on trunk:

This comment was automatically generated by Dr. CI and updates every 15 minutes.

@pytorch-bot pytorch-bot bot added the module: cpu CPU specific problem (e.g., perf, algorithm) label Mar 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

module: cpu CPU specific problem (e.g., perf, algorithm) open source

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants