eland icon indicating copy to clipboard operation
eland copied to clipboard

PyTorch dependency warning when installing

Open davidkyle opened this issue 3 years ago • 0 comments

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).

davidkyle avatar Oct 29 '21 10:10 davidkyle