mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 15:56:50 +01:00
Merge pull request #136065 from yl3dy/torch_blas_passthru
python3Packages.pytorch: added BLAS provider passthru
This commit is contained in:
commit
9a58f7ea30
1 changed files with 2 additions and 0 deletions
|
@ -304,6 +304,8 @@ in buildPythonPackage rec {
|
|||
passthru = {
|
||||
inherit cudaSupport;
|
||||
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; {
|
||||
|
|
Loading…
Reference in a new issue