Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
transformers
Commits
2d83324e
Unverified
Commit
2d83324e
authored
May 15, 2024
by
Yih-Dar
Committed by
GitHub
May 15, 2024
Browse files
Use `torch 2.3` for CI (#30837)
2.3 Co-authored-by:
ydshieh
<
ydshieh@users.noreply.github.com
>
parent
3f435823
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
9 deletions
+9
-9
docker/transformers-all-latest-gpu/Dockerfile
docker/transformers-all-latest-gpu/Dockerfile
+4
-4
docker/transformers-pytorch-gpu/Dockerfile
docker/transformers-pytorch-gpu/Dockerfile
+1
-1
docker/transformers-quantization-latest-gpu/Dockerfile
docker/transformers-quantization-latest-gpu/Dockerfile
+3
-3
docker/transformers-tensorflow-gpu/Dockerfile
docker/transformers-tensorflow-gpu/Dockerfile
+1
-1
No files found.
docker/transformers-all-latest-gpu/Dockerfile
View file @
2d83324e
FROM
nvidia/cuda:1
1.8
.0-cudnn8-devel-ubuntu20.04
FROM
nvidia/cuda:1
2.1
.0-cudnn8-devel-ubuntu20.04
LABEL
maintainer="Hugging Face"
LABEL
maintainer="Hugging Face"
ARG
DEBIAN_FRONTEND=noninteractive
ARG
DEBIAN_FRONTEND=noninteractive
...
@@ -9,11 +9,11 @@ SHELL ["sh", "-lc"]
...
@@ -9,11 +9,11 @@ SHELL ["sh", "-lc"]
# The following `ARG` are mainly used to specify the versions explicitly & directly in this docker file, and not meant
# The following `ARG` are mainly used to specify the versions explicitly & directly in this docker file, and not meant
# to be used as arguments for docker build (so far).
# to be used as arguments for docker build (so far).
ARG
PYTORCH='2.
2.1
'
ARG
PYTORCH='2.
3.0
'
# (not always a valid torch version)
# (not always a valid torch version)
ARG
INTEL_TORCH_EXT='2.
2
.0'
ARG
INTEL_TORCH_EXT='2.
3
.0'
# Example: `cu102`, `cu113`, etc.
# Example: `cu102`, `cu113`, etc.
ARG
CUDA='cu11
8
'
ARG
CUDA='cu1
2
1'
RUN
apt update
RUN
apt update
RUN
apt
install
-y
git libsndfile1-dev tesseract-ocr espeak-ng python3 python3-pip ffmpeg git-lfs
RUN
apt
install
-y
git libsndfile1-dev tesseract-ocr espeak-ng python3 python3-pip ffmpeg git-lfs
...
...
docker/transformers-pytorch-gpu/Dockerfile
View file @
2d83324e
...
@@ -11,7 +11,7 @@ ARG REF=main
...
@@ -11,7 +11,7 @@ ARG REF=main
RUN
git clone https://github.com/huggingface/transformers
&&
cd
transformers
&&
git checkout
$REF
RUN
git clone https://github.com/huggingface/transformers
&&
cd
transformers
&&
git checkout
$REF
# If set to nothing, will install the latest version
# If set to nothing, will install the latest version
ARG
PYTORCH='2.
1.1
'
ARG
PYTORCH='2.
3.0
'
ARG
TORCH_VISION=''
ARG
TORCH_VISION=''
ARG
TORCH_AUDIO=''
ARG
TORCH_AUDIO=''
# Example: `cu102`, `cu113`, etc.
# Example: `cu102`, `cu113`, etc.
...
...
docker/transformers-quantization-latest-gpu/Dockerfile
View file @
2d83324e
FROM
nvidia/cuda:1
1.8
.0-cudnn8-devel-ubuntu20.04
FROM
nvidia/cuda:1
2.1
.0-cudnn8-devel-ubuntu20.04
LABEL
maintainer="Hugging Face"
LABEL
maintainer="Hugging Face"
ARG
DEBIAN_FRONTEND=noninteractive
ARG
DEBIAN_FRONTEND=noninteractive
...
@@ -9,9 +9,9 @@ SHELL ["sh", "-lc"]
...
@@ -9,9 +9,9 @@ SHELL ["sh", "-lc"]
# The following `ARG` are mainly used to specify the versions explicitly & directly in this docker file, and not meant
# The following `ARG` are mainly used to specify the versions explicitly & directly in this docker file, and not meant
# to be used as arguments for docker build (so far).
# to be used as arguments for docker build (so far).
ARG
PYTORCH='2.
2.1
'
ARG
PYTORCH='2.
3.0
'
# Example: `cu102`, `cu113`, etc.
# Example: `cu102`, `cu113`, etc.
ARG
CUDA='cu11
8
'
ARG
CUDA='cu1
2
1'
RUN
apt update
RUN
apt update
RUN
apt
install
-y
git libsndfile1-dev tesseract-ocr espeak-ng python python3-pip ffmpeg
RUN
apt
install
-y
git libsndfile1-dev tesseract-ocr espeak-ng python python3-pip ffmpeg
...
...
docker/transformers-tensorflow-gpu/Dockerfile
View file @
2d83324e
FROM
nvidia/cuda:1
1.8
.0-cudnn8-devel-ubuntu20.04
FROM
nvidia/cuda:1
2.1
.0-cudnn8-devel-ubuntu20.04
LABEL
maintainer="Hugging Face"
LABEL
maintainer="Hugging Face"
ARG
DEBIAN_FRONTEND=noninteractive
ARG
DEBIAN_FRONTEND=noninteractive
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment