-
Notifications
You must be signed in to change notification settings - Fork 715
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
PyTorch-1.12.0-foss-2022a-CUDA-11.7.0.eb fails to build on test-bot jsc-zen3 #19746
Comments
error:
|
@Flamefire Thoughts on this one? |
facebookincubator/gloo#348 looks indeed correct. The other is very likely wrong. |
@Flamefire Any idea why this only pops up for |
Yes: previously the In newer compilers an array with zero size is/may be flagged as an error (or at least warning) as are compile-time-known out of bounds accesses. Hence the need for the new syntax. In Gloo they used
to allocate storage for such an array on the stack with the idea that But the new syntax requires the flexible array member to be at the end of a struct as the aliasing of FWIW: All of that is very suspicious: The idea of the flexible array members was that the size of the array is determined via allocation, i.e. |
I'm proposing my fix in #20176 |
failing build in #19739 (comment)
i suspect this is due to
jsc-zen3
being a rocky9 machine, seefacebookincubator/gloo#345
there is a fix for it (and merged) in
facebookincubator/gloo#346
a comment in the above PR claims the fix is not correct, and suggests this fix instead
facebookincubator/gloo#348
however, this PR is much bigger, and i don't feel qualified to evaluate it
maybe for now we should just follow what PyTorch does and stick to facebookincubator/gloo#346 ?
The text was updated successfully, but these errors were encountered: