mirror of
https://github.com/huggingface/text-generation-inference.git
synced 2025-09-10 20:04:52 +00:00
fix xpu build
This commit is contained in:
parent
68583d3240
commit
05d1011b4f
4
.github/workflows/build.yaml
vendored
4
.github/workflows/build.yaml
vendored
@ -9,7 +9,7 @@ on:
|
||||
# options:
|
||||
# - cuda
|
||||
# - rocm
|
||||
# - intel
|
||||
# - xpu
|
||||
required: true
|
||||
|
||||
jobs:
|
||||
@ -167,7 +167,7 @@ jobs:
|
||||
elif [[ ${{ inputs.hardware }} == "cuda" ]]
|
||||
then
|
||||
echo "base_docker_image=nvidia/cuda:12.1.0-base-ubuntu22.04" >> "$GITHUB_OUTPUT"
|
||||
elif [[ ${{ inputs.hardware }} == "cuda" ]]
|
||||
elif [[ ${{ inputs.hardware }} == "xpu" ]]
|
||||
then
|
||||
echo "base_docker_image=intel/intel-extension-for-pytorch:2.1.30-xpu" >> "$GITHUB_OUTPUT"
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user