Re:Intel CEO: 'The entire industry is motivated to eliminate...
by kaelinl on Thursday December 14, 2023 @03:26PM
(#38646776)
I haven't used it personally, but my understanding is that AMD/ROCm-accelerated backends for PyTorch overload the "cuda" device and module so that ROCm shows up as CUDA for feature testing. They want to make a transition seamless, and lots of existing code checks for CUDA, so they do what's necessary to make that existing code run.
[ Parent
| on HN ]
Re:Intel CEO: 'The entire industry is motivated to eliminate...
by bragr on Thursday December 14, 2023 @03:47PM
(#38647020)
Which tools actually pull down those packages though? If anything that's a counter point to the Intel CEO: industry is adopting CUDA as the defacto standard.
Re:Intel CEO: 'The entire industry is motivated to eliminate...
by mappu on Friday December 15, 2023 @12:17AM
(#38651245)
That seems to be the case for me out-of-the-box.
$ python3 -m venv .
$ ./bin/pip3 install torch --index-url https://download.pytorch.org/whl/rocm5.6
$ ./bin/python3 -c 'import torch; print([torch.cuda.is_available(), torch.cuda.get_device_name(0)])'
[True, 'AMD Radeon RX 6600 XT']