mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2025-01-04 01:42:53 +03:00
Merge pull request #156808 from samuela/samuela/fix-jaxlib
JAX ecosystem: `jaxlib` should never be in `propagatedBuildInputs`
This commit is contained in:
commit
d8ff1576ae
@ -4,6 +4,7 @@
|
||||
, dill
|
||||
, dm-tree
|
||||
, fetchFromGitHub
|
||||
, jaxlib
|
||||
, jmp
|
||||
, lib
|
||||
, pytestCheckHook
|
||||
@ -31,6 +32,7 @@ buildPythonPackage rec {
|
||||
chex
|
||||
cloudpickle
|
||||
dm-tree
|
||||
jaxlib
|
||||
pytestCheckHook
|
||||
tensorflow
|
||||
];
|
||||
|
@ -4,6 +4,7 @@
|
||||
, deepmerge
|
||||
, dm-haiku
|
||||
, fetchFromGitHub
|
||||
, jaxlib
|
||||
, lib
|
||||
, poetry
|
||||
, pytestCheckHook
|
||||
@ -35,6 +36,8 @@ buildPythonPackage rec {
|
||||
poetry
|
||||
];
|
||||
|
||||
buildInputs = [ jaxlib ];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
cloudpickle
|
||||
deepdish
|
||||
|
@ -1,5 +1,6 @@
|
||||
{ buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, jaxlib
|
||||
, keras
|
||||
, lib
|
||||
, matplotlib
|
||||
@ -21,6 +22,8 @@ buildPythonPackage rec {
|
||||
sha256 = "0zvq0vl88hiwmss49bnm7gdmndr1dfza2bcs1fj88a9r7w9dmlsr";
|
||||
};
|
||||
|
||||
buildInputs = [ jaxlib ];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
matplotlib
|
||||
msgpack
|
||||
|
@ -19,10 +19,9 @@ buildPythonPackage rec {
|
||||
sha256 = "0hh4cmp93wjyidj48gh07vhx2kjvpwd23xvy79bsjn5qaaf6q4cm";
|
||||
};
|
||||
|
||||
# Wheel requires only `numpy`, but the import needs both `jax` and `jaxlib`.
|
||||
# Wheel requires only `numpy`, but the import needs `jax`.
|
||||
propagatedBuildInputs = [
|
||||
jax
|
||||
jaxlib
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
@ -30,6 +29,7 @@ buildPythonPackage rec {
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
jaxlib
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
|
@ -22,10 +22,11 @@ buildPythonPackage rec {
|
||||
sha256 = "1q8cxc42a5xais2ll1l238cnn3l7w28savhgiz0lg01ilz2ysbli";
|
||||
};
|
||||
|
||||
buildInputs = [ jaxlib ];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
absl-py
|
||||
chex
|
||||
jaxlib
|
||||
numpy
|
||||
];
|
||||
|
||||
|
@ -22,12 +22,12 @@ buildPythonPackage rec {
|
||||
poetry-core
|
||||
];
|
||||
|
||||
# These deps are not needed for the wheel, but required during the import.
|
||||
# jax is not declared in the dependencies, but is necessary.
|
||||
propagatedBuildInputs = [
|
||||
jax
|
||||
jaxlib
|
||||
];
|
||||
|
||||
checkInputs = [ jaxlib ];
|
||||
pythonImportsCheck = [
|
||||
"treeo"
|
||||
];
|
||||
|
@ -5,6 +5,7 @@
|
||||
, fetchFromGitHub
|
||||
, flax
|
||||
, hypothesis
|
||||
, jaxlib
|
||||
, keras
|
||||
, lib
|
||||
, poetry-core
|
||||
@ -38,6 +39,8 @@ buildPythonPackage rec {
|
||||
poetry-core
|
||||
];
|
||||
|
||||
buildInputs = [ jaxlib ];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
einops
|
||||
flax
|
||||
|
Loading…
Reference in New Issue
Block a user