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

Demo (backend): no need to remove ffmpeg from conda env anymore #548

Open
imprs opened this issue Jan 21, 2025 · 0 comments · May be fixed by #549
Open

Demo (backend): no need to remove ffmpeg from conda env anymore #548

imprs opened this issue Jan 21, 2025 · 0 comments · May be fixed by #549

Comments

@imprs
Copy link

imprs commented Jan 21, 2025

In backend.Dockerfile, ffmpeg is being removed from the conda environment, but the current base image (pytorch/pytorch:2.5.1-cuda12.1-cudnn9-runtime) does not have ffmpeg installed in conda.

RUN rm /opt/conda/bin/ffmpeg && ln -s /bin/ffmpeg /opt/conda/bin/ffmpeg

Log:

$ docker run -it pytorch/pytorch:2.5.1-cuda12.1-cudnn9-runtime bash
root@ae3f3e929651:/workspace# /opt/conda/bin/conda list | grep ffmpeg  # <-- does not return anything

Previously, pytorch/pytorch:2.3.1-cuda12.1-cudnn8-runtime was being used (upgraded to 2.5.1 in #486), which had ffmpeg installed:

$ docker run -it pytorch/pytorch:2.3.1-cuda12.1-cudnn8-runtime bash
root@5ca29f95d1a2:/workspace# /opt/conda/bin/conda list | grep ffmpeg
ffmpeg                    4.3                  hf484d3e_0    pytorch

Removing rm /opt/conda/bin/ffmpeg && resolves the issue.

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