eland
eland copied to clipboard
PyTorch dependency warning when installing
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
).