Skip to content

Commit 5bdf67f

Browse files
committed
added base images with transformer version 4
1 parent a030f16 commit 5bdf67f

8 files changed

Lines changed: 20 additions & 5 deletions
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
ARG clams_version
22
FROM ghcr.io/clamsproject/clams-python-ffmpeg:$clams_version
3-
LABEL org.opencontainers.image.description="clams-python-ffmpeg-torch image is shipped with clams-python, ffmpeg and PyTorch2"
3+
LABEL org.opencontainers.image.description="clams-python-ffmpeg-torch2 image is shipped with clams-python, ffmpeg and PyTorch2"
44

55
RUN pip install --no-cache-dir torch==2.*
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
ARG clams_version
2+
FROM ghcr.io/clamsproject/clams-python-ffmpeg:$clams_version
3+
LABEL org.opencontainers.image.description="clams-python-ffmpeg-transformers4 image is shipped with clams-python, ffmpeg and HF's transformers4"
4+
5+
RUN pip install --no-cache-dir transformers==4.*
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
ARG clams_version
22
FROM ghcr.io/clamsproject/clams-python-opencv4:$clams_version
3-
LABEL org.opencontainers.image.description="clams-python-opencv4-torch image is shipped with clams-python, ffmpeg, opencv4, and PyTorch2"
3+
LABEL org.opencontainers.image.description="clams-python-opencv4-torch2 image is shipped with clams-python, ffmpeg, opencv4, and PyTorch2"
44

55
RUN pip install --no-cache-dir torch==2.*
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
ARG clams_version
2+
FROM ghcr.io/clamsproject/clams-python-opencv4:$clams_version
3+
LABEL org.opencontainers.image.description="clams-python-opencv4-transformers4 image is shipped with clams-python, ffmpeg, opencv4, and HF's transformers4"
4+
5+
RUN pip install --no-cache-dir transformers==4.*

container/opencv4.containerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
ARG clams_version
22
FROM ghcr.io/clamsproject/clams-python-ffmpeg:$clams_version
3-
LABEL org.opencontainers.image.description="clams-python-opencv image is shipped with clams-python, ffmpeg, and opencv4 with their python bindings"
3+
LABEL org.opencontainers.image.description="clams-python-opencv4 image is shipped with clams-python, ffmpeg, and opencv4 with their python bindings"
44

55
ARG OPENCV_VERSION=4.10.0
66
ARG OPENCV_PATH=/opt/opencv-${OPENCV_VERSION}

container/torch.containerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
ARG clams_version
22
FROM ghcr.io/clamsproject/clams-python:$clams_version
3-
LABEL org.opencontainers.image.description="clams-python-ffmpeg image is shipped with clams-python and PyTorch"
3+
LABEL org.opencontainers.image.description="clams-python-torch image is shipped with clams-python and PyTorch"
44

55
RUN pip install --no-cache-dir torch==1.*

container/torch2.containerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
ARG clams_version
22
FROM ghcr.io/clamsproject/clams-python:$clams_version
3-
LABEL org.opencontainers.image.description="clams-python-ffmpeg image is shipped with clams-python and PyTorch2"
3+
LABEL org.opencontainers.image.description="clams-python-torch2 image is shipped with clams-python and PyTorch2"
44

55
RUN pip install --no-cache-dir torch==2.*
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
ARG clams_version
2+
FROM ghcr.io/clamsproject/clams-python:$clams_version
3+
LABEL org.opencontainers.image.description="clams-python-transformers4 image is shipped with clams-python and HF's transformers4"
4+
5+
RUN pip install --no-cache-dir transformers==4.*

0 commit comments

Comments
 (0)