{
  "name": "PyTorch CUDA sample",
  "summary": "import torch and report CUDA on the GPU SIF",
  "containers": [
    "pytorch/2026.09"
  ],
  "steps": [
    {
      "id": "s1",
      "kind": "slurm-gpu",
      "name": "torch",
      "script": "jobs/s1.sh",
      "after": [],
      "container": "pytorch/2026.09",
      "use_slurm": false,
      "copies": [],
      "shape": {
        "cpus": 4,
        "mem": "16G",
        "nodes": 1,
        "gpus": 1
      }
    }
  ],
  "files": {
    "jobs/s1.sh": "#!/bin/bash\nset -euo pipefail\napptainer exec --nv /tmp/image.sif python -c 'import torch; print(torch.__version__, torch.cuda.is_available(), torch.cuda.device_count())'\n"
  },
  "spans": []
}
