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

Title: Dependency conflict between torch and torchaudio versions #15

Open
AntonBushmelev opened this issue Jan 21, 2025 · 0 comments
Open

Comments

@AntonBushmelev
Copy link

I am encountering a dependency conflict while trying to install dependencies from requirements.txt.

The issue arises due to the conflicting version requirements between torch and torchaudio:

I requested torch==2.3.0+cu121 in requirements.txt.
However, torchaudio 2.3.1+cu121 depends on torch==2.3.1, which creates a version conflict.
Here’s the error message that I receive:

INFO: pip is looking at multiple versions of torch to determine which version is compatible with other requirements. This could take a while.
ERROR: Cannot install -r requirements.txt (line 23) and torch==2.3.0+cu121 because these package versions have conflicting dependencies.
Steps to reproduce:

Create a virtual environment.
Run pip install -r requirements.txt.
Observe the dependency conflict between torch and torchaudio.
Expected behavior: The installation should complete without version conflicts between torch and torchaudio.

Environment:

torch==2.3.0+cu121
torchaudio==2.3.1+cu121
Could you please resolve this dependency conflict or advise on how to work around it?

Thank you!

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

No branches or pull requests

1 participant