Skip to content

run-linux-cuda

run-linux-cuda #4

Workflow file for this run

name: run-linux-cuda
on:
workflow_dispatch:
inputs:
notebook-path:
description: Path to the notebook to run
required: true
type: string
jobs:
docker:
runs-on: [self-hosted, Linux, X64, CUDA]
container:
image: martinkim0/scvi-tools:py3.11-cu11
options: --user root --gpus all
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install dependencies
run: |
python -m pip install -U scvi-tools[tutorials]
- name: Install nbconvert
run: |
python -m pip install -U jupyter ipykernel nbconvert
- name: Install kernel
run: |
python -m ipykernel install
- name: Run notebook
run: |
python -m jupyter nbconvert --execute --inplace ${{ inputs.notebook-path }}
- name: Submit pull request with changes
uses: peter-evans/create-pull-request@v5