Closed satyaog closed 1 year ago
@lebrice , @obilaniu , would you know why the GPU is not detected?
Very strange! I'm running the example as a unit test here, and it isnt outputting the same thing: https://github.com/lebrice/mila-docs/blob/lebrice/test_examples/tests/test_examples/test_pytorch_example_frameworks_pytorch_setup_False_gres_gpu_rtx8000_1_.txt
Here is how the conda environment is created: https://github.com/lebrice/mila-docs/blob/lebrice/test_examples/docs/examples/frameworks/pytorch_setup/make_env.sh
The test code is here: https://github.com/lebrice/mila-docs/blob/lebrice/test_examples/tests/test_examples.py#L201
My bad, tried to reproduce something too quickly and forgot to create the env within an allocation. Closing
The frameworks/pytorch_setup example fails to detect a GPU