Skip to content

Conversation

@daniocionini
Copy link

Modified code at 206 of basic_params.py as usage of torch.cud.set_device(device) is discouraged in favor of torch.cuda.device(device)
https://pytorch.org/docs/stable/generated/torch.cuda.set_device.html

Minor fix to the requirements.txt doc. PyTorch CUDA wont run if the graphics card isn't listed as one of those
https://en.wikipedia.org/wiki/CUDA#GPUs_supported

usage of "torch.cuda.set_device(device)" is discouraged in favor of "torch.cuda.device(device)"
PyTorch might not run CUDA if the GPU/graphics card isn't listed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant