mirror of
https://github.com/huggingface/transformers.git
synced 2025-07-14 10:08:29 +06:00
Merge c1b0f9c79d
into cdfe49a4d0
This commit is contained in:
commit
4320ed761c
@ -3,7 +3,6 @@ ENV PYTHONDONTWRITEBYTECODE=1
|
|||||||
USER root
|
USER root
|
||||||
ARG REF=main
|
ARG REF=main
|
||||||
RUN apt-get update && apt-get install -y time git g++ pkg-config make git-lfs
|
RUN apt-get update && apt-get install -y time git g++ pkg-config make git-lfs
|
||||||
ENV UV_PYTHON=/usr/local/bin/python
|
|
||||||
RUN pip install uv && uv venv && uv pip install --no-cache-dir -U pip setuptools GitPython
|
RUN pip install uv && uv venv && uv pip install --no-cache-dir -U pip setuptools GitPython
|
||||||
RUN uv pip install --no-cache-dir --upgrade 'torch' 'torchaudio' 'torchvision' --index-url https://download.pytorch.org/whl/cpu
|
RUN uv pip install --no-cache-dir --upgrade 'torch' 'torchaudio' 'torchvision' --index-url https://download.pytorch.org/whl/cpu
|
||||||
# tensorflow pin matching setup.py
|
# tensorflow pin matching setup.py
|
||||||
|
@ -3,7 +3,6 @@ ENV PYTHONDONTWRITEBYTECODE=1
|
|||||||
ARG REF=main
|
ARG REF=main
|
||||||
USER root
|
USER root
|
||||||
RUN apt-get update && apt-get install -y libsndfile1-dev espeak-ng time git cmake wget xz-utils build-essential g++5 libprotobuf-dev protobuf-compiler
|
RUN apt-get update && apt-get install -y libsndfile1-dev espeak-ng time git cmake wget xz-utils build-essential g++5 libprotobuf-dev protobuf-compiler
|
||||||
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 --no-cache-dir install uv && uv venv && uv pip install --no-cache-dir -U pip setuptools
|
||||||
|
|
||||||
RUN wget https://github.com/ku-nlp/jumanpp/releases/download/v2.0.0-rc3/jumanpp-2.0.0-rc3.tar.xz
|
RUN wget https://github.com/ku-nlp/jumanpp/releases/download/v2.0.0-rc3/jumanpp-2.0.0-rc3.tar.xz
|
||||||
|
@ -4,7 +4,6 @@ ARG REF=main
|
|||||||
USER root
|
USER root
|
||||||
RUN apt-get update && apt-get install -y libsndfile1-dev espeak-ng time git
|
RUN apt-get update && apt-get install -y libsndfile1-dev espeak-ng time git
|
||||||
RUN apt-get install -y g++ cmake
|
RUN apt-get install -y g++ cmake
|
||||||
ENV UV_PYTHON=/usr/local/bin/python
|
|
||||||
RUN pip --no-cache-dir install uv && uv venv
|
RUN pip --no-cache-dir install uv && uv venv
|
||||||
RUN uv pip install --no-cache-dir -U pip setuptools albumentations seqeval
|
RUN uv pip install --no-cache-dir -U pip setuptools albumentations seqeval
|
||||||
RUN uv pip install --upgrade --no-cache-dir "git+https://github.com/huggingface/transformers.git@${REF}#egg=transformers[tf-cpu,sklearn,testing,sentencepiece,tf-speech,vision]"
|
RUN uv pip install --upgrade --no-cache-dir "git+https://github.com/huggingface/transformers.git@${REF}#egg=transformers[tf-cpu,sklearn,testing,sentencepiece,tf-speech,vision]"
|
||||||
|
@ -3,7 +3,6 @@ ENV PYTHONDONTWRITEBYTECODE=1
|
|||||||
ARG REF=main
|
ARG REF=main
|
||||||
USER root
|
USER root
|
||||||
RUN apt-get update && apt-get install -y --no-install-recommends libsndfile1-dev espeak-ng time git g++ cmake pkg-config openssh-client git
|
RUN apt-get update && apt-get install -y --no-install-recommends libsndfile1-dev espeak-ng time git g++ cmake pkg-config openssh-client git
|
||||||
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 --no-cache-dir install uv && uv venv && uv pip install --no-cache-dir -U pip setuptools
|
||||||
RUN uv pip install --no-cache-dir 'torch' 'torchaudio' 'torchvision' --index-url https://download.pytorch.org/whl/cpu
|
RUN uv pip install --no-cache-dir 'torch' 'torchaudio' 'torchvision' --index-url https://download.pytorch.org/whl/cpu
|
||||||
RUN uv pip install --no-deps timm accelerate --extra-index-url https://download.pytorch.org/whl/cpu
|
RUN uv pip install --no-deps timm accelerate --extra-index-url https://download.pytorch.org/whl/cpu
|
||||||
|
@ -3,7 +3,6 @@ ENV PYTHONDONTWRITEBYTECODE=1
|
|||||||
ARG REF=main
|
ARG REF=main
|
||||||
USER root
|
USER root
|
||||||
RUN apt-get update && apt-get install -y libsndfile1-dev espeak-ng time git libgl1-mesa-glx libgl1 g++ tesseract-ocr
|
RUN apt-get update && apt-get install -y libsndfile1-dev espeak-ng time git libgl1-mesa-glx libgl1 g++ tesseract-ocr
|
||||||
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 --no-cache-dir install uv && uv venv && uv pip install --no-cache-dir -U pip setuptools
|
||||||
RUN uv pip install --no-cache-dir 'torch' 'torchaudio' 'torchvision' --index-url https://download.pytorch.org/whl/cpu
|
RUN uv pip install --no-cache-dir 'torch' 'torchaudio' 'torchvision' --index-url https://download.pytorch.org/whl/cpu
|
||||||
RUN uv pip install --no-cache-dir --no-deps timm accelerate
|
RUN uv pip install --no-cache-dir --no-deps timm accelerate
|
||||||
|
@ -3,7 +3,6 @@ ENV PYTHONDONTWRITEBYTECODE=1
|
|||||||
ARG REF=main
|
ARG REF=main
|
||||||
USER root
|
USER root
|
||||||
RUN apt-get update && apt-get install -y libsndfile1-dev espeak-ng time git g++ cmake
|
RUN apt-get update && apt-get install -y libsndfile1-dev espeak-ng time git g++ cmake
|
||||||
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 --no-cache-dir install uv && uv venv && uv pip install --no-cache-dir -U pip setuptools
|
||||||
RUN uv pip install --no-cache-dir "scipy<1.13" "git+https://github.com/huggingface/transformers.git@${REF}#egg=transformers[flax,testing,sentencepiece,flax-speech,vision]"
|
RUN uv pip install --no-cache-dir "scipy<1.13" "git+https://github.com/huggingface/transformers.git@${REF}#egg=transformers[flax,testing,sentencepiece,flax-speech,vision]"
|
||||||
RUN uv pip uninstall transformers
|
RUN uv pip uninstall transformers
|
||||||
|
@ -3,7 +3,6 @@ ENV PYTHONDONTWRITEBYTECODE=1
|
|||||||
ARG REF=main
|
ARG REF=main
|
||||||
USER root
|
USER root
|
||||||
RUN apt-get update && apt-get install -y libsndfile1-dev espeak-ng time git cmake g++
|
RUN apt-get update && apt-get install -y libsndfile1-dev espeak-ng time git cmake g++
|
||||||
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 --no-cache-dir install uv && uv venv && uv pip install --no-cache-dir -U pip setuptools
|
||||||
RUN uv pip install --no-cache-dir "git+https://github.com/huggingface/transformers.git@${REF}#egg=transformers[sklearn,tf-cpu,testing,sentencepiece,tf-speech,vision]"
|
RUN uv pip install --no-cache-dir "git+https://github.com/huggingface/transformers.git@${REF}#egg=transformers[sklearn,tf-cpu,testing,sentencepiece,tf-speech,vision]"
|
||||||
RUN uv pip install --no-cache-dir "protobuf==3.20.3" tensorflow_probability
|
RUN uv pip install --no-cache-dir "protobuf==3.20.3" tensorflow_probability
|
||||||
|
@ -3,7 +3,6 @@ ENV PYTHONDONTWRITEBYTECODE=1
|
|||||||
ARG REF=main
|
ARG REF=main
|
||||||
USER root
|
USER root
|
||||||
RUN apt-get update && apt-get install -y --no-install-recommends libsndfile1-dev espeak-ng time git pkg-config openssh-client git
|
RUN apt-get update && apt-get install -y --no-install-recommends libsndfile1-dev espeak-ng time git pkg-config openssh-client git
|
||||||
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 --no-cache-dir install uv && uv venv && uv pip install --no-cache-dir -U pip setuptools
|
||||||
RUN uv pip install --no-cache-dir 'torch' 'torchaudio' 'torchvision' --index-url https://download.pytorch.org/whl/cpu
|
RUN uv pip install --no-cache-dir 'torch' 'torchaudio' 'torchvision' --index-url https://download.pytorch.org/whl/cpu
|
||||||
RUN uv pip install --no-deps timm accelerate --extra-index-url https://download.pytorch.org/whl/cpu
|
RUN uv pip install --no-deps timm accelerate --extra-index-url https://download.pytorch.org/whl/cpu
|
||||||
|
@ -3,7 +3,6 @@ ENV PYTHONDONTWRITEBYTECODE=1
|
|||||||
ARG REF=main
|
ARG REF=main
|
||||||
USER root
|
USER root
|
||||||
RUN apt-get update && apt-get install -y time git
|
RUN apt-get update && apt-get install -y time git
|
||||||
ENV UV_PYTHON=/usr/local/bin/python
|
|
||||||
RUN pip install uv && uv venv
|
RUN pip install uv && uv venv
|
||||||
RUN uv pip install --no-cache-dir -U pip setuptools GitPython "git+https://github.com/huggingface/transformers.git@${REF}#egg=transformers[ruff]" urllib3
|
RUN uv pip install --no-cache-dir -U pip setuptools GitPython "git+https://github.com/huggingface/transformers.git@${REF}#egg=transformers[ruff]" urllib3
|
||||||
RUN apt-get install -y jq curl && apt-get clean && rm -rf /var/lib/apt/lists/*
|
RUN apt-get install -y jq curl && apt-get clean && rm -rf /var/lib/apt/lists/*
|
||||||
|
@ -4,7 +4,6 @@ ARG REF=main
|
|||||||
USER root
|
USER root
|
||||||
RUN apt-get update && apt-get install -y --no-install-recommends libsndfile1-dev espeak-ng time git g++ pkg-config openssh-client git
|
RUN apt-get update && apt-get install -y --no-install-recommends libsndfile1-dev espeak-ng time git g++ pkg-config openssh-client git
|
||||||
RUN apt-get install -y cmake
|
RUN apt-get install -y cmake
|
||||||
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 --no-cache-dir install uv && uv venv && uv pip install --no-cache-dir -U pip setuptools
|
||||||
RUN uv pip install --upgrade --no-cache-dir "git+https://github.com/huggingface/transformers.git@${REF}#egg=transformers[tf-cpu,sklearn,testing,sentencepiece,tf-speech,vision]"
|
RUN uv pip install --upgrade --no-cache-dir "git+https://github.com/huggingface/transformers.git@${REF}#egg=transformers[tf-cpu,sklearn,testing,sentencepiece,tf-speech,vision]"
|
||||||
RUN uv pip install --no-cache-dir "protobuf==3.20.3"
|
RUN uv pip install --no-cache-dir "protobuf==3.20.3"
|
||||||
|
@ -3,7 +3,6 @@ ENV PYTHONDONTWRITEBYTECODE=1
|
|||||||
ARG REF=main
|
ARG REF=main
|
||||||
USER root
|
USER root
|
||||||
RUN apt-get update && apt-get install -y libsndfile1-dev espeak-ng time git g++ cmake pkg-config openssh-client git
|
RUN apt-get update && apt-get install -y libsndfile1-dev espeak-ng time git g++ cmake pkg-config openssh-client git
|
||||||
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 --no-cache-dir install uv && uv venv && uv pip install --no-cache-dir -U pip setuptools
|
||||||
RUN uv pip install --no-deps accelerate
|
RUN uv pip install --no-deps accelerate
|
||||||
RUN uv pip install --no-cache-dir 'torch' 'torchvision' 'torchaudio' --index-url https://download.pytorch.org/whl/cpu
|
RUN uv pip install --no-cache-dir 'torch' 'torchvision' 'torchaudio' --index-url https://download.pytorch.org/whl/cpu
|
||||||
|
@ -3,7 +3,6 @@ ENV PYTHONDONTWRITEBYTECODE=1
|
|||||||
ARG REF=main
|
ARG REF=main
|
||||||
USER root
|
USER root
|
||||||
RUN apt-get update && apt-get install -y --no-install-recommends libsndfile1-dev espeak-ng time git g++ cmake pkg-config openssh-client git git-lfs
|
RUN apt-get update && apt-get install -y --no-install-recommends libsndfile1-dev espeak-ng time git g++ cmake pkg-config openssh-client git git-lfs
|
||||||
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 --no-cache-dir install uv && uv venv && uv pip install --no-cache-dir -U pip setuptools
|
||||||
RUN uv pip install --no-cache-dir 'torch' 'torchaudio' 'torchvision' --index-url https://download.pytorch.org/whl/cpu
|
RUN uv pip install --no-cache-dir 'torch' 'torchaudio' 'torchvision' --index-url https://download.pytorch.org/whl/cpu
|
||||||
RUN uv pip install --no-deps timm accelerate --extra-index-url https://download.pytorch.org/whl/cpu
|
RUN uv pip install --no-deps timm accelerate --extra-index-url https://download.pytorch.org/whl/cpu
|
||||||
|
@ -4,7 +4,6 @@ ARG REF=main
|
|||||||
RUN echo ${REF}
|
RUN echo ${REF}
|
||||||
USER root
|
USER root
|
||||||
RUN apt-get update && apt-get install -y --no-install-recommends libsndfile1-dev espeak-ng time git g++ cmake pkg-config openssh-client git git-lfs
|
RUN apt-get update && apt-get install -y --no-install-recommends libsndfile1-dev espeak-ng time git g++ cmake pkg-config openssh-client git git-lfs
|
||||||
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 --no-cache-dir install uv && uv venv && uv pip install --no-cache-dir -U pip setuptools
|
||||||
RUN uv pip install --no-cache-dir --no-deps accelerate --extra-index-url https://download.pytorch.org/whl/cpu
|
RUN uv pip install --no-cache-dir --no-deps accelerate --extra-index-url https://download.pytorch.org/whl/cpu
|
||||||
RUN uv pip install --no-cache-dir 'torch' 'torchaudio' 'torchvision' --index-url https://download.pytorch.org/whl/cpu
|
RUN uv pip install --no-cache-dir 'torch' 'torchaudio' 'torchvision' --index-url https://download.pytorch.org/whl/cpu
|
||||||
|
Loading…
Reference in New Issue
Block a user