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

pip install requirements.txt breaks now #136

Open
dwadden opened this issue Mar 27, 2024 · 3 comments · May be fixed by #151
Open

pip install requirements.txt breaks now #136

dwadden opened this issue Mar 27, 2024 · 3 comments · May be fixed by #151

Comments

@dwadden
Copy link
Contributor

dwadden commented Mar 27, 2024

I just had to re-build my conda env for open-instruct, and found that when I ran pip install -r requirements.txt I got the following:

(open-instruct) $ pip install -r requirements.txt
Collecting git+https://github.com/yizhongw/transformers.git@left_padding (from -r requirements.txt (line 19))
...
ERROR: Could not find a version that satisfies the requirement torch<=2.0.1 (from versions: 2.2.0, 2.2.1)
ERROR: No matching distribution found for torch<=2.0.1

Do you know if it's safe to upgrade torch?

@hamishivi
Copy link
Collaborator

It might be safe to upgrade to 2.1. I think 2.2 doesn't work with vLLM yet? Feel free to test this out.

@natolambert
Copy link

I also got this recently. I installed torch manually and then it worked.
Though, bumping is probably good. I can test this.

@dwadden
Copy link
Contributor Author

dwadden commented Apr 30, 2024

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants