Repository navigation
glm/cuda: key the window-cost cache by TF_GLM_KDA_PAD, TF_ROCE, TF_GLM_PDL and TF_GLM_DSEL - #3495
Conversation
|
@ultradaoto, thank you, this is right. Each of the four settings changes the windows' timings, so a table measured under one value must not price the other, and the test's four new cases fail on main and pass here. It changes only the cache key: tokens can't move, and the one cost is a fresh timing on the first start after upgrading. I've approved CI for your branch and queued it; if #2415 lands first we'll carry its
|
e2881df to
e0f526a
Compare
e0f526a to
5057662
Compare
|
Thanks @ultradaoto. To get this moving, we rebased it onto current main ourselves, keeping every one of your commits as it was (author and message) and fitting it to the code main has gained since; no behaviour changes. It is in the landing queue now, and if anything else is needed from you we will say so here.
|
…M_PDL and TF_GLM_DSEL keyShape gains pad, pdl, dsel and wide, so changing any of them times the windows again instead of reusing a table measured under the other value; the all-timing-knobs test gets the four cases (each fails on main). Fixes ashhart#3493.
5057662 to
4ad9fc9
Compare
|
Thank you @ultradaoto. This is merged into main with your commits under your own name, so you're listed as a TensorFold contributor. It ships in the next release, credited to you in the changelog and the release notes. |
Fixes #3493.
keyShapegainspad,pdl,dselandwide(Settings.kda_pad,Modules.mm.pdl,Modules.dsel,Settings.roce_wide), so changing any of them times the windows again instead of reusing a table measured under the other value. The existing "all timing knobs" test gets four more cases; each fails on main (the key does not change) and passes here. Nothing else changes: tokens are unaffected (the cache only prices draft windows), and an existing cache entry simply misses once after upgrading.zig build test-cuda-hostadds no failure (its one failure on this host,cli_config_test, fails the same way on main);pr_check: 0 new lean findings.It touches the same
keyShapeline and test as #2415 (which addssplit); whichever lands second takes the other's field, and I'll rebase this one if it goes second.