mirror of
https://github.com/huggingface/kernels.git
synced 2025-10-20 12:33:46 +08:00
fix: build all combinations
This commit is contained in:
26
.github/workflows/docker-build-matrix.yml
vendored
26
.github/workflows/docker-build-matrix.yml
vendored
@ -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
|
||||
|
Reference in New Issue
Block a user