Repository navigation
logprob.cu: pass the thread count to tf_launch_blocks (fixes the torch-ops gate compile) - #539
Merged
Merged
Conversation
launch_shape.h's tf_launch_blocks(count, threads) takes two arguments; logprob.cu still called it with one, so the file does not compile with the serving container's nvcc 13.3.73 (check_torch_ops.py compiles it, so the torch-ops gate cannot run as shipped). Pass the same 256-thread block size the launch already assumes; the grid is what the other kernels compute. logprob.cu is not in the release fatbin list, so shipped binaries are unaffected. Fixes ashhart#535
Contributor
|
Receipt from a DGX Spark (GB10, nvcc 13.3.73, the flags in |
Owner
|
Thank you @GustavBlack. Merged into main (9590e2d): |
jschmied
pushed a commit
to jschmied/TensorFold
that referenced
this pull request
Oct 10, 2026
This was referenced Oct 10, 2026
Closed
BlivionIaG
pushed a commit
to BlivionIaG/TensorFold
that referenced
this pull request
Oct 20, 2026
…ocks Thanks @GustavBlack. Fixes ashhart#535.
BlivionIaG
pushed a commit
to BlivionIaG/TensorFold
that referenced
this pull request
Oct 20, 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.
One-commit fix for #535.
launch_shape.h'stf_launch_blocks(count, threads)takes two arguments;logprob.custill calledit with one, so the file does not compile with the serving container's nvcc 13.3.73 — which
tools/zig/check_torch_ops.pycompiles, so the torch-ops gate cannot run as shipped atv1.0.2.logprob.cuis not in the release fatbin list, so shipped binaries are unaffected.The change passes the same 256-thread block size the launch already assumes; the grid is exactly
what the other nine kernels compute.
Validated on a GB10 (aarch64) with the pinned container's nvcc: the full 9-kernel torch set and the
11-kernel nemotron set compile clean, and both GPU cell gates then ran with the checkers unmodified
(
check_torch_ops.py825/825 cells exact,check_nemotron_ops.py777/777 cells exact). Receiptsavailable if useful. (The work was developed with AI assistance on our 2×GB10 bring-up testbed;
authorship is mine.)