fix: build all combinations

This commit is contained in:
drbh
2025-01-16 22:23:06 +00:00
parent 4da2e1a3dd
commit 2cde348805

View File

@ -23,26 +23,10 @@ jobs:
strategy:
max-parallel: 3
matrix:
python: [
"3.10",
# avoid for debugging
# "3.11", "3.12"
]
ubuntu: [
"18.04",
# avoid for debugging
# "20.04", "22.04"
]
cuda: [
"11.8.0",
# avoid for debugging
# "12.1.0", "12.2.0", "12.4.0", "12.6.0"
]
torch: [
"2.4.0",
# avoid for debugging
# "2.5.0"
]
python: ["3.10", "3.11", "3.12"]
ubuntu: ["18.04", "20.04", "22.04"]
cuda: ["11.8.0", "12.1.0", "12.2.0", "12.4.0", "12.6.0"]
torch: ["2.4.0", "2.5.0"]
exclude:
# exclude cuda 12+ for ubuntu 18.04
- ubuntu: "18.04"
@ -126,4 +110,4 @@ jobs:
-v /home/runner/_work/hf-kernels/hf-kernels/tests:/workspace/tests \
ghcr.io/huggingface/hf-kernels/hf_kernels:$docker_tag
echo "Tested image $docker_tag"
done
done