transformers-bloom-inference
transformers-bloom-inference copied to clipboard
pip install command does not work as expected
In the readme file, the following command is provided to install required dependencies.
pip install flask flask_api gunicorn pydantic accelerate huggingface_hub>=0.9.0 deepspeed>=0.7.3 deepspeed-mii==0.0.2
But when executing this command in shell, the > symbol will be regarded as redirecting operator, which create two files =0.9.0 and =0.7.3, and ignore part of the version constraint.
Maybe change to this:
pip install -i https://mirrors.tencent.com/pypi/simple/ flask flask_api gunicorn pydantic accelerate "huggingface_hub>=0.9.0" "deepspeed>=0.7.3" deepspeed-mii==0.0.2
its woking on my machine :) But thats weird, this shouldn't be read as a pipe operator. which shell are you using?
Sorry for the late reply. I am using bash on a linux machine. GNU bash, version 4.4.19