Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
64 changes: 59 additions & 5 deletions .github/workflows/containers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,15 @@ jobs:
buildfilename: './container/opencv4.containerfile'
version: ${{ needs.set-version.outputs.version }}

call-build-hf:
name: "🤙 Call container workflow with `hf`"
needs: ['set-version', 'call-build-hf5']
uses: ./.github/workflows/container.yml
secrets: inherit
with:
buildfilename: './container/hf.containerfile'
version: ${{ needs.set-version.outputs.version }}

call-build-opencv4-tf2:
name: "🤙 Call container workflow with `opencv4-tf2`"
needs: ['set-version', 'call-build-opencv4']
Expand All @@ -134,29 +143,74 @@ jobs:
buildfilename: './container/opencv4-torch2.containerfile'
version: ${{ needs.set-version.outputs.version }}

call-build-hf:
name: "🤙 Call container workflow with `hf`"
call-build-hf4:
name: "🤙 Call container workflow with `hf4`"
needs: ['set-version', 'call-build-torch2']
uses: ./.github/workflows/container.yml
secrets: inherit
with:
buildfilename: './container/hf.containerfile'
buildfilename: './container/hf4.containerfile'
version: ${{ needs.set-version.outputs.version }}

call-build-hf5:
name: "🤙 Call container workflow with `hf5`"
needs: ['set-version', 'call-build-torch2']
uses: ./.github/workflows/container.yml
secrets: inherit
with:
buildfilename: './container/hf5.containerfile'
version: ${{ needs.set-version.outputs.version }}

call-build-ffmpeg-hf:
name: "🤙 Call container workflow with `ffmpeg-hf`"
needs: ['set-version', 'call-build-ffmpeg-torch2']
needs: ['set-version', 'call-build-ffmpeg-hf5']
uses: ./.github/workflows/container.yml
secrets: inherit
with:
buildfilename: './container/ffmpeg-hf.containerfile'
version: ${{ needs.set-version.outputs.version }}

call-build-ffmpeg-hf4:
name: "🤙 Call container workflow with `ffmpeg-hf4`"
needs: ['set-version', 'call-build-ffmpeg-torch2']
uses: ./.github/workflows/container.yml
secrets: inherit
with:
buildfilename: './container/ffmpeg-hf4.containerfile'
version: ${{ needs.set-version.outputs.version }}

call-build-ffmpeg-hf5:
name: "🤙 Call container workflow with `ffmpeg-hf5`"
needs: ['set-version', 'call-build-ffmpeg-torch2']
uses: ./.github/workflows/container.yml
secrets: inherit
with:
buildfilename: './container/ffmpeg-hf5.containerfile'
version: ${{ needs.set-version.outputs.version }}

call-build-opencv4-hf:
name: "🤙 Call container workflow with `opencv4-hf`"
needs: ['set-version', 'call-build-opencv4-torch2']
needs: ['set-version', 'call-build-opencv4-hf5']
uses: ./.github/workflows/container.yml
secrets: inherit
with:
buildfilename: './container/opencv4-hf.containerfile'
version: ${{ needs.set-version.outputs.version }}

call-build-opencv4-hf4:
name: "🤙 Call container workflow with `opencv4-hf4`"
needs: ['set-version', 'call-build-opencv4-torch2']
uses: ./.github/workflows/container.yml
secrets: inherit
with:
buildfilename: './container/opencv4-hf4.containerfile'
version: ${{ needs.set-version.outputs.version }}

call-build-opencv4-hf5:
name: "🤙 Call container workflow with `opencv4-hf5`"
needs: ['set-version', 'call-build-opencv4-torch2']
uses: ./.github/workflows/container.yml
secrets: inherit
with:
buildfilename: './container/opencv4-hf5.containerfile'
version: ${{ needs.set-version.outputs.version }}
8 changes: 2 additions & 6 deletions container/ffmpeg-hf.containerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
ARG clams_version
FROM ghcr.io/clamsproject/clams-python-ffmpeg-torch2:$clams_version
LABEL org.opencontainers.image.description="clams-python-ffmpeg-hf image is shipped with clams-python, ffmpeg, and vairous huggingface libraries (PyTorch backend)"

RUN pip install --no-cache-dir transformers[torch,tokenizers]==5.*
RUN pip install --no-cache-dir datasets

