mirror of
https://github.com/huggingface/kernels.git
synced 2025-10-20 21:10:02 +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:
|
strategy:
|
||||||
max-parallel: 3
|
max-parallel: 3
|
||||||
matrix:
|
matrix:
|
||||||
python: [
|
python: ["3.10", "3.11", "3.12"]
|
||||||
"3.10",
|
ubuntu: ["18.04", "20.04", "22.04"]
|
||||||
# avoid for debugging
|
cuda: ["11.8.0", "12.1.0", "12.2.0", "12.4.0", "12.6.0"]
|
||||||
# "3.11", "3.12"
|
torch: ["2.4.0", "2.5.0"]
|
||||||
]
|
|
||||||
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"
|
|
||||||
]
|
|
||||||
exclude:
|
exclude:
|
||||||
# exclude cuda 12+ for ubuntu 18.04
|
# exclude cuda 12+ for ubuntu 18.04
|
||||||
- ubuntu: "18.04"
|
- ubuntu: "18.04"
|
||||||
@ -126,4 +110,4 @@ jobs:
|
|||||||
-v /home/runner/_work/hf-kernels/hf-kernels/tests:/workspace/tests \
|
-v /home/runner/_work/hf-kernels/hf-kernels/tests:/workspace/tests \
|
||||||
ghcr.io/huggingface/hf-kernels/hf_kernels:$docker_tag
|
ghcr.io/huggingface/hf-kernels/hf_kernels:$docker_tag
|
||||||
echo "Tested image $docker_tag"
|
echo "Tested image $docker_tag"
|
||||||
done
|
done
|
||||||
|
|||||||
Reference in New Issue
Block a user