Skip to content

docker

docker #5

Workflow file for this run

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: clone
run: |
pwd
git clone https://github.com/huggingface/Google-Cloud-Containers.git
cd Google-Cloud-Containers
ls -la