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

cudaPackages_12: 12.0.0 -> 12.0.1 #215229

Merged
merged 1 commit into from
Feb 22, 2023
Merged

Conversation

ConnorBaker
Copy link
Contributor

@ConnorBaker ConnorBaker commented Feb 8, 2023

Description of changes
  • cudaPackages_12: 12.0.0 -> 12.0.1
Things done
  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
  • Tested, as applicable:
  • Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
  • Tested basic functionality of all binary files (usually in ./result/bin/)
  • 23.05 Release Notes (or backporting 22.11 Release notes)
    • (Package updates) Added a release notes entry if the change is major or breaking
    • (Module updates) Added a release notes entry if the change is significant
    • (Module addition) Added a release notes entry if adding a new NixOS module
    • (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes
  • Fits CONTRIBUTING.md.

cc @NixOS/cuda-maintainers

@ofborg ofborg bot added 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin 10.rebuild-linux: 0 This PR does not cause any packages to rebuild on Linux labels Feb 8, 2023
@ConnorBaker ConnorBaker mentioned this pull request Feb 9, 2023
13 tasks
@ofborg ofborg bot added 10.rebuild-darwin: 11-100 10.rebuild-linux: 11-100 and removed 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin 10.rebuild-linux: 0 This PR does not cause any packages to rebuild on Linux labels Feb 16, 2023
@ConnorBaker
Copy link
Contributor Author

Result of nixpkgs-review pr 215229 run on x86_64-linux 1

5 packages marked as broken and skipped:
  • python310Packages.distrax
  • python310Packages.mask-rcnn
  • python310Packages.optuna
  • python310Packages.rl-coach
  • python310Packages.rlax
11 packages failed to build:
  • python310Packages.dalle-mini
  • python310Packages.dm-sonnet
  • python310Packages.elegy
  • python310Packages.jaxlibWithCuda
  • python310Packages.pymanopt
  • python310Packages.scikit-tda
  • python310Packages.tensorflow-datasets
  • python310Packages.tensorflowWithCuda
  • python310Packages.torchWithCuda
  • python310Packages.treex
  • python311Packages.jaxlibWithCuda
16 packages built:
  • gpt2tc
  • libtensorflow
  • magma (magma-cuda)
  • python310Packages.baselines
  • python310Packages.edward
  • python310Packages.flax
  • python310Packages.gpt-2-simple
  • python310Packages.n3fit
  • python310Packages.pot
  • python310Packages.tensorflow (python310Packages.tensorflow-build ,python310Packages.tensorflowWithoutCuda)
  • python310Packages.tensorflow-probability
  • python310Packages.tflearn
  • python310Packages.trfl
  • python310Packages.umap-learn
  • python310Packages.vqgan-jax
  • tests.pkg-config.defaultPkgConfigPackages.tensorflow

@ConnorBaker
Copy link
Contributor Author

I did have to skip building tts because the test suite runs for at least an hour (I stopped it at that point).

Screenshot 2023-02-16 at 4 48 49 PM

@ConnorBaker
Copy link
Contributor Author

ConnorBaker commented Feb 16, 2023

python310Packages.dalle-mini fails due to an unrelated error in the test suite of dependency python310Packages.wandb.

$ nix build nixpkgs/master#python310Packages.dalle-mini --cores 1 -j 1 -L
...
python3.10-wandb> Executing pytestCheckPhase
python3.10-wandb> ============================= test session starts ==============================
python3.10-wandb> platform linux -- Python 3.10.9, pytest-7.2.0, pluggy-1.0.0 -- /nix/store/0pyymzxf7n0fzpaqnvwv92ab72v3jq8d-python3-3.10.9/bin/python3.10
python3.10-wandb> cachedir: .pytest_cache
python3.10-wandb> rootdir: /tmp/nix-shell.mYjVYj/nix-build-python3.10-wandb-0.13.9.drv-0/source, configfile: pytest.ini, testpaths: tests
python3.10-wandb> plugins: mock-3.10.0, xdist-3.1.0
python3.10-wandb> [gw0] linux Python 3.10.9 cwd: /tmp/nix-shell.mYjVYj/nix-build-python3.10-wandb-0.13.9.drv-0/source
python3.10-wandb> [gw0] Python 3.10.9 (main, Dec  6 2022, 18:44:57) [GCC 12.2.0]
python3.10-wandb> gw0 [0]0 items / 1 error                                                   
python3.10-wandb> scheduling tests via LoadScheduling
python3.10-wandb> ==================================== ERRORS ====================================
python3.10-wandb> ________________________ ERROR collecting test session _________________________
python3.10-wandb> /nix/store/0pyymzxf7n0fzpaqnvwv92ab72v3jq8d-python3-3.10.9/lib/python3.10/importlib/__init__.py:126: in import_module
python3.10-wandb>     return _bootstrap._gcd_import(name[level:], package, level)
python3.10-wandb> <frozen importlib._bootstrap>:1050: in _gcd_import
python3.10-wandb>     ???
python3.10-wandb> <frozen importlib._bootstrap>:1027: in _find_and_load
python3.10-wandb>     ???
python3.10-wandb> <frozen importlib._bootstrap>:1006: in _find_and_load_unlocked
python3.10-wandb>     ???
python3.10-wandb> <frozen importlib._bootstrap>:688: in _load_unlocked
python3.10-wandb>     ???
python3.10-wandb> /nix/store/c5qvrk78x6ak9fmlzz5pmfvnhf0lj2g7-python3.10-pytest-7.2.0/lib/python3.10/site-packages/_pytest/assertion/rewrite.py:168: in exec_module
python3.10-wandb>     exec(co, module.__dict__)
python3.10-wandb> tests/unit_tests_old/conftest.py:42: in <module>
python3.10-wandb>     from . import utils
python3.10-wandb> tests/unit_tests_old/utils/__init__.py:1: in <module>
python3.10-wandb>     from .dummy_data import (
python3.10-wandb> tests/unit_tests_old/utils/dummy_data.py:6: in <module>
python3.10-wandb>     from bokeh.plotting import figure
python3.10-wandb> /nix/store/6rb2kq8an8w7pw9h34rn2sizniba1h14-python3.10-bokeh-2.4.3/lib/python3.10/site-packages/bokeh/plotting/__init__.py:73: in <module>
python3.10-wandb>     from ..io import curdoc; curdoc
python3.10-wandb> /nix/store/6rb2kq8an8w7pw9h34rn2sizniba1h14-python3.10-bokeh-2.4.3/lib/python3.10/site-packages/bokeh/io/__init__.py:24: in <module>
python3.10-wandb>     from .doc import curdoc
python3.10-wandb> /nix/store/6rb2kq8an8w7pw9h34rn2sizniba1h14-python3.10-bokeh-2.4.3/lib/python3.10/site-packages/bokeh/io/doc.py:29: in <module>
python3.10-wandb>     from .state import curstate
python3.10-wandb> /nix/store/6rb2kq8an8w7pw9h34rn2sizniba1h14-python3.10-bokeh-2.4.3/lib/python3.10/site-packages/bokeh/io/state.py:54: in <module>
python3.10-wandb>     from ..resources import Resources, ResourcesMode
python3.10-wandb> /nix/store/6rb2kq8an8w7pw9h34rn2sizniba1h14-python3.10-bokeh-2.4.3/lib/python3.10/site-packages/bokeh/resources.py:761: in <module>
python3.10-wandb>     CDN = Resources(mode="cdn")
python3.10-wandb> /nix/store/6rb2kq8an8w7pw9h34rn2sizniba1h14-python3.10-bokeh-2.4.3/lib/python3.10/site-packages/bokeh/resources.py:324: in __init__
python3.10-wandb>     cdn = self._cdn_urls()
python3.10-wandb> /nix/store/6rb2kq8an8w7pw9h34rn2sizniba1h14-python3.10-bokeh-2.4.3/lib/python3.10/site-packages/bokeh/resources.py:386: in _cdn_urls
python3.10-wandb>     return _get_cdn_urls(self.version, self.minified, self.legacy)
python3.10-wandb> /nix/store/6rb2kq8an8w7pw9h34rn2sizniba1h14-python3.10-bokeh-2.4.3/lib/python3.10/site-packages/bokeh/resources.py:719: in _get_cdn_urls
python3.10-wandb>     sri_hashes = get_sri_hashes_for_version(version)
python3.10-wandb> /nix/store/6rb2kq8an8w7pw9h34rn2sizniba1h14-python3.10-bokeh-2.4.3/lib/python3.10/site-packages/bokeh/resources.py:177: in get_sri_hashes_for_version
python3.10-wandb>     return hashes[version]
python3.10-wandb> E   KeyError: '3.0.3'
python3.10-wandb> =============================== warnings summary ===============================
python3.10-wandb> ../../../../nix/store/c5qvrk78x6ak9fmlzz5pmfvnhf0lj2g7-python3.10-pytest-7.2.0/lib/python3.10/site-packages/_pytest/config/__init__.py:1294
python3.10-wandb> ../../../../nix/store/c5qvrk78x6ak9fmlzz5pmfvnhf0lj2g7-python3.10-pytest-7.2.0/lib/python3.10/site-packages/_pytest/config/__init__.py:1294
python3.10-wandb>   /nix/store/c5qvrk78x6ak9fmlzz5pmfvnhf0lj2g7-python3.10-pytest-7.2.0/lib/python3.10/site-packages/_pytest/config/__init__.py:1294: PytestConfigWarning: Unknown config option: timeout
python3.10-wandb>     self._warn_or_fail_if_strict(f"Unknown config option: {key}\n")
python3.10-wandb> -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
python3.10-wandb> =========================== short test summary info ============================
python3.10-wandb> ERROR  - KeyError: '3.0.3'
python3.10-wandb> ========================= 2 warnings, 1 error in 1.69s =========================
python3.10-wandb> /nix/store/b09v23lirgvci3wzszh22mbkdfj0h0yq-stdenv-linux/setup: line 1582: pop_var_context: head of shell_variables not a function context
error: builder for '/nix/store/wyh6d3gs0i9j31vh0f7z3gl0xmzhyskz-python3.10-wandb-0.13.9.drv' failed with exit code 1
error: 1 dependencies of derivation '/nix/store/9479h2j1lw46mrs1pnlajlr90rf3801v-python3.10-dalle-mini-0.1.1.drv' failed to build

@ConnorBaker
Copy link
Contributor Author

python310Packages.dm-sonnet fails due to an unrelated error in the test suite of dependency python310Packages.apache-beam.

$ nix build nixpkgs/master#python310Packages.dm-sonnet --cores 1 -j 1 -L
...
python3.10-apache-beam> Executing pipInstallPhase
python3.10-apache-beam> /tmp/nix-shell.mYjVYj/nix-build-python3.10-apache-beam-2.44.0.drv-0/source/sdks/python/dist /tmp/nix-shell.mYjVYj/nix-build-python3.10-apache-beam-2.44.0.drv-0/source/sdks/python
python3.10-apache-beam> Processing ./apache_beam-2.44.0-cp310-cp310-linux_x86_64.whl
python3.10-apache-beam> Requirement already satisfied: cloudpickle~=2.2.0 in /nix/store/nlxmdgwzy5dc9bjj4mzbm37kjbb8vmaj-python3.10-cloudpickle-2.2.0/lib/python3.10/site-packages (from apache-beam==2.44.0) (2.2.0)
python3.10-apache-beam> Requirement already satisfied: httplib2 in /nix/store/60xixawdl2pszdhrv4l500w8ngzs0jxr-python3.10-httplib2-0.21.0/lib/python3.10/site-packages (from apache-beam==2.44.0) (0.21.0)
python3.10-apache-beam> Requirement already satisfied: regex>=2020.6.8 in /nix/store/frg8yggd7dkyxny1bxzw7i34byqf77dk-python3.10-regex-2022.10.31/lib/python3.10/site-packages (from apache-beam==2.44.0) (2022.10.31)
python3.10-apache-beam> Requirement already satisfied: typing-extensions>=3.7.0 in /nix/store/9mg6pdlxahp4c0pimbxw5zp517hv06sl-python3.10-typing-extensions-4.4.0/lib/python3.10/site-packages (from apache-beam==2.44.0) (4.4.0)
python3.10-apache-beam> Requirement already satisfied: fasteners<1.0,>=0.3 in /nix/store/53h7hm7abal2d85glzlylfqyps3l5nmx-python3.10-fasteners-0.18/lib/python3.10/site-packages (from apache-beam==2.44.0) (0.18)
python3.10-apache-beam> ERROR: Could not find a version that satisfies the requirement pyarrow<10.0.0,>=0.15.1 (from apache-beam) (from versions: none)
python3.10-apache-beam> ERROR: No matching distribution found for pyarrow<10.0.0,>=0.15.1
python3.10-apache-beam> 
error: builder for '/nix/store/l35gg3f9pjmc3rnd8ci5ibckyvgxa1g9-python3.10-apache-beam-2.44.0.drv' failed with exit code 1
error: 1 dependencies of derivation '/nix/store/ksr8pdyqs2wz9m68fw4kx224055bvyvw-python3.10-tensorflow-datasets-4.8.0.drv' failed to build
error: 1 dependencies of derivation '/nix/store/4hl6kbx5ii24m37gn85dv5905yyc7ks6-python3.10-dm-sonnet-2.0.0.drv' failed to build

@ConnorBaker
Copy link
Contributor Author

python310Packages.elegy fails due to an unrelated error in the test suite of dependency python310Packages.treex.

[connorbaker@fedora ~]$ nix build nixpkgs/master#python310Packages.elegy --cores 1 -j 1 -L
...
python3.10-treex> Executing pytestCheckPhase
python3.10-treex> ============================= test session starts ==============================
python3.10-treex> platform linux -- Python 3.10.9, pytest-7.2.0, pluggy-1.0.0
python3.10-treex> rootdir: /tmp/nix-shell.mYjVYj/nix-build-python3.10-treex-0.6.11.drv-0/source
python3.10-treex> plugins: hypothesis-6.61.0
python3.10-treex> collected 150 items                                                            
python3.10-treex> tests/test_optimizer.py ..                                               [  1%]
python3.10-treex> tests/test_rng_seq.py ..                                                 [  2%]
python3.10-treex> tests/test_treex.py .....F.....FF...........................             [ 29%]
python3.10-treex> tests/losses/cosine_similarity_test.py ...                               [ 31%]
python3.10-treex> tests/losses/crossentropy_test.py .                                      [ 32%]
python3.10-treex> tests/losses/huber_test.py ...                                           [ 34%]
python3.10-treex> tests/losses/loss_test.py ..                                             [ 35%]
python3.10-treex> tests/losses/mean_absolute_error_test.py ..                              [ 36%]
python3.10-treex> tests/losses/mean_absolute_percentage_error_test.py ..                   [ 38%]
python3.10-treex> tests/losses/mean_squared_error_test.py ..                               [ 39%]
python3.10-treex> tests/losses/mean_squared_logarithmic_error_test.py ...                  [ 41%]
python3.10-treex> tests/metrics/test_accuracy.py ..                                        [ 42%]
python3.10-treex> tests/metrics/test_loss_and_logs.py ..                                   [ 44%]
python3.10-treex> tests/metrics/test_losses.py ....                                        [ 46%]
python3.10-treex> tests/metrics/test_mean_absolute_error.py .....                          [ 50%]
python3.10-treex> tests/metrics/test_mean_square_error.py .....                            [ 53%]
python3.10-treex> tests/metrics/test_metric.py ....                                        [ 56%]
python3.10-treex> tests/metrics/test_metrics.py ....                                       [ 58%]
python3.10-treex> tests/nn/test_conv.py ..........                                         [ 65%]
python3.10-treex> tests/nn/test_dropout.py ......                                          [ 69%]
python3.10-treex> tests/nn/test_embed.py .....                                             [ 72%]
python3.10-treex> tests/nn/test_flax_module.py ...                                         [ 74%]
python3.10-treex> tests/nn/test_linear.py .......                                          [ 79%]
python3.10-treex> tests/nn/test_mlp.py ..                                                  [ 80%]
python3.10-treex> tests/nn/test_norm.py ....................                               [ 94%]
python3.10-treex> tests/nn/test_recurrent.py .......                                       [ 98%]
python3.10-treex> tests/nn/test_sequential.py ..                                           [100%]
python3.10-treex> =================================== FAILURES ===================================
python3.10-treex> ____________________________ TestTreex.test_is_tree ____________________________
python3.10-treex> self = <test_treex.TestTreex object at 0x7ffddfe4d750>
python3.10-treex>     def test_is_tree(self):
python3.10-treex>         mlp = MLP(2, 3, 5)
python3.10-treex>         @jax.jit
python3.10-treex>         def idfn(x):
python3.10-treex>             return x
python3.10-treex>         assert not isinstance(mlp.linear1.w, jnp.DeviceArray)
python3.10-treex>         assert not isinstance(mlp.linear1.b, jnp.DeviceArray)
python3.10-treex>         assert not isinstance(mlp.linear1.n, jnp.DeviceArray)
python3.10-treex>         assert not isinstance(mlp.linear2.w, jnp.DeviceArray)
python3.10-treex>         assert not isinstance(mlp.linear2.b, jnp.DeviceArray)
python3.10-treex>         assert not isinstance(mlp.linear1.n, jnp.DeviceArray)
python3.10-treex>         mlp = idfn(mlp)
python3.10-treex> >       assert isinstance(mlp.linear1.w, jnp.DeviceArray)
python3.10-treex> E       assert False
python3.10-treex> E        +  where False = isinstance(Array([[0.11763399, 0.90304446, 0.6951432 ],\n       [0.8850366 , 0.554873  , 0.00401835]], dtype=float32), <class 'jaxlib.xla_extension.DeviceArrayBase'>)
python3.10-treex> E        +    where Array([[0.11763399, 0.90304446, 0.6951432 ],\n       [0.8850366 , 0.554873  , 0.00401835]], dtype=float32) = Linear {\n    b: jax.ArrayImpl((3,), float32),      Parameter\n    din: 2,                               int\n    dout: 3...32),          State\n    name: "linear1",                      str\n    w: jax.ArrayImpl((2, 3), float32),    Parameter\n}.w
python3.10-treex> E        +      where Linear {\n    b: jax.ArrayImpl((3,), float32),      Parameter\n    din: 2,                               int\n    dout: 3...32),          State\n    name: "linear1",                      str\n    w: jax.ArrayImpl((2, 3), float32),    Parameter\n} = MLP {\n    din: 2,                                   int\n    dmid: 3,                                  int\n    dout: 5,... str\n        w: jax.ArrayImpl((3, 5), float32),    Parameter\n    },\n    name: "mlp",                              str\n}.linear1
python3.10-treex> E        +    and   <class 'jaxlib.xla_extension.DeviceArrayBase'> = jnp.DeviceArray
python3.10-treex> tests/test_treex.py:116: AssertionError
python3.10-treex> _____________________________ TestTreex.test_list ______________________________
python3.10-treex> self = <test_treex.TestTreex object at 0x7ffddfe4dae0>
python3.10-treex>     def test_list(self):
python3.10-treex>         class LinearList(tx.Module):
python3.10-treex>             params: tp.List[np.ndarray] = tx.Parameter.node()
python3.10-treex>             def __init__(self, din, dout, name="linear"):
python3.10-treex>                 self.din = din
python3.10-treex>                 self.dout = dout
python3.10-treex>                 self.params = [
python3.10-treex>                     np.random.uniform(size=(din, dout)),
python3.10-treex>                     np.random.uniform(size=(dout,)),
python3.10-treex>                 ]
python3.10-treex>                 self.name = name
python3.10-treex>         linear = LinearList(2, 3, name="mlp")
python3.10-treex>         @jax.jit
python3.10-treex>         def idfn(x):
python3.10-treex>             return x
python3.10-treex>         assert not isinstance(linear.params[0], jnp.DeviceArray)
python3.10-treex>         assert not isinstance(linear.params[1], jnp.DeviceArray)
python3.10-treex>         linear = idfn(linear)
python3.10-treex> >       assert isinstance(linear.params[0], jnp.DeviceArray)
python3.10-treex> E       AssertionError: assert False
python3.10-treex> E        +  where False = isinstance(Array([[0.00982457, 0.4286033 , 0.1121355 ],\n       [0.4537867 , 0.04986208, 0.22139844]], dtype=float32), <class 'jaxlib.xla_extension.DeviceArrayBase'>)
python3.10-treex> E        +    where <class 'jaxlib.xla_extension.DeviceArrayBase'> = jnp.DeviceArray
python3.10-treex> tests/test_treex.py:235: AssertionError
python3.10-treex> ___________________________ TestTreex.test_treelist ____________________________
python3.10-treex> self = <test_treex.TestTreex object at 0x7ffddfe4d600>
python3.10-treex>     def test_treelist(self):
python3.10-treex>         class MLP(tx.Module):
python3.10-treex>             linears: tp.List[Linear]
python3.10-treex>             def __init__(self, din, dmid, dout, name="mlp"):
python3.10-treex>                 self.linears = [
python3.10-treex>                     Linear(din, dmid, name="linear1"),
python3.10-treex>                     Linear(dmid, dout, name="linear2"),
python3.10-treex>                 ]
python3.10-treex>         mlp = MLP(2, 3, 5)
python3.10-treex>         @jax.jit
python3.10-treex>         def idfn(x):
python3.10-treex>             return x
python3.10-treex>         assert not isinstance(mlp.linears[0].w, jnp.DeviceArray)
python3.10-treex>         assert not isinstance(mlp.linears[0].b, jnp.DeviceArray)
python3.10-treex>         assert not isinstance(mlp.linears[0].n, jnp.DeviceArray)
python3.10-treex>         assert not isinstance(mlp.linears[1].w, jnp.DeviceArray)
python3.10-treex>         assert not isinstance(mlp.linears[1].b, jnp.DeviceArray)
python3.10-treex>         assert not isinstance(mlp.linears[1].n, jnp.DeviceArray)
python3.10-treex>         mlp = idfn(mlp)
python3.10-treex> >       assert isinstance(mlp.linears[0].w, jnp.DeviceArray)
python3.10-treex> E       assert False
python3.10-treex> E        +  where False = isinstance(Array([[0.20045704, 0.9409938 , 0.80153227],\n       [0.04653431, 0.14996895, 0.16462907]], dtype=float32), <class 'jaxlib.xla_extension.DeviceArrayBase'>)
python3.10-treex> E        +    where Array([[0.20045704, 0.9409938 , 0.80153227],\n       [0.04653431, 0.14996895, 0.16462907]], dtype=float32) = Linear {\n    b: jax.ArrayImpl((3,), float32),      Parameter\n    din: 2,                               int\n    dout: 3...32),          State\n    name: "linear1",                      str\n    w: jax.ArrayImpl((2, 3), float32),    Parameter\n}.w
python3.10-treex> E        +    and   <class 'jaxlib.xla_extension.DeviceArrayBase'> = jnp.DeviceArray
python3.10-treex> tests/test_treex.py:265: AssertionError
python3.10-treex> =============================== warnings summary ===============================
python3.10-treex> treex/metrics/mean_absolute_error.py:31
python3.10-treex>   /tmp/nix-shell.mYjVYj/nix-build-python3.10-treex-0.6.11.drv-0/source/treex/metrics/mean_absolute_error.py:31: DeprecationWarning: invalid escape sequence '\s'
python3.10-treex>     """
python3.10-treex> treex/metrics/mean_square_error.py:31
python3.10-treex>   /tmp/nix-shell.mYjVYj/nix-build-python3.10-treex-0.6.11.drv-0/source/treex/metrics/mean_square_error.py:31: DeprecationWarning: invalid escape sequence '\s'
python3.10-treex>     """
python3.10-treex> ../../../../nix/store/apx41ng1f596261dwm1pms6m5a4sc1hs-python3.10-tensorflow-2.11.0/lib/python3.10/site-packages/tensorflow/__init__.py:29
python3.10-treex>   /nix/store/apx41ng1f596261dwm1pms6m5a4sc1hs-python3.10-tensorflow-2.11.0/lib/python3.10/site-packages/tensorflow/__init__.py:29: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives
python3.10-treex>     import distutils as _distutils
python3.10-treex> tests/test_optimizer.py::TestOptreex::test_apply_updates
python3.10-treex> tests/test_optimizer.py::TestOptreex::test_return_updates
python3.10-treex>   /tmp/nix-shell.mYjVYj/nix-build-python3.10-treex-0.6.11.drv-0/source/treex/optimizer.py:79: FutureWarning: jax.tree_leaves is deprecated, and will be removed in a future release. Use jax.tree_util.tree_leaves instead.
python3.10-treex>     params = jax.tree_leaves(params)
python3.10-treex> tests/test_optimizer.py::TestOptreex::test_apply_updates
python3.10-treex>   /tmp/nix-shell.mYjVYj/nix-build-python3.10-treex-0.6.11.drv-0/source/tests/test_optimizer.py:24: FutureWarning: jax.tree_leaves is deprecated, and will be removed in a future release. Use jax.tree_util.tree_leaves instead.
python3.10-treex>     jax.tree_leaves(jax.tree_map(lambda x: jnp.mean(x**2), linear)), 0.0
python3.10-treex> tests/test_optimizer.py::TestOptreex::test_apply_updates
python3.10-treex> tests/test_optimizer.py::TestOptreex::test_return_updates
python3.10-treex>   /tmp/nix-shell.mYjVYj/nix-build-python3.10-treex-0.6.11.drv-0/source/treex/optimizer.py:110: FutureWarning: jax.tree_flatten is deprecated, and will be removed in a future release. Use jax.tree_util.tree_flatten instead.
python3.10-treex>     opt_grads, treedef = jax.tree_flatten(grads)
python3.10-treex> tests/test_optimizer.py::TestOptreex::test_apply_updates
python3.10-treex> tests/test_optimizer.py::TestOptreex::test_return_updates
python3.10-treex>   /tmp/nix-shell.mYjVYj/nix-build-python3.10-treex-0.6.11.drv-0/source/treex/optimizer.py:111: FutureWarning: jax.tree_leaves is deprecated, and will be removed in a future release. Use jax.tree_util.tree_leaves instead.
python3.10-treex>     opt_params = jax.tree_leaves(params)
python3.10-treex> tests/test_optimizer.py::TestOptreex::test_apply_updates
python3.10-treex> tests/test_optimizer.py::TestOptreex::test_return_updates
python3.10-treex>   /tmp/nix-shell.mYjVYj/nix-build-python3.10-treex-0.6.11.drv-0/source/treex/optimizer.py:135: FutureWarning: jax.tree_unflatten is deprecated, and will be removed in a future release. Use jax.tree_util.tree_unflatten instead.
python3.10-treex>     return jax.tree_unflatten(treedef, output)
python3.10-treex> tests/test_optimizer.py::TestOptreex::test_apply_updates
python3.10-treex>   /tmp/nix-shell.mYjVYj/nix-build-python3.10-treex-0.6.11.drv-0/source/tests/test_optimizer.py:37: FutureWarning: jax.tree_leaves is deprecated, and will be removed in a future release. Use jax.tree_util.tree_leaves instead.
python3.10-treex>     )
python3.10-treex> tests/test_optimizer.py::TestOptreex::test_apply_updates
python3.10-treex>   /tmp/nix-shell.mYjVYj/nix-build-python3.10-treex-0.6.11.drv-0/source/tests/test_optimizer.py:43: FutureWarning: jax.tree_leaves is deprecated, and will be removed in a future release. Use jax.tree_util.tree_leaves instead.
python3.10-treex>     )
python3.10-treex> tests/test_optimizer.py::TestOptreex::test_return_updates
python3.10-treex>   /tmp/nix-shell.mYjVYj/nix-build-python3.10-treex-0.6.11.drv-0/source/tests/test_optimizer.py:58: FutureWarning: jax.tree_leaves is deprecated, and will be removed in a future release. Use jax.tree_util.tree_leaves instead.
python3.10-treex>     jax.tree_leaves(jax.tree_map(lambda x: jnp.mean(x**2), linear)), 0.0
python3.10-treex> tests/test_optimizer.py::TestOptreex::test_return_updates
python3.10-treex>   /tmp/nix-shell.mYjVYj/nix-build-python3.10-treex-0.6.11.drv-0/source/tests/test_optimizer.py:70: FutureWarning: jax.tree_leaves is deprecated, and will be removed in a future release. Use jax.tree_util.tree_leaves instead.
python3.10-treex>     )
python3.10-treex> tests/test_optimizer.py::TestOptreex::test_return_updates
python3.10-treex>   /tmp/nix-shell.mYjVYj/nix-build-python3.10-treex-0.6.11.drv-0/source/tests/test_optimizer.py:76: FutureWarning: jax.tree_leaves is deprecated, and will be removed in a future release. Use jax.tree_util.tree_leaves instead.
python3.10-treex>     )
python3.10-treex> tests/test_treex.py::TestTreex::test_flatten_nothing
python3.10-treex>   /tmp/nix-shell.mYjVYj/nix-build-python3.10-treex-0.6.11.drv-0/source/tests/test_treex.py:68: FutureWarning: jax.tree_leaves is deprecated, and will be removed in a future release. Use jax.tree_util.tree_leaves instead.
python3.10-treex>     assert jax.tree_leaves(x) == [1, 2, 3]
python3.10-treex> tests/test_treex.py::TestTreex::test_flatten_nothing
python3.10-treex>   /tmp/nix-shell.mYjVYj/nix-build-python3.10-treex-0.6.11.drv-0/source/tests/test_treex.py:70: FutureWarning: jax.tree_flatten is deprecated, and will be removed in a future release. Use jax.tree_util.tree_flatten instead.
python3.10-treex>     flat_with_nothing = jax.tree_flatten(x, lambda x: isinstance(x, tx.Nothing))[0]
python3.10-treex> tests/test_treex.py::TestTreex::test_flatten
python3.10-treex>   /tmp/nix-shell.mYjVYj/nix-build-python3.10-treex-0.6.11.drv-0/source/tests/test_treex.py:78: FutureWarning: jax.tree_leaves is deprecated, and will be removed in a future release. Use jax.tree_util.tree_leaves instead.
python3.10-treex>     flat = jax.tree_leaves(mlp)
python3.10-treex> tests/test_treex.py::TestTreex::test_flatten_slice
python3.10-treex>   /tmp/nix-shell.mYjVYj/nix-build-python3.10-treex-0.6.11.drv-0/source/tests/test_treex.py:86: FutureWarning: jax.tree_leaves is deprecated, and will be removed in a future release. Use jax.tree_util.tree_leaves instead.
python3.10-treex>     flat = jax.tree_leaves(mlp)
python3.10-treex> tests/test_treex.py::TestTreex::test_flatten_slice_merging
python3.10-treex>   /tmp/nix-shell.mYjVYj/nix-build-python3.10-treex-0.6.11.drv-0/source/tests/test_treex.py:94: FutureWarning: jax.tree_flatten is deprecated, and will be removed in a future release. Use jax.tree_util.tree_flatten instead.
python3.10-treex>     flat = jax.tree_flatten(mlp, lambda x: isinstance(x, tx.Nothing))[0]
python3.10-treex> tests/test_treex.py::TestTreex::test_is_tree
python3.10-treex> tests/test_treex.py::TestTreex::test_treelist
python3.10-treex> tests/test_treex.py::TestTreex::test_repr
python3.10-treex> tests/test_treex.py::TestTreex::test_tabulate
python3.10-treex>   /nix/store/nv9a929c9yvqbp8i040fal36202gzfhw-python3.10-treeo-0.0.11/lib/python3.10/site-packages/treeo/api.py:226: FutureWarning: jax.tree_flatten is deprecated, and will be removed in a future release. Use jax.tree_util.tree_flatten instead.
python3.10-treex>     flat, treedef = jax.tree_flatten(obj)
python3.10-treex> tests/test_treex.py::TestTreex::test_is_tree
python3.10-treex> tests/test_treex.py::TestTreex::test_treelist
python3.10-treex> tests/test_treex.py::TestTreex::test_repr
python3.10-treex> tests/test_treex.py::TestTreex::test_tabulate
python3.10-treex>   /nix/store/nv9a929c9yvqbp8i040fal36202gzfhw-python3.10-treeo-0.0.11/lib/python3.10/site-packages/treeo/api.py:228: FutureWarning: jax.tree_unflatten is deprecated, and will be removed in a future release. Use jax.tree_util.tree_unflatten instead.
python3.10-treex>     obj = jax.tree_unflatten(treedef, flat)
python3.10-treex> tests/test_treex.py::TestTreex::test_tabulate
python3.10-treex> tests/test_treex.py::TestTreex::test_tabulate_inputs
python3.10-treex> tests/test_treex.py::TestTreex::test_uninitialized_tabulate
python3.10-treex>   /tmp/nix-shell.mYjVYj/nix-build-python3.10-treex-0.6.11.drv-0/source/treex/module.py:241: FutureWarning: jax.tree_flatten is deprecated, and will be removed in a future release. Use jax.tree_util.tree_flatten instead.
python3.10-treex>     flat, _ = jax.tree_flatten(self)
python3.10-treex> tests/test_treex.py::TestTreex::test_tabulate
python3.10-treex> tests/test_treex.py::TestTreex::test_tabulate_inputs
python3.10-treex> tests/test_treex.py::TestTreex::test_uninitialized_tabulate
python3.10-treex>   /tmp/nix-shell.mYjVYj/nix-build-python3.10-treex-0.6.11.drv-0/source/treex/utils.py:167: FutureWarning: jax.tree_flatten is deprecated, and will be removed in a future release. Use jax.tree_util.tree_flatten instead.
python3.10-treex>     tree_types = jax.tree_flatten(
python3.10-treex> tests/test_treex.py::TestTreex::test_tabulate
python3.10-treex> tests/test_treex.py::TestTreex::test_tabulate_inputs
python3.10-treex> tests/test_treex.py::TestTreex::test_uninitialized_tabulate
python3.10-treex>   /tmp/nix-shell.mYjVYj/nix-build-python3.10-treex-0.6.11.drv-0/source/treex/utils.py:375: FutureWarning: jax.tree_leaves is deprecated, and will be removed in a future release. Use jax.tree_util.tree_leaves instead.
python3.10-treex>     count = sum((x.size if hasattr(x, "size") else 0 for x in jax.tree_leaves(obj)), 0)
python3.10-treex> tests/test_treex.py::TestTreex::test_tabulate
python3.10-treex> tests/test_treex.py::TestTreex::test_tabulate_inputs
python3.10-treex> tests/test_treex.py::TestTreex::test_uninitialized_tabulate
python3.10-treex>   /tmp/nix-shell.mYjVYj/nix-build-python3.10-treex-0.6.11.drv-0/source/treex/utils.py:377: FutureWarning: jax.tree_leaves is deprecated, and will be removed in a future release. Use jax.tree_util.tree_leaves instead.
python3.10-treex>     (x.nbytes if hasattr(x, "nbytes") else 0 for x in jax.tree_leaves(obj)), 0
python3.10-treex> tests/test_treex.py::TestTreex::test_static_annotation
python3.10-treex>   /tmp/nix-shell.mYjVYj/nix-build-python3.10-treex-0.6.11.drv-0/source/tests/test_treex.py:475: FutureWarning: jax.tree_leaves is deprecated, and will be removed in a future release. Use jax.tree_util.tree_leaves instead.
python3.10-treex>     assert len(jax.tree_leaves(mod)) == 2
python3.10-treex> tests/test_treex.py::TestTreex::test_auto_annotations_inserted
python3.10-treex>   /nix/store/nv9a929c9yvqbp8i040fal36202gzfhw-python3.10-treeo-0.0.11/lib/python3.10/site-packages/treeo/tree.py:252: FutureWarning: jax.tree_flatten is deprecated, and will be removed in a future release. Use jax.tree_util.tree_flatten instead.
python3.10-treex>     jax.tree_flatten(self)
python3.10-treex> tests/metrics/test_loss_and_logs.py::TestLossAndLogs::test_basic
python3.10-treex> tests/metrics/test_loss_and_logs.py::TestLossAndLogs::test_batch_loss
python3.10-treex> tests/metrics/test_losses.py::TestAuxLosses::test_basic
python3.10-treex> tests/metrics/test_losses.py::TestAuxLosses::test_named
python3.10-treex>   /tmp/nix-shell.mYjVYj/nix-build-python3.10-treex-0.6.11.drv-0/source/treex/metrics/losses.py:127: FutureWarning: jax.tree_flatten is deprecated, and will be removed in a future release. Use jax.tree_util.tree_flatten instead.
python3.10-treex>     fields_info: tp.List[to.FieldInfo] = jax.tree_flatten(
python3.10-treex> tests/metrics/test_loss_and_logs.py::TestLossAndLogs::test_basic
python3.10-treex> tests/metrics/test_loss_and_logs.py::TestLossAndLogs::test_batch_loss
python3.10-treex> tests/metrics/test_metrics.py::TestAuxMetrics::test_basic
python3.10-treex> tests/metrics/test_metrics.py::TestAuxMetrics::test_named
python3.10-treex>   /tmp/nix-shell.mYjVYj/nix-build-python3.10-treex-0.6.11.drv-0/source/treex/metrics/metrics.py:117: FutureWarning: jax.tree_flatten is deprecated, and will be removed in a future release. Use jax.tree_util.tree_flatten instead.
python3.10-treex>     fields_info: tp.List[to.FieldInfo] = jax.tree_flatten(
python3.10-treex> tests/nn/test_conv.py::ConvTest::test_jit
python3.10-treex>   /tmp/nix-shell.mYjVYj/nix-build-python3.10-treex-0.6.11.drv-0/source/tests/nn/test_conv.py:147: FutureWarning: jax.tree_leaves is deprecated, and will be removed in a future release. Use jax.tree_util.tree_leaves instead.
python3.10-treex>     )
python3.10-treex> tests/nn/test_conv.py::ConvTest::test_slice
python3.10-treex>   /tmp/nix-shell.mYjVYj/nix-build-python3.10-treex-0.6.11.drv-0/source/tests/nn/test_conv.py:125: FutureWarning: jax.tree_leaves is deprecated, and will be removed in a future release. Use jax.tree_util.tree_leaves instead.
python3.10-treex>     flat = jax.tree_leaves(module.filter(tx.Parameter))
python3.10-treex> tests/nn/test_conv.py::ConvTest::test_slice
python3.10-treex>   /tmp/nix-shell.mYjVYj/nix-build-python3.10-treex-0.6.11.drv-0/source/tests/nn/test_conv.py:129: FutureWarning: jax.tree_leaves is deprecated, and will be removed in a future release. Use jax.tree_util.tree_leaves instead.
python3.10-treex>     flat = jax.tree_leaves(module.filter(tx.State))
python3.10-treex> tests/nn/test_conv.py::ConvTest::test_tree
python3.10-treex>   /tmp/nix-shell.mYjVYj/nix-build-python3.10-treex-0.6.11.drv-0/source/tests/nn/test_conv.py:117: FutureWarning: jax.tree_leaves is deprecated, and will be removed in a future release. Use jax.tree_util.tree_leaves instead.
python3.10-treex>     flat = jax.tree_leaves(module)
python3.10-treex> tests/nn/test_conv.py::ConvTransposeTest::test_jit
python3.10-treex>   /tmp/nix-shell.mYjVYj/nix-build-python3.10-treex-0.6.11.drv-0/source/tests/nn/test_conv.py:270: FutureWarning: jax.tree_leaves is deprecated, and will be removed in a future release. Use jax.tree_util.tree_leaves instead.
python3.10-treex>     )
python3.10-treex> tests/nn/test_conv.py::ConvTransposeTest::test_slice
python3.10-treex>   /tmp/nix-shell.mYjVYj/nix-build-python3.10-treex-0.6.11.drv-0/source/tests/nn/test_conv.py:248: FutureWarning: jax.tree_leaves is deprecated, and will be removed in a future release. Use jax.tree_util.tree_leaves instead.
python3.10-treex>     flat = jax.tree_leaves(module.filter(tx.Parameter))
python3.10-treex> tests/nn/test_conv.py::ConvTransposeTest::test_slice
python3.10-treex>   /tmp/nix-shell.mYjVYj/nix-build-python3.10-treex-0.6.11.drv-0/source/tests/nn/test_conv.py:252: FutureWarning: jax.tree_leaves is deprecated, and will be removed in a future release. Use jax.tree_util.tree_leaves instead.
python3.10-treex>     flat = jax.tree_leaves(module.filter(tx.State))
python3.10-treex> tests/nn/test_conv.py::ConvTransposeTest::test_tree
python3.10-treex>   /tmp/nix-shell.mYjVYj/nix-build-python3.10-treex-0.6.11.drv-0/source/tests/nn/test_conv.py:240: FutureWarning: jax.tree_leaves is deprecated, and will be removed in a future release. Use jax.tree_util.tree_leaves instead.
python3.10-treex>     flat = jax.tree_leaves(module)
python3.10-treex> tests/nn/test_dropout.py::DropoutTest::test_jit
python3.10-treex>   /tmp/nix-shell.mYjVYj/nix-build-python3.10-treex-0.6.11.drv-0/source/tests/nn/test_dropout.py:112: FutureWarning: jax.tree_leaves is deprecated, and will be removed in a future release. Use jax.tree_util.tree_leaves instead.
python3.10-treex>     )
python3.10-treex> tests/nn/test_dropout.py::DropoutTest::test_slice
python3.10-treex>   /tmp/nix-shell.mYjVYj/nix-build-python3.10-treex-0.6.11.drv-0/source/tests/nn/test_dropout.py:87: FutureWarning: jax.tree_leaves is deprecated, and will be removed in a future release. Use jax.tree_util.tree_leaves instead.
python3.10-treex>     flat = jax.tree_leaves(module.filter(tx.Parameter))
python3.10-treex> tests/nn/test_dropout.py::DropoutTest::test_slice
python3.10-treex>   /tmp/nix-shell.mYjVYj/nix-build-python3.10-treex-0.6.11.drv-0/source/tests/nn/test_dropout.py:91: FutureWarning: jax.tree_leaves is deprecated, and will be removed in a future release. Use jax.tree_util.tree_leaves instead.
python3.10-treex>     flat = jax.tree_leaves(module.filter(tx.State))
python3.10-treex> tests/nn/test_dropout.py::DropoutTest::test_tree
python3.10-treex>   /tmp/nix-shell.mYjVYj/nix-build-python3.10-treex-0.6.11.drv-0/source/tests/nn/test_dropout.py:80: FutureWarning: jax.tree_leaves is deprecated, and will be removed in a future release. Use jax.tree_util.tree_leaves instead.
python3.10-treex>     flat = jax.tree_leaves(module)
python3.10-treex> tests/nn/test_embed.py::TestEmbed::test_tree
python3.10-treex>   /tmp/nix-shell.mYjVYj/nix-build-python3.10-treex-0.6.11.drv-0/source/tests/nn/test_embed.py:97: FutureWarning: jax.tree_leaves is deprecated, and will be removed in a future release. Use jax.tree_util.tree_leaves instead.
python3.10-treex>     flat = jax.tree_leaves(module)
python3.10-treex> tests/nn/test_embed.py::TestEmbed::test_slice
python3.10-treex>   /tmp/nix-shell.mYjVYj/nix-build-python3.10-treex-0.6.11.drv-0/source/tests/nn/test_embed.py:105: FutureWarning: jax.tree_leaves is deprecated, and will be removed in a future release. Use jax.tree_util.tree_leaves instead.
python3.10-treex>     flat = jax.tree_leaves(module.filter(tx.Parameter))
python3.10-treex> tests/nn/test_embed.py::TestEmbed::test_slice
python3.10-treex>   /tmp/nix-shell.mYjVYj/nix-build-python3.10-treex-0.6.11.drv-0/source/tests/nn/test_embed.py:109: FutureWarning: jax.tree_leaves is deprecated, and will be removed in a future release. Use jax.tree_util.tree_leaves instead.
python3.10-treex>     flat = jax.tree_leaves(module.filter(tx.State))
python3.10-treex> tests/nn/test_embed.py::TestEmbed::test_jit
python3.10-treex>   /tmp/nix-shell.mYjVYj/nix-build-python3.10-treex-0.6.11.drv-0/source/tests/nn/test_embed.py:127: FutureWarning: jax.tree_leaves is deprecated, and will be removed in a future release. Use jax.tree_util.tree_leaves instead.
python3.10-treex>     )
python3.10-treex> tests/nn/test_flax_module.py::TestFlaxModule::test_pretrained_flax_module
python3.10-treex>   /tmp/nix-shell.mYjVYj/nix-build-python3.10-treex-0.6.11.drv-0/source/tests/nn/test_flax_module.py:65: FutureWarning: jax.tree_leaves is deprecated, and will be removed in a future release. Use jax.tree_util.tree_leaves instead.
python3.10-treex>     )
python3.10-treex> tests/nn/test_flax_module.py::TestFlaxModule::test_pretrained_flax_module
python3.10-treex>   /tmp/nix-shell.mYjVYj/nix-build-python3.10-treex-0.6.11.drv-0/source/tests/nn/test_flax_module.py:72: FutureWarning: jax.tree_leaves is deprecated, and will be removed in a future release. Use jax.tree_util.tree_leaves instead.
python3.10-treex>     )
python3.10-treex> tests/nn/test_flax_module.py::TestFlaxModule::test_pretrained_flax_module
python3.10-treex>   /tmp/nix-shell.mYjVYj/nix-build-python3.10-treex-0.6.11.drv-0/source/tests/nn/test_flax_module.py:105: FutureWarning: jax.tree_leaves is deprecated, and will be removed in a future release. Use jax.tree_util.tree_leaves instead.
python3.10-treex>     )
python3.10-treex> tests/nn/test_flax_module.py::TestFlaxModule::test_pretrained_flax_module_no_rng
python3.10-treex>   /tmp/nix-shell.mYjVYj/nix-build-python3.10-treex-0.6.11.drv-0/source/tests/nn/test_flax_module.py:141: FutureWarning: jax.tree_leaves is deprecated, and will be removed in a future release. Use jax.tree_util.tree_leaves instead.
python3.10-treex>     )
python3.10-treex> tests/nn/test_flax_module.py::TestFlaxModule::test_pretrained_flax_module_no_rng
python3.10-treex>   /tmp/nix-shell.mYjVYj/nix-build-python3.10-treex-0.6.11.drv-0/source/tests/nn/test_flax_module.py:179: FutureWarning: jax.tree_leaves is deprecated, and will be removed in a future release. Use jax.tree_util.tree_leaves instead.
python3.10-treex>     )
python3.10-treex> tests/nn/test_linear.py::LinearTest::test_jit
python3.10-treex>   /tmp/nix-shell.mYjVYj/nix-build-python3.10-treex-0.6.11.drv-0/source/tests/nn/test_linear.py:137: FutureWarning: jax.tree_leaves is deprecated, and will be removed in a future release. Use jax.tree_util.tree_leaves instead.
python3.10-treex>     )
python3.10-treex> tests/nn/test_linear.py::LinearTest::test_slice
python3.10-treex>   /tmp/nix-shell.mYjVYj/nix-build-python3.10-treex-0.6.11.drv-0/source/tests/nn/test_linear.py:115: FutureWarning: jax.tree_leaves is deprecated, and will be removed in a future release. Use jax.tree_util.tree_leaves instead.
python3.10-treex>     flat = jax.tree_leaves(module.filter(tx.Parameter))
python3.10-treex> tests/nn/test_linear.py::LinearTest::test_slice
python3.10-treex>   /tmp/nix-shell.mYjVYj/nix-build-python3.10-treex-0.6.11.drv-0/source/tests/nn/test_linear.py:119: FutureWarning: jax.tree_leaves is deprecated, and will be removed in a future release. Use jax.tree_util.tree_leaves instead.
python3.10-treex>     flat = jax.tree_leaves(module.filter(tx.State))
python3.10-treex> tests/nn/test_linear.py::LinearTest::test_tree
python3.10-treex>   /tmp/nix-shell.mYjVYj/nix-build-python3.10-treex-0.6.11.drv-0/source/tests/nn/test_linear.py:107: FutureWarning: jax.tree_leaves is deprecated, and will be removed in a future release. Use jax.tree_util.tree_leaves instead.
python3.10-treex>     flat = jax.tree_leaves(module)
python3.10-treex> tests/nn/test_norm.py::BatchNormTest::test_eval
python3.10-treex>   /tmp/nix-shell.mYjVYj/nix-build-python3.10-treex-0.6.11.drv-0/source/tests/nn/test_norm.py:186: FutureWarning: jax.tree_leaves is deprecated, and will be removed in a future release. Use jax.tree_util.tree_leaves instead.
python3.10-treex>     )
python3.10-treex> tests/nn/test_norm.py::BatchNormTest::test_eval
python3.10-treex>   /tmp/nix-shell.mYjVYj/nix-build-python3.10-treex-0.6.11.drv-0/source/tests/nn/test_norm.py:193: FutureWarning: jax.tree_leaves is deprecated, and will be removed in a future release. Use jax.tree_util.tree_leaves instead.
python3.10-treex>     )
python3.10-treex> tests/nn/test_norm.py::BatchNormTest::test_jit
python3.10-treex>   /tmp/nix-shell.mYjVYj/nix-build-python3.10-treex-0.6.11.drv-0/source/tests/nn/test_norm.py:158: FutureWarning: jax.tree_leaves is deprecated, and will be removed in a future release. Use jax.tree_util.tree_leaves instead.
python3.10-treex>     )
python3.10-treex> tests/nn/test_norm.py::BatchNormTest::test_jit
python3.10-treex>   /tmp/nix-shell.mYjVYj/nix-build-python3.10-treex-0.6.11.drv-0/source/tests/nn/test_norm.py:165: FutureWarning: jax.tree_leaves is deprecated, and will be removed in a future release. Use jax.tree_util.tree_leaves instead.
python3.10-treex>     )
python3.10-treex> tests/nn/test_norm.py::BatchNormTest::test_slice
python3.10-treex>   /tmp/nix-shell.mYjVYj/nix-build-python3.10-treex-0.6.11.drv-0/source/tests/nn/test_norm.py:130: FutureWarning: jax.tree_leaves is deprecated, and will be removed in a future release. Use jax.tree_util.tree_leaves instead.
python3.10-treex>     flat = jax.tree_leaves(module.filter(tx.Parameter))
python3.10-treex> tests/nn/test_norm.py::BatchNormTest::test_slice
python3.10-treex>   /tmp/nix-shell.mYjVYj/nix-build-python3.10-treex-0.6.11.drv-0/source/tests/nn/test_norm.py:133: FutureWarning: jax.tree_leaves is deprecated, and will be removed in a future release. Use jax.tree_util.tree_leaves instead.
python3.10-treex>     flat = jax.tree_leaves(module.filter(tx.BatchStat))
python3.10-treex> tests/nn/test_norm.py::BatchNormTest::test_slice
python3.10-treex>   /tmp/nix-shell.mYjVYj/nix-build-python3.10-treex-0.6.11.drv-0/source/tests/nn/test_norm.py:136: FutureWarning: jax.tree_leaves is deprecated, and will be removed in a future release. Use jax.tree_util.tree_leaves instead.
python3.10-treex>     flat = jax.tree_leaves(
python3.10-treex> tests/nn/test_norm.py::BatchNormTest::test_tree
python3.10-treex>   /tmp/nix-shell.mYjVYj/nix-build-python3.10-treex-0.6.11.drv-0/source/tests/nn/test_norm.py:122: FutureWarning: jax.tree_leaves is deprecated, and will be removed in a future release. Use jax.tree_util.tree_leaves instead.
python3.10-treex>     flat = jax.tree_leaves(module)
python3.10-treex> tests/nn/test_norm.py::LayerNormTest::test_eval
python3.10-treex>   /tmp/nix-shell.mYjVYj/nix-build-python3.10-treex-0.6.11.drv-0/source/tests/nn/test_norm.py:331: FutureWarning: jax.tree_leaves is deprecated, and will be removed in a future release. Use jax.tree_util.tree_leaves instead.
python3.10-treex>     )
python3.10-treex> tests/nn/test_norm.py::LayerNormTest::test_jit
python3.10-treex>   /tmp/nix-shell.mYjVYj/nix-build-python3.10-treex-0.6.11.drv-0/source/tests/nn/test_norm.py:310: FutureWarning: jax.tree_leaves is deprecated, and will be removed in a future release. Use jax.tree_util.tree_leaves instead.
python3.10-treex>     )
python3.10-treex> tests/nn/test_norm.py::LayerNormTest::test_slice
python3.10-treex>   /tmp/nix-shell.mYjVYj/nix-build-python3.10-treex-0.6.11.drv-0/source/tests/nn/test_norm.py:282: FutureWarning: jax.tree_leaves is deprecated, and will be removed in a future release. Use jax.tree_util.tree_leaves instead.
python3.10-treex>     flat = jax.tree_leaves(module.filter(tx.Parameter))
python3.10-treex> tests/nn/test_norm.py::LayerNormTest::test_slice
python3.10-treex>   /tmp/nix-shell.mYjVYj/nix-build-python3.10-treex-0.6.11.drv-0/source/tests/nn/test_norm.py:285: FutureWarning: jax.tree_leaves is deprecated, and will be removed in a future release. Use jax.tree_util.tree_leaves instead.
python3.10-treex>     flat = jax.tree_leaves(module.filter(tx.BatchStat))
python3.10-treex> tests/nn/test_norm.py::LayerNormTest::test_slice
python3.10-treex>   /tmp/nix-shell.mYjVYj/nix-build-python3.10-treex-0.6.11.drv-0/source/tests/nn/test_norm.py:288: FutureWarning: jax.tree_leaves is deprecated, and will be removed in a future release. Use jax.tree_util.tree_leaves instead.
python3.10-treex>     flat = jax.tree_leaves(
python3.10-treex> tests/nn/test_norm.py::LayerNormTest::test_tree
python3.10-treex>   /tmp/nix-shell.mYjVYj/nix-build-python3.10-treex-0.6.11.drv-0/source/tests/nn/test_norm.py:274: FutureWarning: jax.tree_leaves is deprecated, and will be removed in a future release. Use jax.tree_util.tree_leaves instead.
python3.10-treex>     flat = jax.tree_leaves(module)
python3.10-treex> tests/nn/test_norm.py::GroupNormTest::test_eval
python3.10-treex>   /tmp/nix-shell.mYjVYj/nix-build-python3.10-treex-0.6.11.drv-0/source/tests/nn/test_norm.py:512: FutureWarning: jax.tree_leaves is deprecated, and will be removed in a future release. Use jax.tree_util.tree_leaves instead.
python3.10-treex>     )
python3.10-treex> tests/nn/test_norm.py::GroupNormTest::test_jit
python3.10-treex>   /tmp/nix-shell.mYjVYj/nix-build-python3.10-treex-0.6.11.drv-0/source/tests/nn/test_norm.py:491: FutureWarning: jax.tree_leaves is deprecated, and will be removed in a future release. Use jax.tree_util.tree_leaves instead.
python3.10-treex>     )
python3.10-treex> tests/nn/test_norm.py::GroupNormTest::test_slice
python3.10-treex>   /tmp/nix-shell.mYjVYj/nix-build-python3.10-treex-0.6.11.drv-0/source/tests/nn/test_norm.py:463: FutureWarning: jax.tree_leaves is deprecated, and will be removed in a future release. Use jax.tree_util.tree_leaves instead.
python3.10-treex>     flat = jax.tree_leaves(module.filter(tx.Parameter))
python3.10-treex> tests/nn/test_norm.py::GroupNormTest::test_slice
python3.10-treex>   /tmp/nix-shell.mYjVYj/nix-build-python3.10-treex-0.6.11.drv-0/source/tests/nn/test_norm.py:466: FutureWarning: jax.tree_leaves is deprecated, and will be removed in a future release. Use jax.tree_util.tree_leaves instead.
python3.10-treex>     flat = jax.tree_leaves(module.filter(tx.BatchStat))
python3.10-treex> tests/nn/test_norm.py::GroupNormTest::test_slice
python3.10-treex>   /tmp/nix-shell.mYjVYj/nix-build-python3.10-treex-0.6.11.drv-0/source/tests/nn/test_norm.py:469: FutureWarning: jax.tree_leaves is deprecated, and will be removed in a future release. Use jax.tree_util.tree_leaves instead.
python3.10-treex>     flat = jax.tree_leaves(
python3.10-treex> tests/nn/test_norm.py::GroupNormTest::test_tree
python3.10-treex>   /tmp/nix-shell.mYjVYj/nix-build-python3.10-treex-0.6.11.drv-0/source/tests/nn/test_norm.py:455: FutureWarning: jax.tree_leaves is deprecated, and will be removed in a future release. Use jax.tree_util.tree_leaves instead.
python3.10-treex>     flat = jax.tree_leaves(module)
python3.10-treex> tests/nn/test_recurrent.py::TestGRU::test_jit
python3.10-treex>   /tmp/nix-shell.mYjVYj/nix-build-python3.10-treex-0.6.11.drv-0/source/tests/nn/test_recurrent.py:66: FutureWarning: jax.tree_leaves is deprecated, and will be removed in a future release. Use jax.tree_util.tree_leaves instead.
python3.10-treex>     print(jax.tree_leaves(module))
python3.10-treex> tests/nn/test_recurrent.py::TestGRU::test_jit
python3.10-treex>   /tmp/nix-shell.mYjVYj/nix-build-python3.10-treex-0.6.11.drv-0/source/tests/nn/test_recurrent.py:67: FutureWarning: jax.tree_leaves is deprecated, and will be removed in a future release. Use jax.tree_util.tree_leaves instead.
python3.10-treex>     print(jax.tree_leaves(module2))
python3.10-treex> tests/nn/test_recurrent.py::TestGRU::test_jit
python3.10-treex>   /tmp/nix-shell.mYjVYj/nix-build-python3.10-treex-0.6.11.drv-0/source/tests/nn/test_recurrent.py:74: FutureWarning: jax.tree_leaves is deprecated, and will be removed in a future release. Use jax.tree_util.tree_leaves instead.
python3.10-treex>     )
python3.10-treex> tests/nn/test_sequential.py::TestSequence::test_pytree
python3.10-treex>   /tmp/nix-shell.mYjVYj/nix-build-python3.10-treex-0.6.11.drv-0/source/tests/nn/test_sequential.py:38: FutureWarning: jax.tree_leaves is deprecated, and will be removed in a future release. Use jax.tree_util.tree_leaves instead.
python3.10-treex>     leaves = jax.tree_leaves(mlp)
python3.10-treex> -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
python3.10-treex> =========================== short test summary info ============================
python3.10-treex> FAILED tests/test_treex.py::TestTreex::test_is_tree - assert False
python3.10-treex> FAILED tests/test_treex.py::TestTreex::test_list - AssertionError: assert False
python3.10-treex> FAILED tests/test_treex.py::TestTreex::test_treelist - assert False
python3.10-treex> ================= 3 failed, 147 passed, 101 warnings in 25.12s =================
python3.10-treex> /nix/store/b09v23lirgvci3wzszh22mbkdfj0h0yq-stdenv-linux/setup: line 1582: pop_var_context: head of shell_variables not a function context
error: builder for '/nix/store/0f2skxjva1ri708y1v1jnhwqpk6x3kcr-python3.10-treex-0.6.11.drv' failed with exit code 1
error: 1 dependencies of derivation '/nix/store/cnh9sd55d67r9jsrn0ikqm6d2b0cknxm-python3.10-elegy-0.8.6.drv' failed to build

@ConnorBaker
Copy link
Contributor Author

python310Packages.scikit-tda fails due to an unrelated error in the test suite of python310Packages.kmapper.

[connorbaker@fedora Documents]$ nix build nixpkgs/master#python310Packages.scikit-tda --cores 1 -j 1 -L
...
python3.10-kmapper> Executing pytestCheckPhase
python3.10-kmapper> ============================= test session starts ==============================
python3.10-kmapper> platform linux -- Python 3.10.9, pytest-7.2.0, pluggy-1.0.0
python3.10-kmapper> rootdir: /tmp/nix-build-python3.10-kmapper-2.0.1.drv-0/source
python3.10-kmapper> collected 101 items                                                            
python3.10-kmapper> test/test_adapters.py ...                                                [  2%]
python3.10-kmapper> test/test_coverer.py ............F.....                                  [ 20%]
python3.10-kmapper> test/test_drawing.py ..                                                  [ 22%]
python3.10-kmapper> test/test_mapper.py ....................F........F                       [ 52%]
python3.10-kmapper> test/test_nerve.py ......                                                [ 58%]
python3.10-kmapper> test/test_plotly.py ......                                               [ 64%]
python3.10-kmapper> test/test_visuals.py ....................................                [100%]
python3.10-kmapper> =================================== FAILURES ===================================
python3.10-kmapper> __________________________ TestCover.test_radius_dist __________________________
python3.10-kmapper> self = <test.test_coverer.TestCover object at 0x7ffde868ad40>
python3.10-kmapper>     def test_radius_dist(self):
python3.10-kmapper>         test_cases = [
python3.10-kmapper>             {"cubes": 1, "range": [0, 4], "overlap": 0.4, "radius": 10.0 / 3},
python3.10-kmapper>             {"cubes": 1, "range": [0, 4], "overlap": 0.9, "radius": 20.0},
python3.10-kmapper>             {"cubes": 2, "range": [-4, 4], "overlap": 0.5, "radius": 4.0},
python3.10-kmapper>             {"cubes": 3, "range": [-4, 4], "overlap": 0.5, "radius": 2.666666666},
python3.10-kmapper>             {"cubes": 10, "range": [-4, 4], "overlap": 0.5, "radius": 0.8},
python3.10-kmapper>             {"cubes": 10, "range": [-4, 4], "overlap": 1.0, "radius": np.inf},
python3.10-kmapper>         ]
python3.10-kmapper>         for test_case in test_cases:
python3.10-kmapper>             scaler = preprocessing.MinMaxScaler(feature_range=test_case["range"])
python3.10-kmapper> >           data = scaler.fit_transform(np.arange(20).reshape(10, 2))
python3.10-kmapper> test/test_coverer.py:136:
python3.10-kmapper> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
python3.10-kmapper> /nix/store/avaqkdjpx2w50dgyq9769fa3ghvr8cvx-python3.10-scikit-learn-1.2.1/lib/python3.10/site-packages/sklearn/utils/_set_output.py:142: in wrapped
python3.10-kmapper>     data_to_wrap = f(self, X, *args, **kwargs)
python3.10-kmapper> /nix/store/avaqkdjpx2w50dgyq9769fa3ghvr8cvx-python3.10-scikit-learn-1.2.1/lib/python3.10/site-packages/sklearn/base.py:859: in fit_transform
python3.10-kmapper>     return self.fit(X, **fit_params).transform(X)
python3.10-kmapper> /nix/store/avaqkdjpx2w50dgyq9769fa3ghvr8cvx-python3.10-scikit-learn-1.2.1/lib/python3.10/site-packages/sklearn/preprocessing/_data.py:427: in fit
python3.10-kmapper>     return self.partial_fit(X, y)
python3.10-kmapper> /nix/store/avaqkdjpx2w50dgyq9769fa3ghvr8cvx-python3.10-scikit-learn-1.2.1/lib/python3.10/site-packages/sklearn/preprocessing/_data.py:450: in partial_fit
python3.10-kmapper>     self._validate_params()
python3.10-kmapper> /nix/store/avaqkdjpx2w50dgyq9769fa3ghvr8cvx-python3.10-scikit-learn-1.2.1/lib/python3.10/site-packages/sklearn/base.py:581: in _validate_params
python3.10-kmapper>     validate_parameter_constraints(
python3.10-kmapper> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
python3.10-kmapper> parameter_constraints = {'clip': ['boolean'], 'copy': ['boolean'], 'feature_range': [<class 'tuple'>]}
python3.10-kmapper> params = {'clip': False, 'copy': True, 'feature_range': [0, 4]}
python3.10-kmapper> caller_name = 'MinMaxScaler'
python3.10-kmapper>     def validate_parameter_constraints(parameter_constraints, params, caller_name):
python3.10-kmapper>         """Validate types and values of given parameters.
python3.10-kmapper>     
python3.10-kmapper>         Parameters
python3.10-kmapper>         ----------
python3.10-kmapper>         parameter_constraints : dict or {"no_validation"}
python3.10-kmapper>             If "no_validation", validation is skipped for this parameter.
python3.10-kmapper>     
python3.10-kmapper>             If a dict, it must be a dictionary `param_name: list of constraints`.
python3.10-kmapper>             A parameter is valid if it satisfies one of the constraints from the list.
python3.10-kmapper>             Constraints can be:
python3.10-kmapper>             - an Interval object, representing a continuous or discrete range of numbers
python3.10-kmapper>             - the string "array-like"
python3.10-kmapper>             - the string "sparse matrix"
python3.10-kmapper>             - the string "random_state"
python3.10-kmapper>             - callable
python3.10-kmapper>             - None, meaning that None is a valid value for the parameter
python3.10-kmapper>             - any type, meaning that any instance of this type is valid
python3.10-kmapper>             - an Options object, representing a set of elements of a given type
python3.10-kmapper>             - a StrOptions object, representing a set of strings
python3.10-kmapper>             - the string "boolean"
python3.10-kmapper>             - the string "verbose"
python3.10-kmapper>             - the string "cv_object"
python3.10-kmapper>             - the string "missing_values"
python3.10-kmapper>             - a HasMethods object, representing method(s) an object must have
python3.10-kmapper>             - a Hidden object, representing a constraint not meant to be exposed to the user
python3.10-kmapper>     
python3.10-kmapper>         params : dict
python3.10-kmapper>             A dictionary `param_name: param_value`. The parameters to validate against the
python3.10-kmapper>             constraints.
python3.10-kmapper>     
python3.10-kmapper>         caller_name : str
python3.10-kmapper>             The name of the estimator or function or method that called this function.
python3.10-kmapper>         """
python3.10-kmapper>         for param_name, param_val in params.items():
python3.10-kmapper>             # We allow parameters to not have a constraint so that third party estimators
python3.10-kmapper>             # can inherit from sklearn estimators without having to necessarily use the
python3.10-kmapper>             # validation tools.
python3.10-kmapper>             if param_name not in parameter_constraints:
python3.10-kmapper>                 continue
python3.10-kmapper>             constraints = parameter_constraints[param_name]
python3.10-kmapper>             if constraints == "no_validation":
python3.10-kmapper>                 continue
python3.10-kmapper>             constraints = [make_constraint(constraint) for constraint in constraints]
python3.10-kmapper>             for constraint in constraints:
python3.10-kmapper>                 if constraint.is_satisfied_by(param_val):
python3.10-kmapper>                     # this constraint is satisfied, no need to check further.
python3.10-kmapper>                     break
python3.10-kmapper>             else:
python3.10-kmapper>                 # No constraint is satisfied, raise with an informative message.
python3.10-kmapper>                 # Ignore constraints that we don't want to expose in the error message,
python3.10-kmapper>                 # i.e. options that are for internal purpose or not officially supported.
python3.10-kmapper>                 constraints = [
python3.10-kmapper>                     constraint for constraint in constraints if not constraint.hidden
python3.10-kmapper>                 ]
python3.10-kmapper>                 if len(constraints) == 1:
python3.10-kmapper>                     constraints_str = f"{constraints[0]}"
python3.10-kmapper>                 else:
python3.10-kmapper>                     constraints_str = (
python3.10-kmapper>                         f"{', '.join([str(c) for c in constraints[:-1]])} or"
python3.10-kmapper>                         f" {constraints[-1]}"
python3.10-kmapper>                     )
python3.10-kmapper> >               raise InvalidParameterError(
python3.10-kmapper>                     f"The {param_name!r} parameter of {caller_name} must be"
python3.10-kmapper>                     f" {constraints_str}. Got {param_val!r} instead."
python3.10-kmapper>                 )
python3.10-kmapper> E               sklearn.utils._param_validation.InvalidParameterError: The 'feature_range' parameter of MinMaxScaler must be an instance of 'tuple'. Got [0, 4] instead.
python3.10-kmapper> /nix/store/avaqkdjpx2w50dgyq9769fa3ghvr8cvx-python3.10-scikit-learn-1.2.1/lib/python3.10/site-packages/sklearn/utils/_param_validation.py:97: InvalidParameterError
python3.10-kmapper> __________________________ TestLens.test_sparse_array __________________________
python3.10-kmapper> self = <test.test_mapper.TestLens object at 0x7ffde841ed10>
python3.10-kmapper>     def test_sparse_array(self):
python3.10-kmapper>         mapper = KeplerMapper()
python3.10-kmapper>         data = sparse.random(100, 10)
python3.10-kmapper> >       lens = mapper.fit_transform(data)
python3.10-kmapper> test/test_mapper.py:282:
python3.10-kmapper> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
python3.10-kmapper> kmapper/kmapper.py:361: in fit_transform
python3.10-kmapper>     lens = self.project(
python3.10-kmapper> kmapper/kmapper.py:284: in project
python3.10-kmapper>     X = scaler.fit_transform(X)
python3.10-kmapper> /nix/store/avaqkdjpx2w50dgyq9769fa3ghvr8cvx-python3.10-scikit-learn-1.2.1/lib/python3.10/site-packages/sklearn/utils/_set_output.py:142: in wrapped
python3.10-kmapper>     data_to_wrap = f(self, X, *args, **kwargs)
python3.10-kmapper> /nix/store/avaqkdjpx2w50dgyq9769fa3ghvr8cvx-python3.10-scikit-learn-1.2.1/lib/python3.10/site-packages/sklearn/base.py:859: in fit_transform
python3.10-kmapper>     return self.fit(X, **fit_params).transform(X)
python3.10-kmapper> /nix/store/avaqkdjpx2w50dgyq9769fa3ghvr8cvx-python3.10-scikit-learn-1.2.1/lib/python3.10/site-packages/sklearn/preprocessing/_data.py:427: in fit
python3.10-kmapper>     return self.partial_fit(X, y)
python3.10-kmapper> /nix/store/avaqkdjpx2w50dgyq9769fa3ghvr8cvx-python3.10-scikit-learn-1.2.1/lib/python3.10/site-packages/sklearn/preprocessing/_data.py:466: in partial_fit
python3.10-kmapper>     X = self._validate_data(
python3.10-kmapper> /nix/store/avaqkdjpx2w50dgyq9769fa3ghvr8cvx-python3.10-scikit-learn-1.2.1/lib/python3.10/site-packages/sklearn/base.py:546: in _validate_data
python3.10-kmapper>     X = check_array(X, input_name="X", **check_params)
python3.10-kmapper> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
python3.10-kmapper> array = matrix([[0.        ],
python3.10-kmapper>         [0.        ],
python3.10-kmapper>         [0.48069749],
python3.10-kmapper>         [0.        ],
python3.10-kmapper>         [0.        ],
python3.10-kmapper>         ...      ],
python3.10-kmapper>         [0.        ],
python3.10-kmapper>         [0.        ],
python3.10-kmapper>         [0.        ],
python3.10-kmapper>         [0.        ],
python3.10-kmapper>         [0.        ]])
python3.10-kmapper> accept_sparse = False
python3.10-kmapper>     def check_array(
python3.10-kmapper>         array,
python3.10-kmapper>         accept_sparse=False,
python3.10-kmapper>         *,
python3.10-kmapper>         accept_large_sparse=True,
python3.10-kmapper>         dtype="numeric",
python3.10-kmapper>         order=None,
python3.10-kmapper>         copy=False,
python3.10-kmapper>         force_all_finite=True,
python3.10-kmapper>         ensure_2d=True,
python3.10-kmapper>         allow_nd=False,
python3.10-kmapper>         ensure_min_samples=1,
python3.10-kmapper>         ensure_min_features=1,
python3.10-kmapper>         estimator=None,
python3.10-kmapper>         input_name="",
python3.10-kmapper>     ):
python3.10-kmapper>         """Input validation on an array, list, sparse matrix or similar.
python3.10-kmapper>     
python3.10-kmapper>         By default, the input is checked to be a non-empty 2D array containing
python3.10-kmapper>         only finite values. If the dtype of the array is object, attempt
python3.10-kmapper>         converting to float, raising on failure.
python3.10-kmapper>     
python3.10-kmapper>         Parameters
python3.10-kmapper>         ----------
python3.10-kmapper>         array : object
python3.10-kmapper>             Input object to check / convert.
python3.10-kmapper>     
python3.10-kmapper>         accept_sparse : str, bool or list/tuple of str, default=False
python3.10-kmapper>             String[s] representing allowed sparse matrix formats, such as 'csc',
python3.10-kmapper>             'csr', etc. If the input is sparse but not in the allowed format,
python3.10-kmapper>             it will be converted to the first listed format. True allows the input
python3.10-kmapper>             to be any format. False means that a sparse matrix input will
python3.10-kmapper>             raise an error.
python3.10-kmapper>     
python3.10-kmapper>         accept_large_sparse : bool, default=True
python3.10-kmapper>             If a CSR, CSC, COO or BSR sparse matrix is supplied and accepted by
python3.10-kmapper>             accept_sparse, accept_large_sparse=False will cause it to be accepted
python3.10-kmapper>             only if its indices are stored with a 32-bit dtype.
python3.10-kmapper>     
python3.10-kmapper>             .. versionadded:: 0.20
python3.10-kmapper>     
python3.10-kmapper>         dtype : 'numeric', type, list of type or None, default='numeric'
python3.10-kmapper>             Data type of result. If None, the dtype of the input is preserved.
python3.10-kmapper>             If "numeric", dtype is preserved unless array.dtype is object.
python3.10-kmapper>             If dtype is a list of types, conversion on the first type is only
python3.10-kmapper>             performed if the dtype of the input is not in the list.
python3.10-kmapper>     
python3.10-kmapper>         order : {'F', 'C'} or None, default=None
python3.10-kmapper>             Whether an array will be forced to be fortran or c-style.
python3.10-kmapper>             When order is None (default), then if copy=False, nothing is ensured
python3.10-kmapper>             about the memory layout of the output array; otherwise (copy=True)
python3.10-kmapper>             the memory layout of the returned array is kept as close as possible
python3.10-kmapper>             to the original array.
python3.10-kmapper>     
python3.10-kmapper>         copy : bool, default=False
python3.10-kmapper>             Whether a forced copy will be triggered. If copy=False, a copy might
python3.10-kmapper>             be triggered by a conversion.
python3.10-kmapper>     
python3.10-kmapper>         force_all_finite : bool or 'allow-nan', default=True
python3.10-kmapper>             Whether to raise an error on np.inf, np.nan, pd.NA in array. The
python3.10-kmapper>             possibilities are:
python3.10-kmapper>     
python3.10-kmapper>             - True: Force all values of array to be finite.
python3.10-kmapper>             - False: accepts np.inf, np.nan, pd.NA in array.
python3.10-kmapper>             - 'allow-nan': accepts only np.nan and pd.NA values in array. Values
python3.10-kmapper>               cannot be infinite.
python3.10-kmapper>     
python3.10-kmapper>             .. versionadded:: 0.20
python3.10-kmapper>                ``force_all_finite`` accepts the string ``'allow-nan'``.
python3.10-kmapper>     
python3.10-kmapper>             .. versionchanged:: 0.23
python3.10-kmapper>                Accepts `pd.NA` and converts it into `np.nan`
python3.10-kmapper>     
python3.10-kmapper>         ensure_2d : bool, default=True
python3.10-kmapper>             Whether to raise a value error if array is not 2D.
python3.10-kmapper>     
python3.10-kmapper>         allow_nd : bool, default=False
python3.10-kmapper>             Whether to allow array.ndim > 2.
python3.10-kmapper>     
python3.10-kmapper>         ensure_min_samples : int, default=1
python3.10-kmapper>             Make sure that the array has a minimum number of samples in its first
python3.10-kmapper>             axis (rows for a 2D array). Setting to 0 disables this check.
python3.10-kmapper>     
python3.10-kmapper>         ensure_min_features : int, default=1
python3.10-kmapper>             Make sure that the 2D array has some minimum number of features
python3.10-kmapper>             (columns). The default value of 1 rejects empty datasets.
python3.10-kmapper>             This check is only enforced when the input data has effectively 2
python3.10-kmapper>             dimensions or is originally 1D and ``ensure_2d`` is True. Setting to 0
python3.10-kmapper>             disables this check.
python3.10-kmapper>     
python3.10-kmapper>         estimator : str or estimator instance, default=None
python3.10-kmapper>             If passed, include the name of the estimator in warning messages.
python3.10-kmapper>     
python3.10-kmapper>         input_name : str, default=""
python3.10-kmapper>             The data name used to construct the error message. In particular
python3.10-kmapper>             if `input_name` is "X" and the data has NaN values and
python3.10-kmapper>             allow_nan is False, the error message will link to the imputer
python3.10-kmapper>             documentation.
python3.10-kmapper>     
python3.10-kmapper>             .. versionadded:: 1.1.0
python3.10-kmapper>     
python3.10-kmapper>         Returns
python3.10-kmapper>         -------
python3.10-kmapper>         array_converted : object
python3.10-kmapper>             The converted and validated array.
python3.10-kmapper>         """
python3.10-kmapper>         if isinstance(array, np.matrix):
python3.10-kmapper> >           raise TypeError(
python3.10-kmapper>                 "np.matrix is not supported. Please convert to a numpy array with "
python3.10-kmapper>                 "np.asarray. For more information see: "
python3.10-kmapper>                 "https://numpy.org/doc/stable/reference/generated/numpy.matrix.html"
python3.10-kmapper>             )
python3.10-kmapper> E           TypeError: np.matrix is not supported. Please convert to a numpy array with np.asarray. For more information see: https://numpy.org/doc/stable/reference/generated/numpy.matrix.html
python3.10-kmapper> /nix/store/avaqkdjpx2w50dgyq9769fa3ghvr8cvx-python3.10-scikit-learn-1.2.1/lib/python3.10/site-packages/sklearn/utils/validation.py:737: TypeError
python3.10-kmapper> ___________________________ TestLens.test_map_sparse ___________________________
python3.10-kmapper> self = <test.test_mapper.TestLens object at 0x7ffde841d960>
python3.10-kmapper>     def test_map_sparse(self):
python3.10-kmapper>         mapper = KeplerMapper()
python3.10-kmapper>         data = sparse.random(100, 10, random_state=100101)
python3.10-kmapper> >       lens = mapper.fit_transform(data)
python3.10-kmapper> test/test_mapper.py:432:
python3.10-kmapper> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
python3.10-kmapper> kmapper/kmapper.py:361: in fit_transform
python3.10-kmapper>     lens = self.project(
python3.10-kmapper> kmapper/kmapper.py:284: in project
python3.10-kmapper>     X = scaler.fit_transform(X)
python3.10-kmapper> /nix/store/avaqkdjpx2w50dgyq9769fa3ghvr8cvx-python3.10-scikit-learn-1.2.1/lib/python3.10/site-packages/sklearn/utils/_set_output.py:142: in wrapped
python3.10-kmapper>     data_to_wrap = f(self, X, *args, **kwargs)
python3.10-kmapper> /nix/store/avaqkdjpx2w50dgyq9769fa3ghvr8cvx-python3.10-scikit-learn-1.2.1/lib/python3.10/site-packages/sklearn/base.py:859: in fit_transform
python3.10-kmapper>     return self.fit(X, **fit_params).transform(X)
python3.10-kmapper> /nix/store/avaqkdjpx2w50dgyq9769fa3ghvr8cvx-python3.10-scikit-learn-1.2.1/lib/python3.10/site-packages/sklearn/preprocessing/_data.py:427: in fit
python3.10-kmapper>     return self.partial_fit(X, y)
python3.10-kmapper> /nix/store/avaqkdjpx2w50dgyq9769fa3ghvr8cvx-python3.10-scikit-learn-1.2.1/lib/python3.10/site-packages/sklearn/preprocessing/_data.py:466: in partial_fit
python3.10-kmapper>     X = self._validate_data(
python3.10-kmapper> /nix/store/avaqkdjpx2w50dgyq9769fa3ghvr8cvx-python3.10-scikit-learn-1.2.1/lib/python3.10/site-packages/sklearn/base.py:546: in _validate_data
python3.10-kmapper>     X = check_array(X, input_name="X", **check_params)
python3.10-kmapper> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
python3.10-kmapper> array = matrix([[0.9563001 ],
python3.10-kmapper>         [0.54787935],
python3.10-kmapper>         [0.        ],
python3.10-kmapper>         [0.        ],
python3.10-kmapper>         [0.        ],
python3.10-kmapper>         ...      ],
python3.10-kmapper>         [0.        ],
python3.10-kmapper>         [0.88231185],
python3.10-kmapper>         [0.        ],
python3.10-kmapper>         [0.63616756],
python3.10-kmapper>         [0.2823345 ]])
python3.10-kmapper> accept_sparse = False
python3.10-kmapper>     def check_array(
python3.10-kmapper>         array,
python3.10-kmapper>         accept_sparse=False,
python3.10-kmapper>         *,
python3.10-kmapper>         accept_large_sparse=True,
python3.10-kmapper>         dtype="numeric",
python3.10-kmapper>         order=None,
python3.10-kmapper>         copy=False,
python3.10-kmapper>         force_all_finite=True,
python3.10-kmapper>         ensure_2d=True,
python3.10-kmapper>         allow_nd=False,
python3.10-kmapper>         ensure_min_samples=1,
python3.10-kmapper>         ensure_min_features=1,
python3.10-kmapper>         estimator=None,
python3.10-kmapper>         input_name="",
python3.10-kmapper>     ):
python3.10-kmapper>         """Input validation on an array, list, sparse matrix or similar.
python3.10-kmapper>     
python3.10-kmapper>         By default, the input is checked to be a non-empty 2D array containing
python3.10-kmapper>         only finite values. If the dtype of the array is object, attempt
python3.10-kmapper>         converting to float, raising on failure.
python3.10-kmapper>     
python3.10-kmapper>         Parameters
python3.10-kmapper>         ----------
python3.10-kmapper>         array : object
python3.10-kmapper>             Input object to check / convert.
python3.10-kmapper>     
python3.10-kmapper>         accept_sparse : str, bool or list/tuple of str, default=False
python3.10-kmapper>             String[s] representing allowed sparse matrix formats, such as 'csc',
python3.10-kmapper>             'csr', etc. If the input is sparse but not in the allowed format,
python3.10-kmapper>             it will be converted to the first listed format. True allows the input
python3.10-kmapper>             to be any format. False means that a sparse matrix input will
python3.10-kmapper>             raise an error.
python3.10-kmapper>     
python3.10-kmapper>         accept_large_sparse : bool, default=True
python3.10-kmapper>             If a CSR, CSC, COO or BSR sparse matrix is supplied and accepted by
python3.10-kmapper>             accept_sparse, accept_large_sparse=False will cause it to be accepted
python3.10-kmapper>             only if its indices are stored with a 32-bit dtype.
python3.10-kmapper>     
python3.10-kmapper>             .. versionadded:: 0.20
python3.10-kmapper>     
python3.10-kmapper>         dtype : 'numeric', type, list of type or None, default='numeric'
python3.10-kmapper>             Data type of result. If None, the dtype of the input is preserved.
python3.10-kmapper>             If "numeric", dtype is preserved unless array.dtype is object.
python3.10-kmapper>             If dtype is a list of types, conversion on the first type is only
python3.10-kmapper>             performed if the dtype of the input is not in the list.
python3.10-kmapper>     
python3.10-kmapper>         order : {'F', 'C'} or None, default=None
python3.10-kmapper>             Whether an array will be forced to be fortran or c-style.
python3.10-kmapper>             When order is None (default), then if copy=False, nothing is ensured
python3.10-kmapper>             about the memory layout of the output array; otherwise (copy=True)
python3.10-kmapper>             the memory layout of the returned array is kept as close as possible
python3.10-kmapper>             to the original array.
python3.10-kmapper>     
python3.10-kmapper>         copy : bool, default=False
python3.10-kmapper>             Whether a forced copy will be triggered. If copy=False, a copy might
python3.10-kmapper>             be triggered by a conversion.
python3.10-kmapper>     
python3.10-kmapper>         force_all_finite : bool or 'allow-nan', default=True
python3.10-kmapper>             Whether to raise an error on np.inf, np.nan, pd.NA in array. The
python3.10-kmapper>             possibilities are:
python3.10-kmapper>     
python3.10-kmapper>             - True: Force all values of array to be finite.
python3.10-kmapper>             - False: accepts np.inf, np.nan, pd.NA in array.
python3.10-kmapper>             - 'allow-nan': accepts only np.nan and pd.NA values in array. Values
python3.10-kmapper>               cannot be infinite.
python3.10-kmapper>     
python3.10-kmapper>             .. versionadded:: 0.20
python3.10-kmapper>                ``force_all_finite`` accepts the string ``'allow-nan'``.
python3.10-kmapper>     
python3.10-kmapper>             .. versionchanged:: 0.23
python3.10-kmapper>                Accepts `pd.NA` and converts it into `np.nan`
python3.10-kmapper>     
python3.10-kmapper>         ensure_2d : bool, default=True
python3.10-kmapper>             Whether to raise a value error if array is not 2D.
python3.10-kmapper>     
python3.10-kmapper>         allow_nd : bool, default=False
python3.10-kmapper>             Whether to allow array.ndim > 2.
python3.10-kmapper>     
python3.10-kmapper>         ensure_min_samples : int, default=1
python3.10-kmapper>             Make sure that the array has a minimum number of samples in its first
python3.10-kmapper>             axis (rows for a 2D array). Setting to 0 disables this check.
python3.10-kmapper>     
python3.10-kmapper>         ensure_min_features : int, default=1
python3.10-kmapper>             Make sure that the 2D array has some minimum number of features
python3.10-kmapper>             (columns). The default value of 1 rejects empty datasets.
python3.10-kmapper>             This check is only enforced when the input data has effectively 2
python3.10-kmapper>             dimensions or is originally 1D and ``ensure_2d`` is True. Setting to 0
python3.10-kmapper>             disables this check.
python3.10-kmapper>     
python3.10-kmapper>         estimator : str or estimator instance, default=None
python3.10-kmapper>             If passed, include the name of the estimator in warning messages.
python3.10-kmapper>     
python3.10-kmapper>         input_name : str, default=""
python3.10-kmapper>             The data name used to construct the error message. In particular
python3.10-kmapper>             if `input_name` is "X" and the data has NaN values and
python3.10-kmapper>             allow_nan is False, the error message will link to the imputer
python3.10-kmapper>             documentation.
python3.10-kmapper>     
python3.10-kmapper>             .. versionadded:: 1.1.0
python3.10-kmapper>     
python3.10-kmapper>         Returns
python3.10-kmapper>         -------
python3.10-kmapper>         array_converted : object
python3.10-kmapper>             The converted and validated array.
python3.10-kmapper>         """
python3.10-kmapper>         if isinstance(array, np.matrix):
python3.10-kmapper> >           raise TypeError(
python3.10-kmapper>                 "np.matrix is not supported. Please convert to a numpy array with "
python3.10-kmapper>                 "np.asarray. For more information see: "
python3.10-kmapper>                 "https://numpy.org/doc/stable/reference/generated/numpy.matrix.html"
python3.10-kmapper>             )
python3.10-kmapper> E           TypeError: np.matrix is not supported. Please convert to a numpy array with np.asarray. For more information see: https://numpy.org/doc/stable/reference/generated/numpy.matrix.html
python3.10-kmapper> /nix/store/avaqkdjpx2w50dgyq9769fa3ghvr8cvx-python3.10-scikit-learn-1.2.1/lib/python3.10/site-packages/sklearn/utils/validation.py:737: TypeError
python3.10-kmapper> =============================== warnings summary ===============================
python3.10-kmapper> ../../../nix/store/sbvvsq13chaw7hpqll69wv69jz11rbzg-python3.10-jupyter_client-7.4.8/lib/python3.10/site-packages/jupyter_client/connect.py:27
python3.10-kmapper>   /nix/store/sbvvsq13chaw7hpqll69wv69jz11rbzg-python3.10-jupyter_client-7.4.8/lib/python3.10/site-packages/jupyter_client/connect.py:27: DeprecationWarning: Jupyter is migrating its paths to use standard platformdirs
python3.10-kmapper>   given by the platformdirs library.  To remove this warning and
python3.10-kmapper>   see the appropriate new directories, set the environment variable
python3.10-kmapper>   `JUPYTER_PLATFORM_DIRS=1` and then run `jupyter --paths`.
python3.10-kmapper>   The use of platformdirs will be the default in `jupyter_core` v6
python3.10-kmapper>     from jupyter_core.paths import jupyter_data_dir
python3.10-kmapper> test/test_coverer.py::TestCoverBasic::test_find_1d[Cover]
python3.10-kmapper> test/test_coverer.py::TestCoverBasic::test_find_2d[Cover]
python3.10-kmapper> test/test_coverer.py::TestCoverBounds::test_bounds
python3.10-kmapper>   /tmp/nix-build-python3.10-kmapper-2.0.1.drv-0/source/kmapper/cover.py:111: DeprecationWarning: `np.float` is a deprecated alias for the builtin `float`. To silence this warning, use `float` by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use `np.float64` here.
python3.10-kmapper>   Deprecated in NumPy 1.20; for more details and guidance: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations
python3.10-kmapper>     limits_array[self.limits != np.float("inf")] = 0
python3.10-kmapper> test/test_coverer.py::TestCoverBasic::test_find_1d[Cover]
python3.10-kmapper> test/test_coverer.py::TestCoverBasic::test_find_2d[Cover]
python3.10-kmapper> test/test_coverer.py::TestCoverBounds::test_bounds
python3.10-kmapper>   /tmp/nix-build-python3.10-kmapper-2.0.1.drv-0/source/kmapper/cover.py:112: DeprecationWarning: `np.float` is a deprecated alias for the builtin `float`. To silence this warning, use `float` by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use `np.float64` here.
python3.10-kmapper>   Deprecated in NumPy 1.20; for more details and guidance: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations
python3.10-kmapper>     self.limits[self.limits == np.float("inf")] = 0
python3.10-kmapper> test/test_coverer.py::TestCoverBounds::test_bounds
python3.10-kmapper> test/test_coverer.py::TestCoverBounds::test_bounds
python3.10-kmapper>   /tmp/nix-build-python3.10-kmapper-2.0.1.drv-0/source/test/test_coverer.py:222: DeprecationWarning: `np.float` is a deprecated alias for the builtin `float`. To silence this warning, use `float` by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use `np.float64` here.
python3.10-kmapper>   Deprecated in NumPy 1.20; for more details and guidance: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations
python3.10-kmapper>     limits = np.array([[np.float("inf"), np.float("inf")], [-10, 100]])
python3.10-kmapper> test/test_mapper.py::TestMap::test_remove_duplicates_argument
python3.10-kmapper>   /tmp/nix-build-python3.10-kmapper-2.0.1.drv-0/source/kmapper/cover.py:191: RuntimeWarning: divide by zero encountered in divide
python3.10-kmapper>     radius = ranges / (2 * (n_cubes) * (1 - perc_overlap))
python3.10-kmapper> test/test_plotly.py::test_plotly_graph
python3.10-kmapper>   /tmp/nix-build-python3.10-kmapper-2.0.1.drv-0/source/kmapper/plotlyviz.py:393: DeprecationWarning: `np.int` is a deprecated alias for the builtin `int`. To silence this warning, use `int` by itself. Doing this will not modify any behavior and is safe. When replacing `np.int`, you may wish to use e.g. `np.int64` or `np.int32` to specify the precision. If you wish to review your current use, check the release note link for additional information.
python3.10-kmapper>   Deprecated in NumPy 1.20; for more details and guidance: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations
python3.10-kmapper>     [factor_size * node["size"] for node in kmgraph["nodes"]], dtype=np.int
python3.10-kmapper> test/test_visuals.py::TestVisualHelpers::test_visualize_graph_with_cluster_stats_above_below
python3.10-kmapper> test/test_visuals.py::TestVisualHelpers::test_visualize_graph_with_cluster_stats_above_below
python3.10-kmapper> test/test_visuals.py::TestVisualHelpers::test_cluster_stats_above
python3.10-kmapper> test/test_visuals.py::TestVisualHelpers::test_cluster_stats_below
python3.10-kmapper> test/test_visuals.py::TestVisualHelpers::test_cluster_stats_with_no_names
python3.10-kmapper>   /tmp/nix-build-python3.10-kmapper-2.0.1.drv-0/source/kmapper/visuals.py:413: RuntimeWarning:
python3.10-kmapper>   invalid value encountered in divide
python3.10-kmapper> -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
python3.10-kmapper> =========================== short test summary info ============================
python3.10-kmapper> FAILED test/test_coverer.py::TestCover::test_radius_dist - sklearn.utils._param_validation.InvalidParameterError: The 'feature_range' ...
python3.10-kmapper> FAILED test/test_mapper.py::TestLens::test_sparse_array - TypeError: np.matrix is not supported. Please convert to a numpy array with...
python3.10-kmapper> FAILED test/test_mapper.py::TestLens::test_map_sparse - TypeError: np.matrix is not supported. Please convert to a numpy array with...
python3.10-kmapper> ================== 3 failed, 98 passed, 16 warnings in 13.71s ==================
python3.10-kmapper> /nix/store/b09v23lirgvci3wzszh22mbkdfj0h0yq-stdenv-linux/setup: line 1582: pop_var_context: head of shell_variables not a function context
error: builder for '/nix/store/g56gsx5di6zbpllr1p883k81g4sv70yl-python3.10-kmapper-2.0.1.drv' failed with exit code 1
error: 1 dependencies of derivation '/nix/store/gpm5vzvi8f5rnlwawr785a58l59phzyl-python3.10-scikit-tda-1.0.0.drv' failed to build

@ConnorBaker
Copy link
Contributor Author

python310Packages.tensorflow-datasets fails for the same reason as python310Packages.dm-sonnet. See #215229 (comment).

@ConnorBaker
Copy link
Contributor Author

Result of nixpkgs-review pr 215229 run on x86_64-linux 1

7 packages marked as broken and skipped:
  • cudaPackages.nvidia_driver
  • python310Packages.distrax
  • python310Packages.mask-rcnn
  • python310Packages.optuna
  • python310Packages.rl-coach
  • python310Packages.rlax
  • truecrack-cuda
11 packages failed to build:
  • mathematica-cuda
  • python310Packages.dalle-mini
  • python310Packages.dm-sonnet
  • python310Packages.elegy
  • python310Packages.jaxlibWithCuda
  • python310Packages.scikit-tda
  • python310Packages.tensorflow-datasets
  • python310Packages.tensorflowWithCuda
  • python310Packages.treex
  • python311Packages.jaxlibWithCuda
  • xgboostWithCuda
80 packages built:
  • colmapWithCuda
  • cudaPackages.cuda-samples
  • cudaPackages.cuda_cccl
  • cudaPackages.cuda_cudart
  • cudaPackages.cuda_cuobjdump
  • cudaPackages.cuda_cupti
  • cudaPackages.cuda_cuxxfilt
  • cudaPackages.cuda_demo_suite
  • cudaPackages.cuda_documentation
  • cudaPackages.cuda_gdb
  • cudaPackages.cuda_memcheck
  • cudaPackages.cuda_nsight
  • cudaPackages.cuda_nvcc
  • cudaPackages.cuda_nvdisasm
  • cudaPackages.cuda_nvml_dev
  • cudaPackages.cuda_nvprof
  • cudaPackages.cuda_nvprune
  • cudaPackages.cuda_nvrtc
  • cudaPackages.cuda_nvtx
  • cudaPackages.cuda_nvvp
  • cudaPackages.cuda_profiler_api
  • cudaPackages.cuda_sanitizer_api
  • cudatoolkit (cudaPackages.cudatoolkit ,cudatoolkit_11)
  • cudaPackages.cudnn (cudaPackages.cudnn_8_7_0)
  • cudaPackages.cudnn_8_6_0
  • cudaPackages.cutensor
  • cudaPackages.fabricmanager
  • cudaPackages.libcublas
  • cudaPackages.libcufft
  • cudaPackages.libcufile
  • cudaPackages.libcurand
  • cudaPackages.libcusolver
  • cudaPackages.libcusparse
  • cudaPackages.libnpp
  • cudaPackages.libnvidia_nscq
  • cudaPackages.libnvjpeg
  • cudaPackages.nccl
  • cudaPackages.nsight_compute
  • cudaPackages.nsight_systems
  • cudaPackages.nvidia_fs
  • forge
  • gpt2tc
  • gpu-burn
  • gromacsCudaMpi
  • gwe
  • hip-nvidia
  • katagoWithCuda
  • librealsenseWithCuda
  • libtensorflow
  • magma (magma-cuda)
  • nvtop
  • nvtop-nvidia
  • python310Packages.TheanoWithCuda
  • python310Packages.baselines
  • python310Packages.cupy
  • python310Packages.edward
  • python310Packages.flax
  • python310Packages.gpt-2-simple
  • python310Packages.n3fit
  • python310Packages.numbaWithCuda
  • python310Packages.pot
  • python310Packages.pycuda
  • python310Packages.pymanopt
  • python310Packages.pynvml
  • python310Packages.pyrealsense2WithCuda
  • python310Packages.tensorflow (python310Packages.tensorflow-build ,python310Packages.tensorflowWithoutCuda)
  • python310Packages.tensorflow-probability
  • python310Packages.tflearn
  • python310Packages.torchWithCuda
  • python310Packages.trfl
  • python310Packages.umap-learn
  • python310Packages.vqgan-jax
  • python311Packages.TheanoWithCuda
  • python311Packages.cupy
  • python311Packages.pycuda
  • python311Packages.pynvml
  • python311Packages.pyrealsense2WithCuda
  • tests.pkg-config.defaultPkgConfigPackages.tensorflow
  • tts
  • xpraWithNvenc

@ConnorBaker ConnorBaker changed the title cudaPackages_12: 12.0.0 -> 12.0.1 cudaPackages_12: 12.0.0 -> 12.0.1; cud: init 8.8.0 Feb 18, 2023
@ConnorBaker ConnorBaker changed the title cudaPackages_12: 12.0.0 -> 12.0.1; cud: init 8.8.0 cudaPackages_12: 12.0.0 -> 12.0.1; cudnn: init 8.8.0 Feb 18, 2023
@ConnorBaker
Copy link
Contributor Author

Result of nixpkgs-review pr 215229 run on x86_64-linux 1

7 packages marked as broken and skipped:
  • cudaPackages.nvidia_driver
  • python310Packages.distrax
  • python310Packages.mask-rcnn
  • python310Packages.optuna
  • python310Packages.rl-coach
  • python310Packages.rlax
  • truecrack-cuda
18 packages failed to build:
  • cudaPackages.cudnn
  • katagoWithCuda
  • mathematica-cuda
  • python310Packages.TheanoWithCuda
  • python310Packages.cupy
  • python310Packages.dalle-mini
  • python310Packages.dm-sonnet
  • python310Packages.elegy
  • python310Packages.jaxlibWithCuda
  • python310Packages.scikit-tda
  • python310Packages.tensorflow-datasets
  • python310Packages.tensorflowWithCuda
  • python310Packages.torchWithCuda
  • python310Packages.treex
  • python311Packages.TheanoWithCuda
  • python311Packages.cupy
  • python311Packages.jaxlibWithCuda
  • xgboostWithCuda
73 packages built:
  • colmapWithCuda
  • cudaPackages.cuda-samples
  • cudaPackages.cuda_cccl
  • cudaPackages.cuda_cudart
  • cudaPackages.cuda_cuobjdump
  • cudaPackages.cuda_cupti
  • cudaPackages.cuda_cuxxfilt
  • cudaPackages.cuda_demo_suite
  • cudaPackages.cuda_documentation
  • cudaPackages.cuda_gdb
  • cudaPackages.cuda_memcheck
  • cudaPackages.cuda_nsight
  • cudaPackages.cuda_nvcc
  • cudaPackages.cuda_nvdisasm
  • cudaPackages.cuda_nvml_dev
  • cudaPackages.cuda_nvprof
  • cudaPackages.cuda_nvprune
  • cudaPackages.cuda_nvrtc
  • cudaPackages.cuda_nvtx
  • cudaPackages.cuda_nvvp
  • cudaPackages.cuda_profiler_api
  • cudaPackages.cuda_sanitizer_api
  • cudaPackages.cudatoolkit
  • cudaPackages.cudnn_8_6_0
  • cudaPackages.cudnn_8_7_0
  • cudaPackages.cutensor
  • cudaPackages.fabricmanager
  • cudaPackages.libcublas
  • cudaPackages.libcufft
  • cudaPackages.libcufile
  • cudaPackages.libcurand
  • cudaPackages.libcusolver
  • cudaPackages.libcusparse
  • cudaPackages.libnpp
  • cudaPackages.libnvidia_nscq
  • cudaPackages.libnvjpeg
  • cudaPackages.nccl
  • cudaPackages.nsight_compute
  • cudaPackages.nsight_systems
  • cudaPackages.nvidia_fs
  • forge
  • gpt2tc
  • gpu-burn
  • gromacsCudaMpi
  • gwe
  • hip-nvidia
  • librealsenseWithCuda
  • libtensorflow
  • magma (magma-cuda)
  • nvtop
  • nvtop-nvidia
  • python310Packages.baselines
  • python310Packages.edward
  • python310Packages.flax
  • python310Packages.gpt-2-simple
  • python310Packages.n3fit
  • python310Packages.numbaWithCuda
  • python310Packages.pot
  • python310Packages.pycuda
  • python310Packages.pymanopt
  • python310Packages.pynvml
  • python310Packages.pyrealsense2WithCuda
  • python310Packages.tensorflow (python310Packages.tensorflow-build ,python310Packages.tensorflowWithoutCuda)
  • python310Packages.tensorflow-probability
  • python310Packages.tflearn
  • python310Packages.trfl
  • python310Packages.umap-learn
  • python310Packages.vqgan-jax
  • python311Packages.pycuda
  • python311Packages.pynvml
  • python311Packages.pyrealsense2WithCuda
  • tts
  • xpraWithNvenc

@ConnorBaker
Copy link
Contributor Author

Result of nixpkgs-review pr 215229 run on x86_64-linux 1

7 packages marked as broken and skipped:
  • cudaPackages.nvidia_driver
  • python310Packages.distrax
  • python310Packages.mask-rcnn
  • python310Packages.optuna
  • python310Packages.rl-coach
  • python310Packages.rlax
  • truecrack-cuda
11 packages failed to build:
  • mathematica-cuda
  • python310Packages.dalle-mini
  • python310Packages.dm-sonnet
  • python310Packages.elegy
  • python310Packages.jaxlibWithCuda
  • python310Packages.scikit-tda
  • python310Packages.tensorflow-datasets
  • python310Packages.tensorflowWithCuda
  • python310Packages.treex
  • python311Packages.jaxlibWithCuda
  • xgboostWithCuda
80 packages built:
  • colmapWithCuda
  • cudaPackages.cuda-samples
  • cudaPackages.cuda_cccl
  • cudaPackages.cuda_cudart
  • cudaPackages.cuda_cuobjdump
  • cudaPackages.cuda_cupti
  • cudaPackages.cuda_cuxxfilt
  • cudaPackages.cuda_demo_suite
  • cudaPackages.cuda_documentation
  • cudaPackages.cuda_gdb
  • cudaPackages.cuda_memcheck
  • cudaPackages.cuda_nsight
  • cudaPackages.cuda_nvcc
  • cudaPackages.cuda_nvdisasm
  • cudaPackages.cuda_nvml_dev
  • cudaPackages.cuda_nvprof
  • cudaPackages.cuda_nvprune
  • cudaPackages.cuda_nvrtc
  • cudaPackages.cuda_nvtx
  • cudaPackages.cuda_nvvp
  • cudaPackages.cuda_profiler_api
  • cudaPackages.cuda_sanitizer_api
  • cudaPackages.cudatoolkit
  • cudaPackages.cudnn
  • cudaPackages.cudnn_8_6_0
  • cudaPackages.cudnn_8_7_0
  • cudaPackages.cutensor
  • cudaPackages.fabricmanager
  • cudaPackages.libcublas
  • cudaPackages.libcufft
  • cudaPackages.libcufile
  • cudaPackages.libcurand
  • cudaPackages.libcusolver
  • cudaPackages.libcusparse
  • cudaPackages.libnpp
  • cudaPackages.libnvidia_nscq
  • cudaPackages.libnvjpeg
  • cudaPackages.nccl
  • cudaPackages.nsight_compute
  • cudaPackages.nsight_systems
  • cudaPackages.nvidia_fs
  • forge
  • gpt2tc
  • gpu-burn
  • gromacsCudaMpi
  • gwe
  • hip-nvidia
  • katagoWithCuda
  • librealsenseWithCuda
  • libtensorflow
  • magma (magma-cuda)
  • nvtop
  • nvtop-nvidia
  • python310Packages.TheanoWithCuda
  • python310Packages.baselines
  • python310Packages.cupy
  • python310Packages.edward
  • python310Packages.flax
  • python310Packages.gpt-2-simple
  • python310Packages.n3fit
  • python310Packages.numbaWithCuda
  • python310Packages.pot
  • python310Packages.pycuda
  • python310Packages.pymanopt
  • python310Packages.pynvml
  • python310Packages.pyrealsense2WithCuda
  • python310Packages.tensorflow (python310Packages.tensorflow-build ,python310Packages.tensorflowWithoutCuda)
  • python310Packages.tensorflow-probability
  • python310Packages.tflearn
  • python310Packages.torchWithCuda
  • python310Packages.trfl
  • python310Packages.umap-learn
  • python310Packages.vqgan-jax
  • python311Packages.TheanoWithCuda
  • python311Packages.cupy
  • python311Packages.pycuda
  • python311Packages.pynvml
  • python311Packages.pyrealsense2WithCuda
  • tts
  • xpraWithNvenc

@ConnorBaker
Copy link
Contributor Author

Result of nixpkgs-review pr 215229 run on x86_64-linux 1

7 packages marked as broken and skipped:
  • cudaPackages.nvidia_driver
  • python310Packages.distrax
  • python310Packages.mask-rcnn
  • python310Packages.optuna
  • python310Packages.rl-coach
  • python310Packages.rlax
  • truecrack-cuda
13 packages failed to build:
  • magma-hip
  • mathematica-cuda
  • python310Packages.dalle-mini
  • python310Packages.dm-sonnet
  • python310Packages.elegy
  • python310Packages.jaxlibWithCuda
  • python310Packages.scikit-tda
  • python310Packages.tensorflow-datasets
  • python310Packages.tensorflowWithCuda
  • python310Packages.torchWithRocm
  • python310Packages.treex
  • python311Packages.jaxlibWithCuda
  • xgboostWithCuda
80 packages built:
  • colmapWithCuda
  • cudaPackages.cuda-samples
  • cudaPackages.cuda_cccl
  • cudaPackages.cuda_cudart
  • cudaPackages.cuda_cuobjdump
  • cudaPackages.cuda_cupti
  • cudaPackages.cuda_cuxxfilt
  • cudaPackages.cuda_demo_suite
  • cudaPackages.cuda_documentation
  • cudaPackages.cuda_gdb
  • cudaPackages.cuda_memcheck
  • cudaPackages.cuda_nsight
  • cudaPackages.cuda_nvcc
  • cudaPackages.cuda_nvdisasm
  • cudaPackages.cuda_nvml_dev
  • cudaPackages.cuda_nvprof
  • cudaPackages.cuda_nvprune
  • cudaPackages.cuda_nvrtc
  • cudaPackages.cuda_nvtx
  • cudaPackages.cuda_nvvp
  • cudaPackages.cuda_profiler_api
  • cudaPackages.cuda_sanitizer_api
  • cudaPackages.cudatoolkit
  • cudaPackages.cudnn
  • cudaPackages.cudnn_8_6_0
  • cudaPackages.cudnn_8_7_0
  • cudaPackages.cutensor
  • cudaPackages.fabricmanager
  • cudaPackages.libcublas
  • cudaPackages.libcufft
  • cudaPackages.libcufile
  • cudaPackages.libcurand
  • cudaPackages.libcusolver
  • cudaPackages.libcusparse
  • cudaPackages.libnpp
  • cudaPackages.libnvidia_nscq
  • cudaPackages.libnvjpeg
  • cudaPackages.nccl
  • cudaPackages.nsight_compute
  • cudaPackages.nsight_systems
  • cudaPackages.nvidia_fs
  • forge
  • gpt2tc
  • gpu-burn
  • gromacsCudaMpi
  • gwe
  • hip-nvidia
  • katagoWithCuda
  • librealsenseWithCuda
  • libtensorflow
  • magma (magma-cuda)
  • nvtop
  • nvtop-nvidia
  • python310Packages.TheanoWithCuda
  • python310Packages.baselines
  • python310Packages.cupy
  • python310Packages.edward
  • python310Packages.flax
  • python310Packages.gpt-2-simple
  • python310Packages.n3fit
  • python310Packages.numbaWithCuda
  • python310Packages.pot
  • python310Packages.pycuda
  • python310Packages.pymanopt
  • python310Packages.pynvml
  • python310Packages.pyrealsense2WithCuda
  • python310Packages.tensorflow (python310Packages.tensorflow-build ,python310Packages.tensorflowWithoutCuda)
  • python310Packages.tensorflow-probability
  • python310Packages.tflearn
  • python310Packages.torchWithCuda
  • python310Packages.trfl
  • python310Packages.umap-learn
  • python310Packages.vqgan-jax
  • python311Packages.TheanoWithCuda
  • python311Packages.cupy
  • python311Packages.pycuda
  • python311Packages.pynvml
  • python311Packages.pyrealsense2WithCuda
  • tts
  • xpraWithNvenc

@ConnorBaker ConnorBaker marked this pull request as draft February 18, 2023 22:45
@ConnorBaker ConnorBaker changed the title cudaPackages_12: 12.0.0 -> 12.0.1; cudnn: init 8.8.0 cudaPackages_12: 12.0.0 -> 12.0.1; cudnn: init 8.8.0; magma init 2.7.0 Feb 18, 2023
@ConnorBaker
Copy link
Contributor Author

Result of nixpkgs-review pr 215229 run on x86_64-linux 1

7 packages marked as broken and skipped:
  • cudaPackages.nvidia_driver
  • python310Packages.distrax
  • python310Packages.mask-rcnn
  • python310Packages.optuna
  • python310Packages.rl-coach
  • python310Packages.rlax
  • truecrack-cuda
30 packages failed to build:
  • gpt2tc
  • libtensorflow
  • magma-hip
  • mathematica-cuda
  • python310Packages.baselines
  • python310Packages.dalle-mini
  • python310Packages.dm-sonnet
  • python310Packages.edward
  • python310Packages.elegy
  • python310Packages.flax
  • python310Packages.gpt-2-simple
  • python310Packages.jaxlibWithCuda
  • python310Packages.n3fit
  • python310Packages.pot
  • python310Packages.pymanopt
  • python310Packages.scikit-tda
  • python310Packages.tensorflow (python310Packages.tensorflow-build ,python310Packages.tensorflowWithoutCuda)
  • python310Packages.tensorflow-datasets
  • python310Packages.tensorflow-probability
  • python310Packages.tensorflowWithCuda
  • python310Packages.tflearn
  • python310Packages.torchWithCuda
  • python310Packages.torchWithRocm
  • python310Packages.treex
  • python310Packages.trfl
  • python310Packages.umap-learn
  • python310Packages.vqgan-jax
  • python311Packages.jaxlibWithCuda
  • tts
  • xgboostWithCuda
63 packages built:
  • colmapWithCuda
  • cudaPackages.cuda-samples
  • cudaPackages.cuda_cccl
  • cudaPackages.cuda_cudart
  • cudaPackages.cuda_cuobjdump
  • cudaPackages.cuda_cupti
  • cudaPackages.cuda_cuxxfilt
  • cudaPackages.cuda_demo_suite
  • cudaPackages.cuda_documentation
  • cudaPackages.cuda_gdb
  • cudaPackages.cuda_memcheck
  • cudaPackages.cuda_nsight
  • cudaPackages.cuda_nvcc
  • cudaPackages.cuda_nvdisasm
  • cudaPackages.cuda_nvml_dev
  • cudaPackages.cuda_nvprof
  • cudaPackages.cuda_nvprune
  • cudaPackages.cuda_nvrtc
  • cudaPackages.cuda_nvtx
  • cudaPackages.cuda_nvvp
  • cudaPackages.cuda_profiler_api
  • cudaPackages.cuda_sanitizer_api
  • cudaPackages.cudatoolkit
  • cudaPackages.cudnn
  • cudaPackages.cudnn_8_6_0
  • cudaPackages.cudnn_8_7_0
  • cudaPackages.cutensor
  • cudaPackages.fabricmanager
  • cudaPackages.libcublas
  • cudaPackages.libcufft
  • cudaPackages.libcufile
  • cudaPackages.libcurand
  • cudaPackages.libcusolver
  • cudaPackages.libcusparse
  • cudaPackages.libnpp
  • cudaPackages.libnvidia_nscq
  • cudaPackages.libnvjpeg
  • cudaPackages.nccl
  • cudaPackages.nsight_compute
  • cudaPackages.nsight_systems
  • cudaPackages.nvidia_fs
  • forge
  • gpu-burn
  • gromacsCudaMpi
  • gwe
  • hip-nvidia
  • katagoWithCuda
  • librealsenseWithCuda
  • magma (magma-cuda)
  • nvtop
  • nvtop-nvidia
  • python310Packages.TheanoWithCuda
  • python310Packages.cupy
  • python310Packages.numbaWithCuda
  • python310Packages.pycuda
  • python310Packages.pynvml
  • python310Packages.pyrealsense2WithCuda
  • python311Packages.TheanoWithCuda
  • python311Packages.cupy
  • python311Packages.pycuda
  • python311Packages.pynvml
  • python311Packages.pyrealsense2WithCuda
  • xpraWithNvenc

@samuela
Copy link
Member

samuela commented Feb 21, 2023

Hey @ConnorBaker , just want to say you're doing God's work with this PR! It's no small task getting all this done. I'm excited to get some of this merged!

@ConnorBaker ConnorBaker changed the title cudaPackages_12: 12.0.0 -> 12.0.1; cudnn: init 8.8.0; magma init 2.7.0 cudaPackages_12: 12.0.0 -> 12.0.1 Feb 22, 2023
@ConnorBaker
Copy link
Contributor Author

Phew! This PR is back to just being about the CUDA 12.0.1 version bump. The others and things I learned while doing this are now in separate PRs.

Gotta rerun nixpkgs-review, but hopefully this'll be easier to actually review now.

@ConnorBaker
Copy link
Contributor Author

Result of nixpkgs-review pr 215229 run on x86_64-linux 1

@ConnorBaker ConnorBaker marked this pull request as ready for review February 22, 2023 04:46
@ofborg ofborg bot added 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin 10.rebuild-linux: 0 This PR does not cause any packages to rebuild on Linux and removed 10.rebuild-darwin: 11-100 10.rebuild-linux: 101-500 labels Feb 22, 2023
@samuela
Copy link
Member

samuela commented Feb 22, 2023

Changes LGTM now! there's currently a merge conflict but we can merge once that's resolved. (feel free to ping me once it's ready)

we'll still need to update the cudaPackages alias to point to this, but that belongs in its own PR

@ConnorBaker
Copy link
Contributor Author

@samuela rebased, force-pushed, and ready to go!

@samuela samuela merged commit 53624cc into NixOS:master Feb 22, 2023
@samuela
Copy link
Member

samuela commented Feb 22, 2023

Awesome, thank @ConnorBaker !

@ConnorBaker ConnorBaker deleted the cuda-12.0.1 branch February 22, 2023 20:39
@SomeoneSerge
Copy link
Contributor

Did this include the fix from? #215552

@nixos-discourse
Copy link

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:

https://discourse.nixos.org/t/tweag-nix-dev-update-45/26397/1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
8.has: clean-up 8.has: package (new) This PR adds a new package 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin 10.rebuild-linux: 0 This PR does not cause any packages to rebuild on Linux
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants