Repository navigation
docker/gb10: copy third_party into the image build (image builds broken since #309) - #318
Merged
Merged
Conversation
#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>
Contributor
Author
|
|
4 of 7 tasks
9 tasks done
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.
Summary
#309 added vendored kernel sources under
third_party/, which the GLM kernels#includeby relative path. The gb10 Dockerfile never copies that directory, so everyImage (gb10)run since8ad9c3c3dhas failed at nvcc:As a result, main has had no ghcr image since #309, and recipes can't pin one.
This PR:
third_party/into the builder;/licenses/third_party/, next to the binary that embeds the compiled kernels;third_party/**to the workflow's paths, so a change there rebuilds the image.Test plan
Image (gb10)dispatched on this head withtag_latest=false: the build must pass.Generated with Devin