Repository navigation
kolibri1: TENSORFOLD_KOLIBRI_GRAPHS is a registered setting - #5002
Merged
Merged
Conversation
This was referenced Nov 25, 2026
…at a CUDA start Kolibri-1 read it with getenv outside the registry (backend.zig's envOff): exact 0 turned the one-row step graphs and, since #4884, the multi-row decode round graphs off, and every other text, blank, 1, "false" or "off" included, kept them on. It is now a .cuda flag row in platform/environment.zig, read once in Kolibri.init through the registry: - unset, blank and 1 keep the graphs (the default, as before); 0 runs both eager (as before); - any other text, which read as on before, is refused by name at a CUDA start, like every registered setting. docs/environment.md documents it in the CUDA table; tokens are the same either way. Tests: environment_kolibri_test.zig (blank and unset keep the default, 0 and 1 accepted, other text refused by name on CUDA and ignored on Metal), and the setting in environment_test.zig's table of every row.
ashhart
force-pushed
the
lead/kolibri-graphs-setting
branch
from
November 25, 2026 09:58
fa0364a to
ad11924
Compare
ashhart
added a commit
that referenced
this pull request
Nov 25, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
TENSORFOLD_KOLIBRI_GRAPHSturns off Kolibri-1's CUDA graphs. Since #4884 it covers both the one-row decode steps and the multi-row decode rounds. It was read straight from the environment, without passing through the settings registry, and it wasn't documented.1keep the graphs on, which is the default.0runs both eager. Tokens are the same either way.0meant on, includingfalseoroff. Now any value other than0or1is refused by name when a CUDA server starts, as every registered setting is.docs/environment.md's CUDA table, and a registry test covers unset, blank,0,1and refused values.Checks:
test-environment-host(with a planted-failure probe), the Kolibri host steps,compile-cuda-tests, gradient-serving pins, fmt and lean. Lean goes from 165 to 164, because the non-literal getenv is gone.