mirror of
https://github.com/huggingface/text-generation-inference.git
synced 2025-04-21 23:12:07 +00:00
?
This commit is contained in:
parent
3684439a0e
commit
3ee92eb614
27
.github/workflows/ci_buid.yml
vendored
27
.github/workflows/ci_buid.yml
vendored
@ -23,24 +23,21 @@ on:
|
|||||||
- 'main'
|
- 'main'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
version-matrix:
|
build-matrix:
|
||||||
strategy:
|
strategy:
|
||||||
# super important if you want to see all results, even if one fails
|
# super important if you want to see all results, even if one fails
|
||||||
# fail-fast is true by default
|
# fail-fast is true by default
|
||||||
fail-fast: true
|
fail-fast: true
|
||||||
matrix:
|
matrix:
|
||||||
hardware: ["cuda", "rocm", "intel"]
|
hardware: ["cuda", "rocm", "intel"]
|
||||||
steps:
|
uses: ./.github/workflows/build.yml # calls the one above ^
|
||||||
- name: Build
|
with:
|
||||||
id: build
|
hardware: ${{ matrix.hardware }}
|
||||||
uses: ./.github/workflows/build.yml # calls the one above ^
|
secrets: inherit
|
||||||
with:
|
integration_tests:
|
||||||
hardware: ${{ matrix.hardware }}
|
needs: build-matrix
|
||||||
secrets: inherit
|
uses: ./.github/workflows/integration_tests.yml # calls the one above ^
|
||||||
- name: Test
|
with:
|
||||||
if: matrix.hardware == 'cuda'
|
docker_image: ${{ steps.build.outputs.docker_image }}
|
||||||
uses: ./.github/workflows/integration_tests.yml # calls the one above ^
|
docker_devices: ${{ steps.build.outputs.docker_devices }}
|
||||||
with:
|
secrets: inherit
|
||||||
docker_image: ${{ steps.build.outputs.docker_image }}
|
|
||||||
docker_devices: ${{ steps.build.outputs.docker_devices }}
|
|
||||||
secrets: inherit
|
|
||||||
|
Loading…
Reference in New Issue
Block a user