Skip to content

docker/gb10: copy third_party into the image build (image builds broken since #309) - #318

Merged
AzeezIsh merged 1 commit into
mainfrom
fix/gb10-image-third-party
Nov 2, 2026
Merged

AzeezIsh merged 1 commit into
mainfrom
fix/gb10-image-third-party

Conversation

@AzeezIsh

@AzeezIsh AzeezIsh commented Nov 2, 2026

Copy link
Copy Markdown
Contributor

Summary

#309 added vendored kernel sources under third_party/, which the GLM kernels #include by relative path. The gb10 Dockerfile never copies that directory, so every Image (gb10) run since 8ad9c3c3d has failed at nvcc:

kernels/gb10/glm-5.3-flash/nvfp4/glm_sparse_native_attention.cu:5:10: fatal error:
../../../../third_party/nvidia_sparse_mla_sm120/prefill_kernel.cuh: No such file or directory

As a result, main has had no ghcr image since #309, and recipes can't pin one.

This PR:

  • copies third_party/ into the builder;
  • ships its licences and notices (Apache-2.0, MIT, BSD-3-Clause) in the runtime image under /licenses/third_party/, next to the binary that embeds the compiled kernels;
  • adds third_party/** to the workflow's paths, so a change there rebuilds the image.

Test plan

  • Image (gb10) dispatched on this head with tag_latest=false: the build must pass.
  • CI

Generated with Devin

#309 added vendored kernel sources under third_party/ that the GLM
kernels include by relative path, but the gb10 Dockerfile never copied
that directory, so every image build since 8ad9c3c fails at nvcc
(glm_sparse_native_attention.cu: third_party/nvidia_sparse_mla_sm120/
prefill_kernel.cuh not found) and main has had no ghcr image since.

Copy third_party/ into the builder, ship its licences and notices in the
runtime image next to the binary that embeds the compiled kernels, and
rebuild the image when third_party/ changes.

Generated with [Devin](https://devin.ai)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
@AzeezIsh

AzeezIsh commented Nov 2, 2026

Copy link
Copy Markdown
Contributor Author

Image (gb10) dispatched on this head with tag_latest=false passed (run 41396074353), and ghcr.io/atlas-inf/atlas-gb10:sha-a171fcb is published. Merging so main gets images again.

@AzeezIsh
AzeezIsh merged commit 9c45191 into main Nov 2, 2026
24 of 25 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant