Repository navigation
fix: import hf hub helpers from kernels.hf_hub in nightly abi check - #1312
Merged
Merged
Conversation
kernels.utils was removed upstream (huggingface/kernels#747), so every kernel download failed with "No module named 'kernels.utils'" and the nightly reported abi-fail for all kernels without running check-abi.
drbh
force-pushed
the
fix-nightly-kernels-utils-import
branch
from
November 9, 2026 16:59
a80f259 to
62e40d2
Compare
danieldk
approved these changes
Nov 9, 2026
drbh
added a commit
that referenced
this pull request
Nov 30, 2026
this pr fixes the nightly abi check, which has not produced results since #1312 - import the hub helpers from `kernels._internals.hf_hub` (moved in huggingface/kernels#1027) - download and check one variant at a time. `layer-norm` alone is 70 GB on main so every run hit `No space left on device` https://github.com/huggingface/kernels-community/actions/runs/44001196862 - record download errors as `error` instead of `fail` - silence the per request httpx logs that were truncating the job log Signed-off-by: David Holtz <david.richard.holtz@gmail.com>
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 pr fixes the nightly abi check, which has been marking every kernel as failed without running
kernel-builder check-abiscripts/run_kernels_checks.pyimported fromkernels.utils, which was removed in huggingface/kernels#747, so every download failed withNo module named 'kernels.utils'and got counted as an abi failure (all 62 kernels in slack andabi-failinkernel-status). it now uses_get_hf_apiand_get_cache_dirfromkernels.hf_hubran
_download_kernel_build('kernels-community/activation')in apython:3.11container withkernelsfrom main and it fetches all 442 files.check-abiitself will first run on the next nightlynote:
kernelsandkernel-builderare installed unpinned from main, so this can break again. pinning can be a follow up