Commit b8cee09
committed
Skip the bfloat16 GPT tests on Windows
Six tests intermittently kill their xdist worker on windows-latest:
Windows fatal exception: code 0xc000001d
[gw1] node down: Not properly terminated
Always the same six, on about half the runs, on released and nightly
torch alike. The branch has also passed with the same torch on other
runs, so this follows the machine the job lands on rather than anything
in the tree.
The fault is in eager torch, not in our code. For test_litgpt the
innermost frames are torch's Linear.forward, reached from the plain
reference call before the jitted function is ever invoked; the
interpreter variants fault in the same place through the opaque-call
path. What separates these six from the tests that pass is bfloat16:
test_litgpt_variants builds the same gpt-neox-like model in float32 and
passes in the same runs that crash test_litgpt.
The previous attempt set ATEN_CPU_CAPABILITY=default on Windows, on the
theory that the wheels carry AVX-512 instructions inside kernels
compiled for the AVX2 target. A diagnostic step confirmed the capability
applied and all six still crashed, so the fault is not in ATen's
ISA-dispatched kernels. That does not clear the wider codegen issue in
pytorch/pytorch#145702: bfloat16 matmuls go to oneDNN or MKL, which pick
their own instruction set and ignore that variable. Those paths are
untested, so the workflow change is reverted rather than extended.
Skip the six on Windows until this is understood. Nothing in process can
retry them: the worker dies outright and pytest only sees a dead
channel, so rerunfailures and xfail both have nothing to act on.1 parent 4f5a4b9 commit b8cee09
4 files changed
Lines changed: 11 additions & 18 deletions
File tree
- .github/workflows
- thunder/tests
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | 48 | | |
59 | 49 | | |
60 | 50 | | |
| |||
111 | 101 | | |
112 | 102 | | |
113 | 103 | | |
114 | | - | |
115 | | - | |
116 | | - | |
117 | | - | |
118 | | - | |
119 | | - | |
120 | 104 | | |
121 | 105 | | |
122 | 106 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
61 | 66 | | |
62 | 67 | | |
63 | 68 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| |||
3413 | 3413 | | |
3414 | 3414 | | |
3415 | 3415 | | |
| 3416 | + | |
3416 | 3417 | | |
3417 | 3418 | | |
3418 | 3419 | | |
| |||
3428 | 3429 | | |
3429 | 3430 | | |
3430 | 3431 | | |
| 3432 | + | |
3431 | 3433 | | |
3432 | 3434 | | |
3433 | 3435 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| |||
585 | 585 | | |
586 | 586 | | |
587 | 587 | | |
| 588 | + | |
588 | 589 | | |
589 | 590 | | |
590 | 591 | | |
| |||
665 | 666 | | |
666 | 667 | | |
667 | 668 | | |
| 669 | + | |
668 | 670 | | |
669 | 671 | | |
670 | 672 | | |
| |||
0 commit comments