Skip to content

Commit

Permalink
docker
Browse files Browse the repository at this point in the history
  • Loading branch information
ydshieh committed Feb 2, 2024
1 parent f475b68 commit 902c79c
Showing 1 changed file with 23 additions and 2 deletions.
25 changes: 23 additions & 2 deletions .github/workflows/dummy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,32 @@ on:
- dummy_branch

jobs:
setup:
name: check
echo:
name: show host
runs-on: [single-gpu, nvidia-gpu, a10, ci]
steps:
- name: NVIDIA-SMI
run: |
echo "Hello A10"
nvidia-smi
- name: show directory
run: |
ls -l /mnt/cache/.cache/
container:
name: load docker image
runs-on: [single-gpu, nvidia-gpu, a10, ci]
container:
# TODO: make this $ {{ inputs.image }}
image: huggingface/transformers-all-latest-gpu
options: --gpus all --shm-size "16gb" --ipc host -v /mnt/cache/.cache/huggingface:/mnt/cache/
steps:
- name: NVIDIA-SMI
run: |
echo "Hello A10"
nvidia-smi
- name: show directory
run: |
ls -l /mnt/cache/

0 comments on commit 902c79c

Please sign in to comment.