Skip to content

Title: Dependency conflict between torch and torchaudio versions #15

@AntonBushmelev

Description

@AntonBushmelev

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions