mirror of
https://github.com/huggingface/text-generation-inference.git
synced 2025-04-22 23:42:06 +00:00
Our runner docker in docker.
This commit is contained in:
parent
c54b5c7f04
commit
85bf172653
11
.github/workflows/build.yaml
vendored
11
.github/workflows/build.yaml
vendored
@ -63,6 +63,9 @@ jobs:
|
|||||||
cancel-in-progress: true
|
cancel-in-progress: true
|
||||||
# needs: start-runner # required to start the main job when the runner is ready
|
# needs: start-runner # required to start the main job when the runner is ready
|
||||||
runs-on: [multi-gpu, nvidia-gpu, 4-a10, ci]
|
runs-on: [multi-gpu, nvidia-gpu, 4-a10, ci]
|
||||||
|
container:
|
||||||
|
image: nvidia/cuda:12.3.1-devel-ubuntu22.04
|
||||||
|
options: --gpus all
|
||||||
permissions:
|
permissions:
|
||||||
contents: write
|
contents: write
|
||||||
packages: write
|
packages: write
|
||||||
@ -207,10 +210,10 @@ jobs:
|
|||||||
install: true
|
install: true
|
||||||
- name: Inject slug/short variables
|
- name: Inject slug/short variables
|
||||||
uses: rlespinasse/github-slug-action@v4.4.1
|
uses: rlespinasse/github-slug-action@v4.4.1
|
||||||
# - name: Tailscale
|
- name: Tailscale
|
||||||
# uses: tailscale/github-action@7bd8039bf25c23c4ab1b8d6e2cc2da2280601966
|
uses: tailscale/github-action@7bd8039bf25c23c4ab1b8d6e2cc2da2280601966
|
||||||
# with:
|
with:
|
||||||
# authkey: ${{ secrets.TAILSCALE_AUTHKEY }}
|
authkey: ${{ secrets.TAILSCALE_AUTHKEY }}
|
||||||
- name: Login to GitHub Container Registry
|
- name: Login to GitHub Container Registry
|
||||||
if: github.event_name != 'pull_request'
|
if: github.event_name != 'pull_request'
|
||||||
uses: docker/login-action@v2
|
uses: docker/login-action@v2
|
||||||
|
Loading…
Reference in New Issue
Block a user