FROM ghcr.io/clamsproject/clams-python-ffmpeg-hf5:$clams_version
LABEL org.opencontainers.image.description="clams-python-ffmpeg-hf image is an alias for clams-python-ffmpeg-hf5 (latest HuggingFace/transformers)"
6 changes: 6 additions & 0 deletions container/ffmpeg-hf4.containerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
ARG clams_version
FROM ghcr.io/clamsproject/clams-python-ffmpeg-torch2:$clams_version
LABEL org.opencontainers.image.description="clams-python-ffmpeg-hf4 image is shipped with clams-python, ffmpeg, and HuggingFace libraries with transformers 4.x (PyTorch backend)"

RUN pip install --no-cache-dir transformers[torch,tokenizers]==4.*
RUN pip install --no-cache-dir datasets
6 changes: 6 additions & 0 deletions container/ffmpeg-hf5.containerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
ARG clams_version
FROM ghcr.io/clamsproject/clams-python-ffmpeg-torch2:$clams_version
LABEL org.opencontainers.image.description="clams-python-ffmpeg-hf5 image is shipped with clams-python, ffmpeg, and HuggingFace libraries with transformers 5.x (PyTorch backend)"

RUN pip install --no-cache-dir transformers[torch,tokenizers]==5.*
RUN pip install --no-cache-dir datasets
8 changes: 2 additions & 6 deletions container/hf.containerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
ARG clams_version
FROM ghcr.io/clamsproject/clams-python-torch2:$clams_version
LABEL org.opencontainers.image.description="clams-python-hf image is shipped with clams-python and vairous huggingface libraries (PyTorch backend)"

RUN pip install --no-cache-dir transformers[torch,tokenizers]==5.*
RUN pip install --no-cache-dir datasets

FROM ghcr.io/clamsproject/clams-python-hf5:$clams_version
LABEL org.opencontainers.image.description="clams-python-hf image is an alias for clams-python-hf5 (latest HuggingFace/transformers)"
6 changes: 6 additions & 0 deletions container/hf4.containerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
ARG clams_version
FROM ghcr.io/clamsproject/clams-python-torch2:$clams_version
LABEL org.opencontainers.image.description="clams-python-hf4 image is shipped with clams-python and HuggingFace libraries with transformers 4.x (PyTorch backend)"

RUN pip install --no-cache-dir transformers[torch,tokenizers]==4.*
RUN pip install --no-cache-dir datasets
6 changes: 6 additions & 0 deletions container/hf5.containerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
ARG clams_version
FROM ghcr.io/clamsproject/clams-python-torch2:$clams_version
LABEL org.opencontainers.image.description="clams-python-hf5 image is shipped with clams-python and HuggingFace libraries with transformers 5.x (PyTorch backend)"

RUN pip install --no-cache-dir transformers[torch,tokenizers]==5.*
RUN pip install --no-cache-dir datasets
8 changes: 2 additions & 6 deletions container/opencv4-hf.containerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
ARG clams_version
FROM ghcr.io/clamsproject/clams-python-opencv4-torch2:$clams_version
LABEL org.opencontainers.image.description="clams-python-opencv4-hf image is shipped with clams-python, opencv4 (ffmpeg backend), and vairous huggingface libraries (PyTorch backend)"

RUN pip install --no-cache-dir transformers[torch,tokenizers]==5.*
RUN pip install --no-cache-dir datasets

FROM ghcr.io/clamsproject/clams-python-opencv4-hf5:$clams_version
LABEL org.opencontainers.image.description="clams-python-opencv4-hf image is an alias for clams-python-opencv4-hf5 (latest HuggingFace/transformers)"
6 changes: 6 additions & 0 deletions container/opencv4-hf4.containerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
ARG clams_version
FROM ghcr.io/clamsproject/clams-python-opencv4-torch2:$clams_version
LABEL org.opencontainers.image.description="clams-python-opencv4-hf4 image is shipped with clams-python, opencv4 (ffmpeg backend), and HuggingFace libraries with transformers 4.x (PyTorch backend)"

RUN pip install --no-cache-dir transformers[torch,tokenizers]==4.*
RUN pip install --no-cache-dir datasets
6 changes: 6 additions & 0 deletions container/opencv4-hf5.containerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
ARG clams_version
FROM ghcr.io/clamsproject/clams-python-opencv4-torch2:$clams_version
LABEL org.opencontainers.image.description="clams-python-opencv4-hf5 image is shipped with clams-python, opencv4 (ffmpeg backend), and HuggingFace libraries with transformers 5.x (PyTorch backend)"

RUN pip install --no-cache-dir transformers[torch,tokenizers]==5.*
RUN pip install --no-cache-dir datasets
Loading