-
Notifications
You must be signed in to change notification settings - Fork 554
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
Requirements version error #3
Comments
Switching the tensorflow version to 2.12.1 (not that I know whether that still works yet) creates another version conflict:
|
Bumping tensorflow to 2.14.1 allows for successful environment setup. Downloading LWM-Chat-32K-Jax and attempting to run
This is with Some fiddling around reveals that |
Using Python 3.10 instead of Python 3.11, I'm able to install the requirements as stated in the repo (i.e. tensorflow 2.11.0). However, I still run into the
error when trying to run run_vision_chat.sh |
Taking the naive approach of going into each
This one does have some hits on Google, such as this and this. Looks to be versioning issues, though there appears to be differences in suggested fixes. Have you verified that LWM works outside a TPU environment? Can you share an example environment and params for |
do you use pyenv or conda? I switched to python 3.10, still got error : Could not find a version that satisfies the requirement tensorflow==2.11.0 (from versions: 2.13.0rc0, 2.13.0rc1, 2.13.0rc2, 2.13.0, 2.13.1, 2.14.0rc0, 2.14.0rc1, 2.14.0, 2.14.1, 2.15.0rc0, 2.15.0rc1, 2.15.0) |
Same issue with Python 3.10.13. Seems to work with Python 3.10.12 on Colab |
Am using Python 3.10.6, neither pyenv nor conda, just installing everything in a venv. I presume tensorflow is just specifying a range of compatible python versions for each previous library version. Using tensorflow 2.14.1 doesn't seem to have affected the flax/jax errors I encountered down the line, though who knows if it would cause other problems eventually. |
Updating flax, jax, chex and tux to the latest versions worked for me.
When updating jax make sure to install the GPU compatible version if you're using GPU
|
This worked for me! Now run_vision_chat.sh runs, though it appears to be hanging after something completes? I get
With ~18846MB of VRAM allocated on each of my 4 old GPUs on the server (P40s) but no activity. |
I think I ran into a similar hanging issue before on GPU, due to something in the |
The stalling seems to be due to a weird bug with importing I also added more detailed installation instructions which worked for me to the README (also shown below):
|
Trying to install on an Ubuntu 22.04 system with pip 24.0 and python 3.11.
pip install -r requirements.txt
yields the error:Could not find a version that satisfies the requirement tensorflow==2.11.0
. Min version number that shows up for me is 2.12.0rc0.The text was updated successfully, but these errors were encountered: