-
Notifications
You must be signed in to change notification settings - Fork 20
55 lines (48 loc) · 1.34 KB
/
dummy.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
name: Dummy
on:
push:
branches:
- dummy_branch
jobs:
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/huggingface
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/
github_repo:
name: github repo
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: Checkout repository
uses: actions/checkout@v3
- name: clone
run: |
pwd
# git clone https://github.com/huggingface/Google-Cloud-Containers.git
# cd Google-Cloud-Containers
ls -la