Closed jllllll closed 1 year ago
Does pip install git+https://github.com/huggingface/peft@03eb378eb914fbee709ff7c86ba5b1d033b89524
not install that particular commit (the one currently in the requirements.txt)?
Does
pip install git+https://github.com/huggingface/peft@03eb378eb914fbee709ff7c86ba5b1d033b89524
not install that particular commit (the one currently in the requirements.txt)?
It clones the repo and starts to build the package, but pip sees that the version is the same as the one installed and stops. So it only actually installs when the Peft devs change the package version, which they haven't done in over a month.
I have made a change to make this more future-proof: uninstalling every git+ package in requirements.txt instead of just peft. Let me know if you agree with this change.
I have made a change to make this more future-proof: uninstalling every git+ package in requirements.txt instead of just peft. Let me know if you agree with this change.
Yeah, that should be good. I have noticed in the past some git repos not updating package versions, but didn't realize at the time that it was a problem.
@oobabooga I just noticed that the pip uninstall command does not include -y
resulting in the installer pausing to ask if it should be uninstalled. A minor issue, but it may confuse some people.
Should probably be changed to this:
run_cmd("python -m pip uninstall -y " + package_name, environment=True)
Oops, that's bad. Thanks for letting me know. Fixed here: https://github.com/oobabooga/one-click-installers/commit/a2116e8b2ba661ba0ffc2b917b3c32135c0bfda4
This is causing the installer to not update Peft resulting in various issues. The most recent one being: https://github.com/oobabooga/text-generation-webui/issues/2773