Repository navigation
The checkpoint subcommands dispatch before the driver opens, and --version prints the build's version - #576
Closed
eleqtrizit wants to merge 5 commits into
Closed
eleqtrizit wants to merge 5 commits into
eleqtrizit wants to merge 5 commits into
Conversation
…nds dispatch before the driver opens, and --version prints the build's version
…s is refused before any link, a 40-hex git sha or a well-shaped revision is the only string joined into a cache path or URL, the resume prefix hashes in chunks, and --version reaches stdout with the usage covering extra args and leading flags
…d, verification receipts
…write-up and the post-fix resolution, and the traversal harness keeps the mock hub alive until the pull returns
… beside the repo, not in the PR
Closed
Owner
|
Thank you, @eleqtrizit. The checkpoint commands on the CUDA build and the pull hardening are in main as 55c23ca and 80a2f3c, under your name. Your commits came with a personal email address, so we re-authored them to your GitHub noreply address, which is why GitHub shows this pull request as closed rather than merged. Our follow-up is ce7aa86:
One change to know about: a revision with a slash, such as |
8 tasks done
BobClawblaw
pushed a commit
to BobClawblaw/TensorFold
that referenced
this pull request
Oct 10, 2026
… and ashhart#576's line in the file's style
BlivionIaG
pushed a commit
to BlivionIaG/TensorFold
that referenced
this pull request
Oct 20, 2026
… and ashhart#576's line in the file's style
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.
What this changes
Wires the checkpoint subcommands (
models,info,pull) into the Linux CUDAtensorfoldbinary, dispatching them before the driver or GPU opens, and adds a GPU-free--versionthat prints the build's version on stdout. This is how the Metal side already dispatches the same shared modules (zig/src/cli/cli.zigover the platform's engine families); on Linux the CUDA build never reached them, so README commands liketensorfold pull …failed with a bareerror: FileNotFound. Also closes the traversal sinks thepullpath now exposes on this binary: a hub treepathwith traversal segments is refused before any link lands, and only a 40-hex git sha or a well-shaped revision is ever joined into a cache path or a URL (the same gates applied to theserveside's ref resolution).Receipt
9b4aebeoncuda-checkpoint-cli, atop0d83398(main). CheckpointTensorFold/NVIDIA-Nemotron-3.5-Lightning-30B-A3B-MLX-4bit, revisiond9d758fb83953437f7263256b0d96157e2a348b8; no MLX or PyTorch in the loop (the change is Zig CLI only).tools/bench_concurrent.py --alone --serialortoken_shaagainst"draft": false:tools/bench_openai.py:tools/prefill_cold.py:zig build test-cuda-hostexit 0 (repo unit tests, no GPU work);smoke_cuda_checkpoint_cli.sh16/16 PASS (build;--versionon stdout with no driver/GPU; strace proofmodelsperforms 0 libcuda opens vsrun6; argument handling;--versionergonomics post-fix);version_stdout.shPASS;pull_traversal.sh+ the mock hub → polite refusal (SnapshotPath), nothing escapes the cache;r3_linkIntoSnapshot_traversal2/2,r3_cachedSnapshot_ref_traversal2/2,r3_negative_controls1/1 — 0 fails, 0 skips.bench_openai.py,prefill_cold.pyandbench_concurrent.py— this change touches no engine or kernel path (CLI dispatch,pullvalidation and ref checks only;run/serve behavior is unchanged), so GPU decode and prefill speeds and token hashes cannot move; the wheel's engines are untouched.Checklist
"draft": false, a resumed prompt equals a fresh one, and concurrent equals solo.