Commit e6c36f0
committed
[kernel] Address review: guard sm_121a on CUDA>=13, downgrade main arch, wheel+README
- Gemini(high): the main extension (fastvideo_kernel_ops) used the raw
TORCH_CUDA_ARCH_LIST, so a CUDA<13 build with 12.1a in the list would fail to
compile. Downgrade 121a->120a for the main archs too on CUDA<13 (sm_120a PTX
forward-JITs to sm_121); mirrors the fp4* guard.
- Copilot: gate sm_121a on CUDA>=13.0 (not 12.9) to match the doc/comment text;
fix the "[per-arch]" status message to not always claim sm_121a.
- Copilot: make the "sm_120a-only" claim true, not just reworded — update
fastvideo-kernel/README.md support matrix, and add 12.1a to the aarch64 cu130
wheel arch list so the published Spark wheel actually includes sm_121a FP4.1 parent 4d21f4c commit e6c36f0
3 files changed
Lines changed: 16 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
174 | 174 | | |
175 | 175 | | |
176 | 176 | | |
177 | | - | |
| 177 | + | |
178 | 178 | | |
179 | 179 | | |
180 | 180 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
273 | 273 | | |
274 | 274 | | |
275 | 275 | | |
276 | | - | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
277 | 285 | | |
278 | 286 | | |
279 | 287 | | |
| |||
415 | 423 | | |
416 | 424 | | |
417 | 425 | | |
418 | | - | |
419 | | - | |
420 | | - | |
| 426 | + | |
| 427 | + | |
| 428 | + | |
421 | 429 | | |
422 | | - | |
| 430 | + | |
423 | 431 | | |
424 | 432 | | |
425 | 433 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
| 29 | + | |
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| |||
0 commit comments