Comments (5)
Hey @murphyk, can you install the latest stable?
pip install elegy==0.8.6
from elegy.
I get this error
pip install elegy==0.8.6
ERROR: Ignored the following versions that require a different python version: 0.6.0 Requires-Python >=3.6.1,<3.9; 0.7.0 Requires-Python >=3.6.1,<3.9; 0.7.1 Requires-Python >=3.6.1,<3.9; 0.7.2 Requires-Python >=3.6.1,<3.9; 0.7.4 Requires-Python >=3.6.1,<3.9; 0.8.0 Requires-Python >=3.7,<3.10; 0.8.1 Requires-Python >=3.7,<3.10; 0.8.2 Requires-Python >=3.7,<3.10; 0.8.3 Requires-Python >=3.7,<3.10; 0.8.4 Requires-Python >=3.7,<3.10; 0.8.5 Requires-Python >=3.7,<3.10; 0.8.6 Requires-Python >=3.7,<3.10; 0.9.0.dev0 Requires-Python >=3.7,<3.10; 0.9.0.dev1 Requires-Python >=3.7,<3.10; 0.9.0.dev2 Requires-Python >=3.7,<3.10
ERROR: Could not find a version that satisfies the requirement elegy==0.8.6 (from versions: 0.1.0, 0.1.1b0, 0.1.1b1, 0.1.1b2, 0.1.1b3, 0.1.1b4, 0.1.1, 0.1.2, 0.1.3, 0.1.4, 0.1.5, 0.2.0, 0.2.1, 0.2.2, 0.3.0, 0.4.0, 0.4.1, 0.5.0)
ERROR: No matching distribution found for elegy==0.8.6
from elegy.
When I don't pin the version number I get very old versions of everything
pip install elegy
Collecting elegy
Using cached elegy-0.5.0-py3-none-any.whl (206 kB)
Collecting jaxlib<0.2.0,>=0.1.59
Using cached jaxlib-0.1.76-cp310-none-manylinux2010_x86_64.whl (65.2 MB)
Requirement already satisfied: toolz<0.11.0,>=0.10.0 in ./mambaforge/lib/python3.10/site-packages (from elegy) (0.10.0)
Collecting dm-haiku<0.0.3,>=0.0.2
Using cached dm_haiku-0.0.2-py3-none-any.whl (241 kB)
Requirement already satisfied: numpy<2.0.0,>=1.0.0 in ./mambaforge/lib/python3.10/site-packages (from elegy) (1.23.3)
Collecting jax<0.3.0,>=0.2.9
Using cached jax-0.2.28-py3-none-any.whl
Requirement already satisfied: pyyaml<6.0.0,>=5.3.1 in ./mambaforge/lib/python3.10/site-packages (from elegy) (5.4.1)
Collecting optax<0.0.2,>=0.0.1
Using cached optax-0.0.1-py3-none-any.whl (49 kB)
Requirement already satisfied: cloudpickle<2.0.0,>=1.5.0 in ./mambaforge/lib/python3.10/site-packages (from elegy) (1.6.0)
Requirement already satisfied: tabulate<0.9.0,>=0.8.7 in ./mambaforge/lib/python3.10/site-packages (from elegy) (0.8.10)
Requirement already satisfied: tensorboardx<3.0,>=2.1 in ./mambaforge/lib/python3.10/site-packages (from elegy) (2.5.1)
Requirement already satisfied: absl-py>=0.7.1 in ./mambaforge/lib/python3.10/site-packages (from dm-haiku<0.0.3,>=0.0.2->elegy) (1.2.0)
Requirement already satisfied: scipy>=1.2.1 in ./mambaforge/lib/python3.10/site-packages (from jax<0.3.0,>=0.2.9->elegy) (1.9.1)
Requirement already satisfied: opt-einsum in ./mambaforge/lib/python3.10/site-packages (from jax<0.3.0,>=0.2.9->elegy) (3.3.0)
Requirement already satisfied: typing-extensions in ./mambaforge/lib/python3.10/site-packages (from jax<0.3.0,>=0.2.9->elegy) (4.3.0)
Requirement already satisfied: flatbuffers<3.0,>=1.12 in ./mambaforge/lib/python3.10/site-packages (from jaxlib<0.2.0,>=0.1.59->elegy) (2.0.7)
Requirement already satisfied: chex>=0.0.2 in ./mambaforge/lib/python3.10/site-packages (from optax<0.0.2,>=0.0.1->elegy) (0.1.5)
Requirement already satisfied: protobuf<=3.20.1,>=3.8.0 in ./mambaforge/lib/python3.10/site-packages (from tensorboardx<3.0,>=2.1->elegy) (3.19.5)
Requirement already satisfied: dm-tree>=0.1.5 in ./mambaforge/lib/python3.10/site-packages (from chex>=0.0.2->optax<0.0.2,>=0.0.1->elegy) (0.1.7)
Installing collected packages: dm-haiku, jaxlib, jax, optax, elegy
Attempting uninstall: dm-haiku
Found existing installation: dm-haiku 0.0.9.dev0
Uninstalling dm-haiku-0.0.9.dev0:
Successfully uninstalled dm-haiku-0.0.9.dev0
Attempting uninstall: jaxlib
Found existing installation: jaxlib 0.3.20
Uninstalling jaxlib-0.3.20:
Successfully uninstalled jaxlib-0.3.20
Attempting uninstall: jax
Found existing installation: jax 0.3.21
Uninstalling jax-0.3.21:
Successfully uninstalled jax-0.3.21
Attempting uninstall: optax
Found existing installation: optax 0.1.3
Uninstalling optax-0.1.3:
Successfully uninstalled optax-0.1.3
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
flax 0.6.1 requires jax>=0.3.16, but you have jax 0.2.28 which is incompatible.
Successfully installed dm-haiku-0.0.2 elegy-0.5.0 jax-0.2.28 jaxlib-0.1.76 optax-0.0.1
(base) kpmurphy@t1v-n-6c70f275-w-0:~$
from elegy.
Atfer installing this very old version it does not run , presumaly because it relies on an old tpu driver.
(I am running on a TPU VM V3-8)
base) kpmurphy@t1v-n-6c70f275-w-0:~$ python
Python 3.10.6 | packaged by conda-forge | (main, Aug 22 2022, 20:35:26) [GCC 10.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import elegy as eg
2022-10-08 15:39:57.200035: F external/org_tensorflow/tensorflow/core/tpu/tpu_library_init_fns.inc:101] TpuEmbeddingEngine_ConfigureCommunication not available in this library.
Aborted (core dumped)
from elegy.
@murphyk, current version of elegy (see pyproject.toml) requires a python version <3.10. Try something like python 3.9, then you should be able to install elegy 0.8.6
from elegy.
Related Issues (20)
- [Feature Request] Gradient Accumulation HOT 1
- Figure out how to test the Wandb callback on CI
- Pure functions in Elegy ? HOT 5
- RFC: Elegy/Treex Ecosystem Next Versions
- [Bug] Importing elegy results in a deep-lying AttributeError HOT 3
- [Bug] Both API example notebooks have stopped working on Colab HOT 5
- Using Elegy with Equinox? HOT 1
- [Bug] Example is broken on GPU HOT 1
- AttributeError: module 'tensorflow.compiler.tf2xla.python.xla' has no attribute 'optimization_barrier'
- TypeError: dot_general() got an unexpected keyword argument 'use_v2'
- ValueError: The `target` has to be an integer tensor.
- LSTM
- Python 3.10 support
- TypeError: '_DimPolynomial' object cannot be interpreted as an integer
- [Bug] Elegy crash on GPU HOT 2
- Metrics ignore "on" keyword arg
- CSVLogger iteration over a 0-d array
- Documentation/API reference not accessible via project website[Bug]
- [Bug] timeout not passed to data_transfer_fn during dataloading
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from elegy.