Skip to content

fix: restore nix-installer cache as root on rocm container runners - #1328

Merged
drbh merged 1 commit into
mainfrom
fix-rocm-nix-tar-owner
Nov 13, 2026
Merged

drbh merged 1 commit into
mainfrom
fix-rocm-nix-tar-owner

Conversation

@drbh

@drbh drbh commented Nov 12, 2026 •

Copy link
Copy Markdown
Collaborator

this pr fixes the nix install in test-kernel-rocm https://github.com/huggingface/kernels-community/actions/runs/43093355445/job/130795729876

tldr; the action restores its cached nix-installer owned by uid 1001 with mode 0110, so its executable check fails as root in the container. TAR_OPTIONS: --no-same-owner restores it as root and keeps the cache

note: kernels need python3 scripts/update_flakes.py <kernel> to pick up huggingface/kernels#996 before their rocm tests pass

verified on the mi300 with activation bumped to kernels main, torch215-rocm714 loads and passes https://github.com/huggingface/kernels-community/actions/runs/43285735858

Signed-off-by: David Holtz <david.richard.holtz@gmail.com>
@github-actions github-actions Bot added the fix Bug fix label Nov 12, 2026
@drbh drbh changed the title fix: get test-kernel-rocm passing on the mi300 runners fix: restore nix-installer cache as root on rocm container runners Nov 12, 2026
@drbh
drbh force-pushed the fix-rocm-nix-tar-owner branch from 81b3658 to ccde2ac Compare November 12, 2026 16:35
@sayakpaul

Copy link
Copy Markdown
Member

note: kernels need python3 scripts/update_flakes.py to pick up huggingface/kernels#996 before their rocm tests pass

Then does it mean we should run it on kernels-community, first before merging the PR?

@drbh
drbh merged commit 9c34789 into main Nov 13, 2026
31 of 33 checks passed
@drbh
drbh deleted the fix-rocm-nix-tar-owner branch November 13, 2026 17:02
@drbh

drbh commented Nov 13, 2026

Copy link
Copy Markdown
Collaborator Author

Then does it mean we should run it on kernels-community, first before merging the PR?

nope shouldn't be a blocker - just a note so if the ci fails on rocm test its likely because the kernel needs to be bumped so it get the change that fixes the rocm test

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

fix Bug fix

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants