mirror of
https://github.com/huggingface/text-generation-inference.git
synced 2025-06-06 17:32:09 +00:00
feat: add neuron case to build ci
This commit is contained in:
parent
3bcc523e76
commit
bb51c5138c
10
.github/workflows/build.yaml
vendored
10
.github/workflows/build.yaml
vendored
@ -114,6 +114,16 @@ jobs:
|
|||||||
export extra_pytest="-k test_flash_gemma_simple"
|
export extra_pytest="-k test_flash_gemma_simple"
|
||||||
export target=""
|
export target=""
|
||||||
;;
|
;;
|
||||||
|
neuron)
|
||||||
|
export dockerfile="Dockerfile.neuron"
|
||||||
|
export label_extension="-neuron"
|
||||||
|
export docker_devices="/dev/neuron0"
|
||||||
|
export docker_volume="/mnt/cache"
|
||||||
|
export runs_on="aws-inf2-8xlarge"
|
||||||
|
export platform="cpu"
|
||||||
|
export extra_pytest="--neuron"
|
||||||
|
export target=""
|
||||||
|
;;
|
||||||
esac
|
esac
|
||||||
echo $dockerfile
|
echo $dockerfile
|
||||||
echo "Dockerfile=${dockerfile}"
|
echo "Dockerfile=${dockerfile}"
|
||||||
|
2
.github/workflows/ci_build.yaml
vendored
2
.github/workflows/ci_build.yaml
vendored
@ -37,7 +37,7 @@ jobs:
|
|||||||
# fail-fast is true by default
|
# fail-fast is true by default
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
hardware: ["cuda", "cuda-trtllm", "rocm", "intel-xpu", "intel-cpu"]
|
hardware: ["cuda", "cuda-trtllm", "rocm", "intel-xpu", "intel-cpu", "neuron"]
|
||||||
uses: ./.github/workflows/build.yaml # calls the one above ^
|
uses: ./.github/workflows/build.yaml # calls the one above ^
|
||||||
permissions:
|
permissions:
|
||||||
contents: write
|
contents: write
|
||||||
|
Loading…
Reference in New Issue
Block a user