Skip to content

fix: install a c compiler in the rocm test container - #1333

Merged
drbh merged 1 commit into
mainfrom
fix-rocm-test-cc
Nov 13, 2026
Merged

drbh merged 1 commit into
mainfrom
fix-rocm-test-cc

Conversation

@drbh

@drbh drbh commented Nov 13, 2026

Copy link
Copy Markdown
Collaborator

this pr fixes the test-kernel-rocm job for kernels that run triton in their tests (first hit on #1320 https://github.com/huggingface/kernels-community/actions/runs/43476728896/job/132069439103)

tldr; the job runs in a bare ubuntu:24.04 container with no compiler, so triton fails to build its launcher with RuntimeError: Failed to find C compiler. the base packages step now also installs gcc and libc6-dev (--no-install-recommends skips the libc headers otherwise)

same #1182 cv-utils tests as #1318, 44 failed, 92 passed, 4 skipped, but a missing compiler instead of missing Python.h (the nix ci-test python has headers). the cuda runners have a host gcc so test-kernel-gpu passes

note: #1320 and #1329 need a rebuild after this is merged since the workflow runs from main

@github-actions github-actions Bot added the fix Bug fix label Nov 13, 2026
@drbh
drbh merged commit a05530c into main Nov 13, 2026
8 checks passed
@drbh
drbh deleted the fix-rocm-test-cc branch November 13, 2026 19:40
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.

2 participants