Repository navigation
packaging: publish CUDA/NCCL containers for stable releases - #3857
Conversation
|
Thanks @BlivionIaG for the complete native amd64/arm64 packaging and fork-publication evidence. Stable-release selection, signed archive verification, the non-root runtime, pinned CUDA/cuBLAS/NCCL packages, and PR publication refusal are all scoped clearly. The workflow checks each native image before digest export, refuses to replace an existing version tag, and verifies the final two-platform manifest. Manual publication is opt-in and confined to the running repository's namespace; there is no rolling The three-file diff applies cleanly to current main and changes no inference code. GPU inference, vision and collectives remain explicitly outside these no-GPU packaging checks. I found no remaining issue in the code. One decision is ours before it lands: whether stable releases publish container images at all. We will come back here with that.
|
|
Thank you @BlivionIaG. The signed archives, non-root runtime, pinned libraries and hosted validation are all in place. Pull-request runs skip publication, and I found no secret passed into the image build. A manual run in a fork publishes only into that fork's own namespace, which is fine. No further code change is needed from you. Whether the project publishes official release images is still a maintainer decision, and we'll follow up here once it's made.
|
|
The trial merge of One detail for the release decision: the smoke tests run Igor Lessio - AIFLOW LABS |
|
Thank you for refreshing the packaging branch and checking the signed checksums. The archive verification and native-architecture release gating are useful. The image also pins NCCL 2.28.9, while TensorFold requires at least 2.30.0 and the two-node recipe identifies 2.28.9 as deadlock-prone. Please pin NCCL 2.30.7 or newer and check the loaded version in the image smoke checks. A second release-integrity gap remains. The workflow smoke-tests Please run the version, library, NCCL-version and non-root checks against each recorded platform digest before manifest publication. The stable-release publication decision remains separate from these source issues.
|
|
Thank you, @BlivionIaG. Both requested fixes are confirmed. The image pins NCCL 2.30.7, and the checks now query the NCCL library loaded from each checked image. Publishing builds once per architecture, runs all version, library, non-root and cache checks against the exported digest, and creates the final manifest from those checked digests without rebuilding. Pull requests still cannot publish. Manual publication remains opt-in and confined to the running repository's own namespace, and existing version tags are not replaced. The branch merges cleanly with current main and changes no inference arithmetic. One current-release issue remains. CHANGES REQUESTED for the version update. After that fix, run both native amd64 and arm64 PR jobs, then one manual fork publication with
|
|
Thank you. A publishing run now builds each architecture once, with provenance and SBOM, and pushes it by digest. The version, library, NCCL-version and non-root checks pull and run that recorded digest; only passing digests are recorded. The publish job combines them without rebuilding and refuses an index whose platform manifests differ from the checked ones. Pull requests keep an unpublished local build for the same checks. actionlint is clean and PR CI passed on amd64 and arm64. The publish path itself (registry push, pull and tag creation) only runs on a publishing dispatch, so it is not exercised yet. The stable-release publication decision stays yours. |
|
Thank you, @BlivionIaG. The earlier NCCL and artifact-integrity fixes remain intact. The image loads NCCL 2.30.7 and checks that exact version, publishing tests the recorded per-architecture digests, and the final manifest contains only those checked digests. Pull requests still cannot publish, and manual publication stays confined to the fork's own namespace. The current-release update is still missing. CHANGES REQUESTED for that small version correction. After it, the remaining checks are both native amd64/arm64 PR jobs and one manual fork publication for v1.3.5. No GPU or model checkpoint is needed. The separate decision about official release-image publication remains with the maintainers.
|
|
Thank you. One manual fork publication of v1.3.5: https://github.com/BlivionIaG/TensorFold/actions/runs/45800764349 (the first two attempts failed in amd64 |
- Add pinned CUDA 13 cuBLAS/cuBLASLt and NCCL runtimes to the final image stage. - Build and smoke-check amd64 and arm64 images before stable-release GHCR publication. - Keep fork and pull-request builds non-publishing; document versioned image use.
- Keep automatic releases upstream-only and PR builds non-publishing. - Permit manual publish=true runs to exercise the complete workflow in the running repository’s own GHCR namespace.
Each architecture is built once with provenance and an SBOM and pushed by digest; the version, library, NCCL-version and non-root checks run against that pushed digest, and the publish job combines only the checked digests without rebuilding.
9755f0a to
f2f4319
Compare
|
Thank you @BlivionIaG. 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
Publish versioned Linux amd64/arm64 CUDA containers from the signed TensorFold archives when a stable GitHub release is published, not when a tag is pushed. Keep the existing multi-stage build and non-root user; use NVIDIA's official CUDA 13 base plus pinned cuBLAS/cuBLASLt and NCCL runtime packages, without the development toolkit. The Dockerfile default and the workflow/docs examples now name the current stable release,
v1.3.4.main; source base8cbef9777b9a05dfaff99d5aa9c2ce52fe2b00f8. The branch is refreshed withmain9fa8863b(head7ba877d3); the merge is clean, and main's only change to these files is three lines added above the Container section ofdocs/evaluating.md— the Dockerfile,.dockerignore, runtime trust key and container section are unchanged.complete: true,advice: free, no claimant or linked PR for Publish versioned multi-architecture CUDA containers for stable releases #3856. This issue-linked draft is the claim.atc overlap --repo ashhart/TensorFold --base upstream/main --json, 2026-11-18: three working-tree files, no reported working-tree overlaps. Repository-wide coverage is incomplete (myPullRequestsLimit,otherPullRequestsLimit,pullFilesUnavailable,pullRequestsLimit,timeLimit). Its reported conflicts all belong to an existing source PR KV pool: host tier for the core pool (5/8) #1501, not this proposal; those unrelated changes were left untouched. No full repository-wide conflict-free claim is made.The workflow smoke-checks the version, loadable cuBLAS/cuBLASLt/NCCL/grammar libraries, non-root execution and writable cache on native GitHub-hosted runners. Checked builds are exported by digest with SBOM/provenance; the version tag is published only after both architectures pass. No rolling
latest; existing version tags are not overwritten. Pull requests never publish. Manual publication defaults to false and is confined to the running repository's own GHCR namespace, allowing fork validation without upstream package access.Checks on this head
9755f0ac19165398d84eb5b63897840620656596.python3 tools/pr_check.py --base 9fa8863b --pr 3857: 0 errors, 1 advisory warning (Dockerfile:29: added non-loopback IPv4 address). It is a false positive: the match is the pinned cuBLAS package version13.0.2.14-1.git diff --checkclean.1.3.5, matching the current stable release.v1.3.5publishestensorfold-1.3.5-linux-x86_64.tar.gzandtensorfold-1.3.5-linux-aarch64.tar.gzwith their.sha256and.sha256.sigfiles. Using the Dockerfile's own trust-key and signing-payload commands, I verified both architectures' release signatures withpackaging/runtime-trust.json(openssl pkeyutl -verify ...reportsSignature Verified Successfullyfor each), and added the## Unreleasedchangelog line.run:blocks reports only SC2153 (info) for$DIGEST, which the step supplies throughenv:; three real prepare-step scenarios passed (fork PR does not publish, explicit fork publication uses its own namespace, upstream publication selection).8b07f4a5: prepare, native amd64 and arm64 image builds/smoke checks, GHCR digest uploads, SBOM/provenance export, artifact transfer and final combined manifest all passed; 0 failed jobs.ghcr.io/blivioniag/tensorfold:v1.2.9, manifest digestsha256:24371871a661ead9f507d48099bdb3fbc22a50b50f5d1170d7785f77ffdce86f, from that earlier head and default. The workflow verified both Linux platform entries. No upstream package was written.9454063before the version bump;prepareand both nativebuildjobs smoke-check the1.3.4images andpublishis skipped when they run. Upstream GPU qualification remains explicitly outside these no-GPU checks.Receipt
publishdefaults to false, uses its own namespace and cannot enable PR publication.v1.3.5, CUDA base 13.0.2, cuBLAS 13.0.2.14, NCCL 2.30.7 (libnccl2=2.30.7-1+cuda13.3); native GitHub-hosted Ubuntu runners. No model or Zig compiler needed for packaging.Dockerfile,.github/workflows/container-release.yml,docs/evaluating.md,CHANGELOG.md; native amd64 and arm64 ran successfully.Checklist
Release 1.3.5 fork publication
ghcr.io/blivioniag/tensorfold:v1.3.5(sha256:cde6fc55…) from checked digests amd64996e97dc…/ arm642b11cfe3…; the index holds exactly their manifests; pulled images report 1.3.5 and NCCL 23007, run as uid 1000, and find all four libraries.