Repository navigation
sass identity: nvcc under setarch -R, so unchanged rebuilds repeat - #5170
Conversation
(#5170) That holds, and since that comment I checked the images, which bears on this change (my correction on #5157: #5157 (comment)). The router-tiles PTX forms that keep the common register count assemble to the common cubin byte for byte. Under One case "one environment" may leave open: the nvcc command names the tree ( If the recipe gets a line for this change, one sentence of #5157's section could say the images' side too: "a register count alone does not establish stability" holds for the PTX, but in every form I have seen, the image changed only when the register count did, and the record comments' "(8/100, 9/50)" are 13.3.73's PTX counts (its image counts were 1 of 100 and 0 of 50). |
|
Thank you, @atakann. The implementation does the important parts: every compiler build uses Two small changes remain:
Your unchanged-build measurements are useful evidence; no further source issue was found in this read-only review.
|
|
Thank you—both requested changes are now addressed. The docstring fits the line limit while preserving the path-length rationale, and the test now exercises the real build path and checks the actual compiler command. The fixed-address probe stops on refusal, every compiler build uses the wrapper, and the base, head and control paths keep equal lengths. I found no further source issue in this review. The remaining validation is one unchanged-image comparison on the target compiler device: repeat the builds, require exact instruction and encoding identity across the supported targets, keep the planted controls enabled, and confirm the recorded command uses the fixed-address wrapper. No checkpoint is needed.
|
|
The unchanged-image comparison on the GB10 with this branch's tool (62cb16b; 570ffbc only names the control's compile folder once, rewords its docstring and extends the test): main 67ae36c against #5068's head 254f961, nvcc 13.3.73, sm_80/86/89/120/121. Both planted controls stayed enabled and were detected. With equal-length paths the fp4pair control is now found in the NVFP4 expert kernels that read that constant (105 functions over 65 images). In the earlier run with |
…ation cannot be turned off
… docstring and two lines under 120 columns
570ffbc to
5b6d091
Compare
|
Thank you @atakann. 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. |
What this changes
cuda_sass_compare.pybuilds every image with its usual nvcc command, now undersetarch <machine> -R, and stops before any build when setarch is refused. Before, unchanged rebuilds on a GB10 could disagree because nvcc's front end emits PTX whose form follows heap addresses (#5123), so the control stage failed as unstable.atc overlap --json: n/a for the files here; the only related work is docs: GB10 nvcc router-tiles rebuild instability (refs #5123) #5157 (docs, merged) and the router-tiles source proposal on CUDA build: nvcc 13.0.88 gives the router-tiles entries different PTX between identical compiles, about one in ten #5123, neither touchestools/zig.Measurements on the GB10, nvcc 13.3.73 in the TensorFold build image,
zig/kernels/cuda/inkling2/ops.cuwith the image's glue flags:nvcc -ptx,compute_120, randomization onsetarch aarch64 -Rnvcc -fatbin, five SMs, undersetarch -RChecks on this head
python3 tools/zig/lean_check.py, on the base and on this head: 152 and 152, 0 new.python3 -m unittest cuda_sass_identity_test cuda_sass_compare_test(fromtools/zig): OK, 8 and the compare tests; two new tests cover the setarch wrapper and the stop when it is refused (the second fails on main, wherefixed_addressesdoes not exist).Receipt
n/a: a tool change, no kernel source or build file changes. Used for #5068's qualified run:
SUMMARY PASS images=1 functions=90 scope=all-reached(https://gist.github.com/atakann/7e6ad7b48ca51f4ca7827b807f3288a4).Checklist