Skip to content

Commit

Permalink
sound file for torch light?
Browse files Browse the repository at this point in the history
  • Loading branch information
ArthurZucker committed Apr 29, 2024
1 parent 9b00c92 commit 3d38101
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions docker/torch-light.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,11 @@ RUN apt-get install -y g++ cmake
ENV VIRTUAL_ENV=/usr/local
RUN pip --no-cache-dir install uv
RUN uv venv
RUN uv pip install --no-cache-dir -U pip setuptools accelerate
RUN uv pip install --no-cache-dir -U pip setuptools accelerate soundfile
RUN uv pip install --no-cache-dir "fsspec>=2023.5.0,<2023.10.0"
RUN pip install --no-cache-dir 'torch' 'torchvision' 'torchaudio' --index-url https://download.pytorch.org/whl/cpu
RUN uv pip install --no-cache-dir "transformers[sklearn,sentencepiece,vision,timm,testing]"

# soundfile and librosa are also needed


RUN pip uninstall -y transformers
RUN apt-get clean && rm -rf /var/lib/apt/lists/*
Expand Down

0 comments on commit 3d38101

Please sign in to comment.