RuntimeError: CUDA error: invalid device ordinal
CUDA kernel errors might be asynchronously reported at some other API call, so the stacktrace below might be incorrect.
For debugging consider passing CUDA_LAUNCH_BLOCKING=1.
Compile with `TORCH_USE_CUDA_DSA` to enable device-side assertions.
Can we adjust the demo notebook to use cuda:0? That way it will work on Google Colab, which only gives one CUDA device by default
In https://github.com/snap-stanford/GEARS/blob/719328bd56745ab5f38c80dfca55cfd466ee356f/demo/model_tutorial.ipynb
Running the notebook will fail with:
Can we adjust the demo notebook to use
cuda:0
? That way it will work on Google Colab, which only gives one CUDA device by default