mirror of
https://github.com/huggingface/text-generation-inference.git
synced 2025-04-22 15:32:08 +00:00
Our runner.
This commit is contained in:
parent
246ad39d04
commit
31d965bf17
20
.github/workflows/build.yaml
vendored
20
.github/workflows/build.yaml
vendored
@ -186,11 +186,11 @@ jobs:
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-build-and-push-image-rocm-${{ github.head_ref || github.run_id }}
|
||||
cancel-in-progress: true
|
||||
needs:
|
||||
- start-runner
|
||||
- build-and-push-image # Wait for the main docker image to be built
|
||||
- integration-tests # Wait for the main integration-tests
|
||||
runs-on: ${{ needs.start-runner.outputs.label }} # run the job on the newly created runner
|
||||
# needs:
|
||||
# - start-runner
|
||||
# - build-and-push-image # Wait for the main docker image to be built
|
||||
# - integration-tests # Wait for the main integration-tests
|
||||
runs-on: [self-hosted, docker-gpu, amd-gpu, multi-gpu, mi250]
|
||||
permissions:
|
||||
contents: write
|
||||
packages: write
|
||||
@ -207,10 +207,10 @@ jobs:
|
||||
install: true
|
||||
- name: Inject slug/short variables
|
||||
uses: rlespinasse/github-slug-action@v4.4.1
|
||||
- name: Tailscale
|
||||
uses: tailscale/github-action@7bd8039bf25c23c4ab1b8d6e2cc2da2280601966
|
||||
with:
|
||||
authkey: ${{ secrets.TAILSCALE_AUTHKEY }}
|
||||
# - name: Tailscale
|
||||
# uses: tailscale/github-action@7bd8039bf25c23c4ab1b8d6e2cc2da2280601966
|
||||
# with:
|
||||
# authkey: ${{ secrets.TAILSCALE_AUTHKEY }}
|
||||
- name: Login to GitHub Container Registry
|
||||
if: github.event_name != 'pull_request'
|
||||
uses: docker/login-action@v2
|
||||
@ -279,7 +279,7 @@ jobs:
|
||||
needs:
|
||||
- start-runner
|
||||
- build-and-push-image
|
||||
- build-and-push-image-rocm
|
||||
# - build-and-push-image-rocm
|
||||
- integration-tests
|
||||
runs-on: ubuntu-latest
|
||||
env:
|
||||
|
Loading…
Reference in New Issue
Block a user