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

[BUG]: Dependencies conflict with Docker version #313

Open
RayyanRiaz opened this issue Oct 31, 2024 · 0 comments
Open

[BUG]: Dependencies conflict with Docker version #313

RayyanRiaz opened this issue Oct 31, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@RayyanRiaz
Copy link

Describe the bug

Hi, I tried to run the project via docker as per the instructions in readme. i.e.

git clone https://github.com/open-mmlab/Amphion.git
cd Amphion
docker pull realamphion/amphion
docker run --runtime=nvidia --gpus all -it -v .:/app realamphion/amphion

However it is not successful. I got the error:

ImportError: cannot import name 'Wav2Vec2BertModel' from 'transformers' (/opt/conda/envs/amphion/lib/python3.9/site-packages/transformers/__init__.py)

Probably it is due to dependencies mismatch? For instance, env.sh has transformers==4.41.2 and pip list inside the container with the image shows transformers=4.30.2

@RayyanRiaz RayyanRiaz added the bug Something isn't working label Oct 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant