Enhance test-p4d with Docker checks #7
This file contains hidden or 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: Test - P4D 4 GPUs | |
| on: | |
| workflow_dispatch: | |
| push: | |
| paths: | |
| - ".github/workflows/test-cdk-changes.yaml" | |
| jobs: | |
| test-gpu-standard: | |
| runs-on: gpu-standard-runners | |
| steps: | |
| - name: Check GPUs | |
| run: nvidia-smi | |
| - name: Check Docker | |
| run: | | |
| docker info | |
| docker pull nvidia/cuda:12.0.0-runtime-ubuntu22.04 | |
| docker run --rm --runtime=nvidia -e NVIDIA_VISIBLE_DEVICES=all nvidia/cuda:12.0.0-runtime-ubuntu22.04 nvidia-smi | |
| test-p4d: | |
| runs-on: p4d-gpu-runners | |
| steps: | |
| - name: Check GPUs | |
| run: nvidia-smi | |
| - name: Check Docker | |
| run: | | |
| docker info | |
| docker pull nvidia/cuda:12.0.0-runtime-ubuntu22.04 | |
| docker run --rm --gpus all nvidia/cuda:12.0.0-runtime-ubuntu22.04 nvidia-smi |