-
-
Notifications
You must be signed in to change notification settings - Fork 13.6k
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
jax: init at 0.2.19, jaxlib: init at 0.1.71 #134894
Conversation
This pull request has been mentioned on NixOS Discourse. There might be relevant details there: |
On my (outdated) linux machine I'm getting:
So it may be worth considering building jaxlib from source but honestly that also sounds like a PITA. |
Attempted to use @SuperSandro2000 Thanks for reviewing! I'll start incorporating your suggestions once I can get it to build and pass tests! |
This pull request has been mentioned on NixOS Discourse. There might be relevant details there: |
@@ -0,0 +1,39 @@ | |||
{ buildPythonPackage, fetchFromGitHub, lib | |||
# propagatedBuildInputs |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Those comments are not required and they can get outdated quite fast.
This pull request has been mentioned on NixOS Discourse. There might be relevant details there: |
Result of 2 packages built:
|
Motivation for this change
Packaging of the JAX (https://github.com/google/jax) library. JAX is a modern framework for differentiable programming. The
jax
package usesjaxlib
as it's "backend". Currently only the CPU backend running on x86_64-linux is packaged.TODO, unfinished items left to future PRs:
jnp.array([1, 2, 3])
.Useful resources:
Things done
Created derivations for the jax and jaxlib python packages.
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)