python3Packages.pytorch: added BLAS provider passthru
`torch.fft` is available only when BLAS provider is MKL. Passing it thru allows dependent derivations to easily check for FFT availability.
This commit is contained in:
@@ -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; {
|
||||
|
||||
Reference in New Issue
Block a user