Repository navigation
nix-builder: add a function filterBundle to generated flake outputs - #1077
Merged
Merged
Conversation
This function makes it possible to build a bundle for a subset of build sets, filtered by their build configs for example: ``` nix build "$(nix eval --raw .\#lib.x86_64-linux.filterBundle \ --apply 'filterBundle: (filterBundle (buildConfig: buildConfig.torchVersion == "2.14")).drvPath')^*" ```
drbh
added a commit
to huggingface/kernels-community
that referenced
this pull request
Dec 3, 2026
…1405) this pr adds a `--torch` flag to the kernel bot so mass rebuilds only build the variants for one torch version ``` /kernel-bot release activation --torch 2.16 ``` - passed to `build.yaml` and `build-mac.yaml` as a `torch` input, which builds `filterBundle` instead of the full bundle - backends with nothing matching are dropped from the matrix, and if nothing matches at all the run is skipped and reported as "Nothing to build" - windows is skipped since it pins its own torch versions outside the nix build sets depends on huggingface/kernels#1077
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.
This function makes it possible to build a bundle for a subset of build sets, filtered by their build configs for example: