Repository navigation
Add a GB10-scoped MOSS runtime installer for ComfyUI - #2737
Merged
Merged
Conversation
Owner
Author
|
/atc exchange 14a5b3c7773c1d8eaf5e52a9c939b36521983da9580d3713747299693b2b3992 |
ashhart
force-pushed
the
comfyui-moss-runtime
branch
from
November 12, 2026 02:18
094fa07 to
44594b8
Compare
Owner
Author
|
Status on this head (
Two parts of the description are out of date: its head and its count of 42 tests, and the line saying worker compilation and device admission still include SM120. Both get updated when the PR leaves draft. One thing is left before then: a fresh-install smoke run on a GB10, to show the sm_121 path still installs and generates with the narrowed build. Separately, the ComfyUI-side draft should also admit only 12.1, or start the worker through the new
|
ashhart
force-pushed
the
comfyui-moss-runtime
branch
from
November 14, 2026 03:24
44594b8 to
0136207
Compare
ashhart
marked this pull request as ready for review
November 14, 2026 09:13
ashhart
force-pushed
the
comfyui-moss-runtime
branch
2 times, most recently
from
November 19, 2026 04:30
321ae58 to
dd9fe72
Compare
This was referenced Nov 21, 2026
ashhart
force-pushed
the
comfyui-moss-runtime
branch
from
November 21, 2026 06:14
dd9fe72 to
8f8d7e7
Compare
ashhart
added a commit
that referenced
this pull request
Nov 21, 2026
The first MOSS ComfyUI PR is qualified on GB10 alone (#2736), but an SM120 card would install and generate unchecked. Now install and update read every GPU's compute capability from nvidia-smi before any download or build, and the new `run` entry reads it again before the worker starts; anything but 12.1 is refused by name ("MOSS ComfyUI generation is qualified on GB10 (sm_121) only; this GPU is sm_120"), and a capability that cannot be read is refused, never assumed. The worker built here has no other consumer, so it is compiled for sm_121 alone (-Dsm=121): with no sm_120 image or PTX, its kernels cannot load on an SM120 GPU even when it is started directly.
ashhart
force-pushed
the
comfyui-moss-runtime
branch
from
November 21, 2026 07:12
8f8d7e7 to
800e55c
Compare
ashhart
added a commit
that referenced
this pull request
Nov 21, 2026
ashhart
added a commit
that referenced
this pull request
Nov 21, 2026
ashhart
added a commit
that referenced
this pull request
Nov 21, 2026
ashhart
added a commit
that referenced
this pull request
Nov 21, 2026
ashhart
added a commit
that referenced
this pull request
Nov 21, 2026
ashhart
added a commit
that referenced
this pull request
Nov 21, 2026
ashhart
added a commit
that referenced
this pull request
Nov 21, 2026
ashhart
added a commit
that referenced
this pull request
Nov 21, 2026
ashhart
added a commit
that referenced
this pull request
Nov 21, 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.
What this changes
Add a standard-library installer for the offline ComfyUI MOSS sampler. It verifies the stable CLI release and pinned native source/compatibility patch, builds only
moss-image-cuda, and activates a runtime after integrity and invocation checks. Failed setup preserves the active manifest; status is offline and CLI-only updates reuse the verified worker. A separate offline tool prepares fused BF16 checkpoint metadata without changing tensor payloads. Neither tool downloads model weights.The first PR covers experimental BF16 generation on Linux aarch64 NVIDIA GB10, SM121. SM120 generation is unvalidated and outside this first PR's support scope. Existing worker compilation and device admission still include SM120/SM121. Linux x86_64 has software/build/install evidence only, with no SM120 workflow, numerical comparison or live kernel-contract execution.
33ada77c3122fca844a6825316ce8bbabaca05be.ATC_READ_ONLY=1 atc overlap --repo ashhart/TensorFold --base 33ada77c3122fca844a6825316ce8bbabaca05be --pulls 1665,2020,2095 --json: all three affected-file PRs inspected and clean, no limitations within that selected scope. A separate complete scan covered all 198 open PR file lists, including renames. Selected ATC coverage alone is not repository-wide clearance.The gate is specific to source
1ddac962008367ec2c50e10202c910ecf430b5ebplus patche6156ed11263a2d32586245b1702a6bc47ac0049e65bf1724afad69242eb617f: 13 registrations and 15 numerical controls. PR #2281's 24/21 encoder/decoder/served-image evidence is separate. This patch still edits the MOSS controls inzig/kernels/cuda/contract_controls.cu; any future source-pin upgrade after #2281 must rebase those hunks ontomoss_controls.cuhand repeat qualification.All source paths build an extracted copy. Even
--source-checkoutrequires the exact clean pinned revision and archives tracked Git objects before extraction and patching; it never builds the working tree. The qualification uses the adapter's own case writer, SHA256fb6b35b9ba0340b7e6dd4d83d36f4d845c925ce27aecd3ca76f77f34cf55f5c6, and parity harnessc636317ca18e920ef97ae2a2af89ca9a197e8e1e38c7b8eb338645f95ba50228, as recorded in the executed reports. It does not use the current nativemoss_image_case.pytool. Neither the worker nor these results depend on the native served-image route.Checks on this head
094fa078a2ec0388aa54302f3a095211bd468abd.python3 tools/zig/lean_check.py: current base and head each report6155 files, 386 problems, exit 1 for inherited findings, zero new; complete checker output is identical. This checker does not qualify the external build-copy patch.python -m unittest discover -s tools/comfyui_runtime/tests -v: 42 passed, zero failed or skipped; rerun locally after the current-base rebase.python -m pytest -q tests-unit/tensorfold qualification/test_moss_parity.py: 140 passed, zero failures, errors or skips on GB10 and CPU-only Linux x86_64.zig build test test-kernel-contract test-golden fuzz-cortheon -j2 --summary all: 484/484 steps, 6248 tests passed, 29 skipped, zero failed, 55/55 server goldens equal. Plain build: 32/32 steps.git diff --checkpassed. Native formatting and zero-new-Lean receipts are retained for unchanged native inputs.Receipt
1ddac962008367ec2c50e10202c910ecf430b5ebplus patch SHA256e6156ed11263a2d32586245b1702a6bc47ac0049e65bf1724afad69242eb617f; Zig 0.17.0, CUDA 13.0.88, driver 580.178.04, PyTorch 2.14.1+cu130. OfficialComfy-Org/MOSS-Imagerevision2929efe3cdd506c0a430bcfca70a9a8d805cc095, BF16 Base transformer, Qwen3.5 encoder and Flux2 VAE. Complete model file hashes remain in the local review package; the selected public summary identifies its immutable model revision.Kernel contract for the build-copy compatibility patch
Checklist
Token lane, draft/resume/concurrency and token throughput checklist items are n/a for the single-image diffusion worker. SM120 qualification is deferred from this first PR, not passed.