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

Should requirements.txt specify version of torch and torchaudio? #940

Open
mashoutsider opened this issue Dec 6, 2024 · 1 comment
Open

Comments

@mashoutsider
Copy link

Should requirements.txt specify version of torch and torchaudio?

When I install whisperx, it installs torch=2.5.x, contrary to version stated in install instructions

@dzianisv
Copy link

dzianisv commented Dec 10, 2024

same issue I started to see recently, before that it worked well
python 3.13.0
latest macos

 while.
Collecting whisperx (from -r requirements.txt (line 2))
  Using cached whisperx-3.1.5-py3-none-any.whl.metadata (13 kB)
  Using cached whisperx-3.1.4-py3-none-any.whl.metadata (13 kB)
  Using cached whisperx-3.1.3-py3-none-any.whl.metadata (13 kB)
  Using cached whisperx-3.1.2-py3-none-any.whl.metadata (13 kB)
  Using cached whisperx-3.1.1-py3-none-any.whl.metadata (563 bytes)
ERROR: Cannot install -r requirements.txt (line 2) because these package versions have conflicting dependencies.

The conflict is caused by:
    whisperx 3.1.6 depends on torch>=2
    whisperx 3.1.5 depends on torch>=2
    whisperx 3.1.4 depends on torch>=2
    whisperx 3.1.3 depends on torch>=2
    whisperx 3.1.2 depends on torch>=2
    whisperx 3.1.1 depends on torch>=2

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

2 participants