Repository navigation
docs: Flash Next CUDA recipe, what TF_FLASHNEXT_CHUNK trades: faster prompts against longer decode waits - #1553
Conversation
|
Thanks @jschmied. We checked every claim the code can back, and they hold: the range (1 to 16,384, refused before anything loads), the 1,536 default, the startup line, one chunk per prompt step, the 1.84 MB of gate and up weights per expert, 512 experts, scratch growing with the chunk, and the 16,384-row paging note in known issues. Two changes before we land it:
|
|
Thanks @ashhart. Both done in bc5e0d8:
|
…prompts against longer decode waits The recipe now names TF_FLASHNEXT_CHUNK under Run and gives a measured table at the default 1,536 rows and at 8,192 on the FP4-Local checkpoint (one GB10, three streams): first token 12 to 16 % sooner past 1,536 tokens, against a 3.78 s instead of 0.90 s wait for streams that are decoding while an 8,361-token prompt runs, and about 6 GB more scratch.
…ng stream's wait as a cost
bc5e0d8 to
d69ac9e
Compare
|
Thank you @jschmied. This is in TensorFold 1.2.0, released today: https://github.com/ashhart/TensorFold/releases/tag/v1.2.0 It landed with your commits under your own name, so you're listed as a TensorFold contributor, and it's credited to you in the release notes and the changelog. |
What this changes
Docs only (
docs/recipes/flash-next-cuda.md):TF_FLASHNEXT_CHUNKis now listed under Run.Receipt
docs/known-issues.md.nsyscomparison and an exactness line; their raw run files are gone, so they are cut. They can come back with a full receipt if the chunk default changes (Flash Next CUDA: prompt chunk size against decode waits, how other engines handle it, and options #1554).lean_check425, the same as main.