Skip to content

Commit

Permalink
[build-ci-image] tiktoken
Browse files Browse the repository at this point in the history
  • Loading branch information
itazap committed Jul 23, 2024
1 parent 2595c02 commit cf5772f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docker/torch-light.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends libsndfile1-de
ENV UV_PYTHON=/usr/local/bin/python
RUN pip --no-cache-dir install uv && uv venv && uv pip install --no-cache-dir -U pip setuptools
RUN pip install --no-cache-dir 'torch' 'torchvision' 'torchaudio' --index-url https://download.pytorch.org/whl/cpu
RUN pip install --no-cache-dir 'tiktoken'
RUN uv pip install --no-deps timm accelerate --extra-index-url https://download.pytorch.org/whl/cpu
RUN uv pip install --no-cache-dir librosa "git+https://github.com/huggingface/transformers.git@${REF}#egg=transformers[sklearn,sentencepiece,vision,testing]"
RUN pip uninstall -y transformers

0 comments on commit cf5772f

Please sign in to comment.