This repository was archived by the owner on Apr 6, 2026. It is now read-only.
feat: built root and user docker image variants#139
Merged
Conversation
Collaborator
Author
|
example usage git clone https://github.com/huggingface/kernel-builder
cd kernel-builder
docker build -t kernel-builder:local -f dockerfiles/Dockerfile .git clone https://huggingface.co/medmekk/rmsnorm_thrust
cd rmsnorm_thrustthen run the builder container build docker run --mount type=bind,source=$(pwd),target=/kernelcode kernel-builder:local
# ...
# rmsnorm_kernel-torch-ext> ✅ No compatibility issues found
# building '/nix/store/1w31r5rj5d1f8pp0waamza4c72mlbqcm-torch-ext-bundle.drv'...
# Build completed. Copying results to /kernelcode/build
# Done - results available in /kernelcode/build |
danieldk
approved these changes
May 27, 2025
danieldk
reviewed
May 27, 2025
Co-authored-by: Daniël de Kok <me@danieldk.eu>
9144c56 to
4e25de5
Compare
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
This PR improves the docker built in various ways
--mountflag over the older--volumewhen launching the container for more granular permission control`