mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-21 05:34:18 +08:00
[ROCm] change preferred blas lib defaults (#150212)
Fixes #148883 Fixes #150155 Also adds at::BlasBackend:Default. Instinct cards prefer hipBLASLt, everything else prefers rocBLAS. Pull Request resolved: https://github.com/pytorch/pytorch/pull/150212 Approved by: https://github.com/jeffdaily
This commit is contained in:
committed by
PyTorch MergeBot
parent
29b3fdab01
commit
7a470c9320
@ -2243,6 +2243,7 @@ Call this whenever a new thread is created in order to propagate values from
|
||||
});
|
||||
|
||||
py::enum_<at::BlasBackend>(py_module, "_BlasBackend")
|
||||
.value("Default", at::BlasBackend::Default)
|
||||
.value("Cublas", at::BlasBackend::Cublas)
|
||||
.value("Cublaslt", at::BlasBackend::Cublaslt)
|
||||
.value("Ck", at::BlasBackend::Ck);
|
||||
|
Reference in New Issue
Block a user