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

PyTorch dependency warning when installing #408

Closed
davidkyle opened this issue Oct 29, 2021 · 0 comments
Closed

PyTorch dependency warning when installing #408

davidkyle opened this issue Oct 29, 2021 · 0 comments
Labels
enhancement New feature or request topic:NLP Issue or PR about NLP model support and eland_import_hub_model

Comments

@davidkyle
Copy link
Member

Using the following commands to install eland generates a warning

python -m venv venv
. venv/bin/activate
python -m pip install build wheel
python -m build
python -m pip install dist/eland-7.14.1b1.tar.gz[pytorch]

The final pip install emits this warning:

torchvision 0.11.1 has requirement torch==1.10.0, but you'll have torch 1.9.1 which is incompatible.

There isn't an explicit requirement for torchvision it comes from sentence-transformers 2.0.0. PyTorch 1.10 was recently released.

Although labelled a bug the warning appears harmless for the purpose of the model upload script (eland_import_hub_model).

@joshdevins joshdevins added enhancement New feature or request topic:NLP Issue or PR about NLP model support and eland_import_hub_model labels Oct 29, 2021
@joshdevins joshdevins changed the title PyTorch Dependency warning when installing PyTorch dependency warning when installing Oct 29, 2021
@davidkyle davidkyle closed this as not planned Won't fix, can't repro, duplicate, stale Mar 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request topic:NLP Issue or PR about NLP model support and eland_import_hub_model
Projects
None yet
Development

No branches or pull requests

2 participants