Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

numpy + scipy broken by default lapack / blas overrides #24

Open
ryanswrt opened this issue Jul 28, 2023 · 2 comments
Open

numpy + scipy broken by default lapack / blas overrides #24

ryanswrt opened this issue Jul 28, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@ryanswrt
Copy link

Describe the bug

nixpkgs-unfree saves me some hassles when importing pytorch in newer nixpkgs-unstable, as it has introduced an unfree dependency. However, somewhere along the line, numpy and scipy started picking up the blas overrides, causing them to fail to build as described here: NixOS/nixpkgs#206866

To Reproduce

Steps to reproduce the behavior:

nix shell github:numtide/nixpkgs-unfree/nixos-unstable#python310Packages.numpy

Expected behavior

To be able to use numpy + scipy with nixpgkgs-unfree

Could we fix this by overriding the blas that gets passed to numpy scipy to be openblas instead?

@ryanswrt ryanswrt added the bug Something isn't working label Jul 28, 2023
@collinarnett
Copy link

I confirmed if I compile nixpkgs with allowUnfree and cudaSupport without the blas overrides I can get numpy working. It would be great if I could use nixpkgs-unfree but at the moment this is breaking my diffusers repo.

@zimbatm
Copy link
Member

zimbatm commented Nov 20, 2023

#27 should fix this since nixpkgs will now be unpatched.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants