Merge pull request #136065 from yl3dy/torch_blas_passthru
python3Packages.pytorch: added BLAS provider passthru
This commit is contained in:
commit
9a58f7ea30
@ -304,6 +304,8 @@ in buildPythonPackage rec {
|
|||||||
passthru = {
|
passthru = {
|
||||||
inherit cudaSupport;
|
inherit cudaSupport;
|
||||||
cudaArchList = final_cudaArchList;
|
cudaArchList = final_cudaArchList;
|
||||||
|
# At least for 1.9.0 `torch.fft` is unavailable unless BLAS provider is MKL. This attribute allows for easy detection of its availability.
|
||||||
|
blasProvider = blas.provider;
|
||||||
};
|
};
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
Loading…
Reference in New Issue
Block a user