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