xla
05d9cba8 - Remove CUDA logic from C++ files in `torch_xla/csrc` directory. (#9603)

Commit
239 days ago
Remove CUDA logic from C++ files in `torch_xla/csrc` directory. (#9603) This PR removes CUDA specific code from C++ files in `torch_xla/csrc` directory. This is in line with the CUDA deprecation that started on release 2.8. **Key Changes:** - (`init_python_bindings.cpp`) Removed `_has_cuda_support` Python API - (`dl_convertor.cpp`) Removed CUDA handling of DLPack capsules - (`tensor_impl.cpp`) Removed special handling of `Autocast` dispatch key for XLA:CUDA device - Also added a check, crashing on `XLA:CUDA` device (shouldn't be supported anymore)
Author
Parents
Loading