Skip to content
Open
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
2 changes: 1 addition & 1 deletion clams/develop/templates/app/Containerfile.template
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ FROM ghcr.io/clamsproject/clams-python:$CLAMS_VERSION
# See https://github.com/orgs/clamsproject/packages?tab=packages&q=clams-python for more base images
# IF you want to automatically publish this image to the clamsproject organization,
# 1. you should have generated this template without --no-github-actions flag
# 1. to add arm64 support, change relevant line in .github/workflows/container.yml
# 1. to add arm64 support, set `arm64: true` in .github/workflows/publish.yml
# * NOTE that a lots of software doesn't install/compile or run on arm64 architecture out of the box
# * make sure you locally test the compatibility of all software dependencies before using arm64 support
# 1. use a git tag to trigger the github action. You need to use git tag to properly set app version anyway
Expand Down
7 changes: 7 additions & 0 deletions container/ffmpeg-torch2.containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,10 @@ LABEL org.opencontainers.image.description="clams-python-ffmpeg-torch2 image is

RUN pip install --no-cache-dir torch==2.*

# PyTorch ships Triton, which JIT-compiles a small host-side CUDA driver shim
# at runtime -- that needs a C compiler + libc headers. Keep it minimal
# (gcc + libc6-dev); build-essential is not required.
RUN apt-get update \
&& apt-get install -y --no-install-recommends gcc libc6-dev \
&& rm -rf /var/lib/apt/lists/*

7 changes: 7 additions & 0 deletions container/opencv4-torch2.containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,10 @@ LABEL org.opencontainers.image.description="clams-python-opencv4-torch2 image is

RUN pip install --no-cache-dir torch==2.*

# PyTorch ships Triton, which JIT-compiles a small host-side CUDA driver shim
# at runtime -- that needs a C compiler + libc headers. Keep it minimal
# (gcc + libc6-dev); build-essential is not required.
RUN apt-get update \
&& apt-get install -y --no-install-recommends gcc libc6-dev \
&& rm -rf /var/lib/apt/lists/*

7 changes: 7 additions & 0 deletions container/torch2.containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,10 @@ LABEL org.opencontainers.image.description="clams-python-torch2 image is shipped

RUN pip install --no-cache-dir torch==2.*

# PyTorch ships Triton, which JIT-compiles a small host-side CUDA driver shim
# at runtime -- that needs a C compiler + libc headers. Keep it minimal
# (gcc + libc6-dev); build-essential is not required.
RUN apt-get update \
&& apt-get install -y --no-install-recommends gcc libc6-dev \
&& rm -rf /var/lib/apt/lists/*

Loading