You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
test_packed_passes_keep_each_prompt_one_token_early fails on pristine v0.6.1 on Jetson AGX Thor (sm_110) #261
Result
Both parametrizations fail. The test also fails when run alone, and on our other trees built on 0.6.0 and 0.6.1.
FAILED tests/cuda/test_flashnext_multi.py::test_packed_passes_keep_each_prompt_one_token_early[bf16]
FAILED tests/cuda/test_flashnext_multi.py::test_packed_passes_keep_each_prompt_one_token_early[int8]
> assert [s.out for s in streams] == [fresh(p, smp) for p, smp in zip(prompts, samplings)]
E At index 4 diff: [2033, 2685, 530, 0] != [2033, 2685, 530, 0, 979, 1557, 3352, 3876, 649, 749, 3010, 1405]
tests/cuda/test_flashnext_multi.py:137: AssertionError
The fifth packed stream stops after 4 tokens, at token 0, while its fresh run continues for 12. The other streams match.
Not checked: v0.6.2, and any GPU other than Thor. So this may be specific to sm_110 or to unified memory. Happy to run a patch or extra logging on Thor if that helps.
(Reported by mcclanahanaman; drafted with an AI assistant from our test logs.)
Checked on a DGX Spark (GB10, sm_121, 48 SMs, unified memory), since GB10 was the missing datum: tests/cuda/test_flashnext_multi.py passes, 27/27, on v0.6.3 and on v0.6.1 (tests from each tag, each in its own image). test_packed_passes_keep_each_prompt_one_token_early passes in both parametrizations (bf16, int8), three runs in a row on v0.6.3. So on this setup it doesn't reproduce; in my opinion that points at something specific to Thor (sm_110, 20 SMs) rather than at unified memory.
Environment: PyTorch 2.13.0a0 (NVIDIA container 26.07), CUDA 13.3, driver 580.
Thank you for the precise report. The environment, versions and command, and the note that the 0.6.0 and 0.6.1 trees fail alike, showed where to look.
Both failures were ours, not your setup. Flash Next's CUDA kernels and grouped launches exist only for sm_12x (DGX Spark GB10, RTX 50, RTX PRO 6000). Sibling test files skipped other cards by compute capability; yours skipped only when CUDA was absent, so on your CC 11.0 Thor the tests ran kernels never built for it.
Activity
plotarmordev commentedon Oct 3, 2026
Checked on a DGX Spark (GB10, sm_121, 48 SMs, unified memory), since GB10 was the missing datum:
tests/cuda/test_flashnext_multi.pypasses, 27/27, on v0.6.3 and on v0.6.1 (tests from each tag, each in its own image).test_packed_passes_keep_each_prompt_one_token_earlypasses in both parametrizations (bf16,int8), three runs in a row on v0.6.3. So on this setup it doesn't reproduce; in my opinion that points at something specific to Thor (sm_110, 20 SMs) rather than at unified memory.Environment: PyTorch 2.13.0a0 (NVIDIA container 26.07), CUDA 13.3, driver 580.
fix(cuda): planned cache caps, checked exchanges and agreed readiness…
ashhart commentedon Oct 3, 2026
Thank you for the precise report. The environment, versions and command, and the note that the 0.6.0 and 0.6.1 trees fail alike, showed where to look.
Both failures were ours, not your setup. Flash Next's CUDA kernels and grouped launches exist only for sm_12x (DGX Spark GB10, RTX 50, RTX PRO 6000). Sibling test files skipped other cards by compute capability; yours skipped only when CUDA was absent, so on your CC 11.0 Thor the tests ran kernels never built for it.
TensorFold 0.6.4 adds that skip, with a message naming the supported cards, and serving Flash Next on CUDA below sm_120 now refuses at startup, before loading weights: https://github.com/ashhart/TensorFold/releases/tag/v0.6.4
A Thor cannot serve Flash Next on CUDA yet. Closing; please reopen if anything else fails there.
fix(cuda): planned cache caps, checked exchanges and agreed readiness…