Repository navigation
Dockerfile: linux/arm64 takes the release's GB10 archive (SHA256_ARM64), linux/amd64 the x86-64 one as before - #882
Merged
juliankang4 merged 1 commit intoOct 27, 2026
Conversation
…4), linux/amd64 the x86-64 one as before
Contributor
There was a problem hiding this comment.
Verdict: CLEAN: the Dockerfile change keeps the amd64 path as it was, adds an arm64 path, and both unset and unknown cases stop with a named error.
Checked
- Duplicates: 0 new functions or types. The
casereuses the one download and check step, so there is no second copy. The asset names matchtools/release/publish.sh:51-52andinstall.sh:37,48. - Complexity: no Rust file changed; dryer and crapper did not run.
- Silent failure: 3 sites followed. An unknown
TARGETARCHexits 1 with a message. An emptySHA256_ARM64exits 1 with a message. A wrong sha failssha256sum -cunderset -eu; the author ran this case and got rc=1. - Tests: none added. This is a Dockerfile only; the author's arm64 build, bad-sha build and server start are the evidence.
- Gates: no pin moved.
- Failure scenarios built and blocked: (1) amd64 build with the old
--build-arg SHA256: theamd64arm setssha="${SHA256}", the asset name is unchanged, so it builds as before. (2) The CI image build:.github/workflows/container.yml:67usesdocker/build-push-action, which is BuildKit and setsTARGETARCH. It passes onlySHA256, and it builds amd64 only, so the emptySHA256_ARM64is not reached. (3) Theasset=… sha=…assignment on one line underset -eu: both variables persist in the shell for the later commands. - Escape catalog: C1 to C4 do not match. There is no pipe that hides an exit code, no heredoc, no process matching and no shadowing function.
Notes
gpu.jsonhasevidence: false. The PR text has a DGX Spark and Docker line, but nonvidia-smiline and nojust gate-*output. The change touches no crate, so this does not affect the verdict.- A legacy (non-BuildKit)
docker builddoes not setTARGETARCH, andset -uthen stops the build. It is a build-time stop and not a silent failure, so it is not a finding.
🔨 Shingler, bloomery's review bot: approves a clean pull request and requests changes on a must-fix (how it works)
Collaborator
Author
|
The review is done and the contribution check passed, so I'm merging this. |
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.
Dockerfile이 linux/arm64에서 릴리스의 GB10 아카이브를 받도록 해서, DGX Spark용 이미지를 만들 수 있게 합니다.
What and why
The server image can only be built for linux/amd64, so a DGX Spark user has to assemble their own.
tools/release/Dockerfilenow picks the release archive byTARGETARCH: linux/amd64 keeps the x86-64 archive andSHA256, and linux/arm64 takes the GB10 archive (bloomery-<version>-linux-aarch64-cuda-sm121a.tar.gz) and a newSHA256_ARM64build argument. This change touches only the Dockerfile. The image workflow still builds linux/amd64, and a separate PR changes it to build arm64 as well.Release notes: Added: The Dockerfile builds a linux/arm64 image (DGX Spark) from the release's GB10 archive.
Code shape
case.SHA256_ARM64, or for an unknown architecture, stops with a named error.cargo fmtandcargo clippyare not affected: the change touches onlytools/release/Dockerfile.Duplication found or removed (
path:line): none.What I ran
The change is
71bf4bac9db730321e13f9c178bc0667682bb297on7908410cc846333bbbbf6a521257aaab0652e74a. The runs below used commit88c0f6cf14e76a7256f2db6ed42242c4dd2be451, whosetools/release/Dockerfileis byte-identical to this head's.The Dockerfile downloads from the GitHub release, and no release carries this change yet. For the check I built the GB10 archive from the commit with
just release-build, and used a copy of the Dockerfile in which thecurlline is replaced by acpfrom the build context. The architecturecase, thesha256sum -ccheck and the rest are the repository's.Then I started the server in the image through its entrypoint with
--gpus alland an FP4-Local model file (-m <model> --port 8080)./healthcame up (image up=1), and two greedy/completionrequests (n_predict64,temperature0) returned text.IMAGE-CHECK rc=0.What I could not run: the download from a real release and the workflow, which only run in GitHub Actions. The linux/amd64 branch of the
casewas read against the old step (same asset name andSHA256) but not built.Hardware
The machine is a DGX Spark with a GB10 card. Docker is 29.9.0 with runtimes nvidia runc io.containerd.runc.v2. The GB10 archive is
bloomery-0.3.10-linux-aarch64-cuda-sm121a.tar.gz, 17609372 bytes.AI help
AI 코딩 에이전트가 코드를 작성한 후 설명을 썼고, 테스트를 마쳤습니다. diff 리뷰와 PR 초안 리뷰는 제가 직접 했습니다.