mirror of
https://github.com/huggingface/transformers.git
synced 2025-07-04 05:10:06 +06:00
Add git LFS to AMD docker image (#36016)
Add git lfs to AMD docker image
This commit is contained in:
parent
9985d06add
commit
847854b023
@ -4,10 +4,12 @@ LABEL maintainer="Hugging Face"
|
|||||||
ARG DEBIAN_FRONTEND=noninteractive
|
ARG DEBIAN_FRONTEND=noninteractive
|
||||||
|
|
||||||
RUN apt update && \
|
RUN apt update && \
|
||||||
apt install -y --no-install-recommends git libsndfile1-dev tesseract-ocr espeak-ng python3 python3-dev python3-pip python3-dev ffmpeg && \
|
apt install -y --no-install-recommends git libsndfile1-dev tesseract-ocr espeak-ng python3 python3-dev python3-pip python3-dev ffmpeg git-lfs && \
|
||||||
apt clean && \
|
apt clean && \
|
||||||
rm -rf /var/lib/apt/lists/*
|
rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
|
RUN git lfs install
|
||||||
|
|
||||||
RUN python3 -m pip install --no-cache-dir --upgrade pip numpy
|
RUN python3 -m pip install --no-cache-dir --upgrade pip numpy
|
||||||
|
|
||||||
RUN python3 -m pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/rocm6.2
|
RUN python3 -m pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/rocm6.2
|
||||||
|
Loading…
Reference in New Issue
Block a user