docker #9
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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: Check repository | |
# run: | | |
# pwd | |
# ls -la | |
# git status | |
# git log -n 3 | |
# Only for `image: huggingface/transformers-all-latest-gpu` | |
- name: Check transformers repository | |
run: | | |
ls -l /transformers | |
cd /transformers | |
git status | |
git log -n 3 |