magatama-runpod-worker (sha256:09e93ddc6ab230c40bfe25bcb2497e106a4832905443f8888e65793b629c9738)

Published 2026-05-09 10:40:22 +00:00 by rene

Installation

docker pull gitea.context-x.org/rene/magatama-runpod-worker@sha256:09e93ddc6ab230c40bfe25bcb2497e106a4832905443f8888e65793b629c9738
sha256:09e93ddc6ab230c40bfe25bcb2497e106a4832905443f8888e65793b629c9738

Image Layers

ARG RELEASE
ARG LAUNCHPAD_BUILD_ARCH
LABEL org.opencontainers.image.ref.name=ubuntu
LABEL org.opencontainers.image.version=22.04
ADD file:63d5ab3ef0aab308c0e71cb67292c5467f60deafa9b0418cbb220affcd078444 in /
CMD ["/bin/bash"]
ENV NVARCH=x86_64
ENV NVIDIA_REQUIRE_CUDA=cuda>=12.1 brand=tesla,driver>=470,driver<471 brand=unknown,driver>=470,driver<471 brand=nvidia,driver>=470,driver<471 brand=nvidiartx,driver>=470,driver<471 brand=geforce,driver>=470,driver<471 brand=geforcertx,driver>=470,driver<471 brand=quadro,driver>=470,driver<471 brand=quadrortx,driver>=470,driver<471 brand=titan,driver>=470,driver<471 brand=titanrtx,driver>=470,driver<471 brand=tesla,driver>=525,driver<526 brand=unknown,driver>=525,driver<526 brand=nvidia,driver>=525,driver<526 brand=nvidiartx,driver>=525,driver<526 brand=geforce,driver>=525,driver<526 brand=geforcertx,driver>=525,driver<526 brand=quadro,driver>=525,driver<526 brand=quadrortx,driver>=525,driver<526 brand=titan,driver>=525,driver<526 brand=titanrtx,driver>=525,driver<526
ENV NV_CUDA_CUDART_VERSION=12.1.105-1
ENV NV_CUDA_COMPAT_PACKAGE=cuda-compat-12-1
ARG TARGETARCH
LABEL maintainer=NVIDIA CORPORATION <cudatools@nvidia.com>
RUN |1 TARGETARCH=amd64 /bin/sh -c apt-get update && apt-get install -y --no-install-recommends gnupg2 curl ca-certificates && curl -fsSLO https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/${NVARCH}/cuda-keyring_1.0-1_all.deb && dpkg -i cuda-keyring_1.0-1_all.deb && apt-get purge --autoremove -y curl && rm -rf /var/lib/apt/lists/* # buildkit
ENV CUDA_VERSION=12.1.1
RUN |1 TARGETARCH=amd64 /bin/sh -c apt-get update && apt-get install -y --no-install-recommends cuda-cudart-12-1=${NV_CUDA_CUDART_VERSION} ${NV_CUDA_COMPAT_PACKAGE} && rm -rf /var/lib/apt/lists/* # buildkit
RUN |1 TARGETARCH=amd64 /bin/sh -c echo "/usr/local/nvidia/lib" >> /etc/ld.so.conf.d/nvidia.conf && echo "/usr/local/nvidia/lib64" >> /etc/ld.so.conf.d/nvidia.conf # buildkit
ENV PATH=/usr/local/nvidia/bin:/usr/local/cuda/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
ENV LD_LIBRARY_PATH=/usr/local/nvidia/lib:/usr/local/nvidia/lib64
COPY NGC-DL-CONTAINER-LICENSE / # buildkit
ENV NVIDIA_VISIBLE_DEVICES=all
ENV NVIDIA_DRIVER_CAPABILITIES=compute,utility
ENV NV_CUDA_LIB_VERSION=12.1.1-1
ENV NV_NVTX_VERSION=12.1.105-1
ENV NV_LIBNPP_VERSION=12.1.0.40-1
ENV NV_LIBNPP_PACKAGE=libnpp-12-1=12.1.0.40-1
ENV NV_LIBCUSPARSE_VERSION=12.1.0.106-1
ENV NV_LIBCUBLAS_PACKAGE_NAME=libcublas-12-1
ENV NV_LIBCUBLAS_VERSION=12.1.3.1-1
ENV NV_LIBCUBLAS_PACKAGE=libcublas-12-1=12.1.3.1-1
ENV NV_LIBNCCL_PACKAGE_NAME=libnccl2
ENV NV_LIBNCCL_PACKAGE_VERSION=2.17.1-1
ENV NCCL_VERSION=2.17.1-1
ENV NV_LIBNCCL_PACKAGE=libnccl2=2.17.1-1+cuda12.1
ARG TARGETARCH
LABEL maintainer=NVIDIA CORPORATION <cudatools@nvidia.com>
RUN |1 TARGETARCH=amd64 /bin/sh -c apt-get update && apt-get install -y --no-install-recommends cuda-libraries-12-1=${NV_CUDA_LIB_VERSION} ${NV_LIBNPP_PACKAGE} cuda-nvtx-12-1=${NV_NVTX_VERSION} libcusparse-12-1=${NV_LIBCUSPARSE_VERSION} ${NV_LIBCUBLAS_PACKAGE} ${NV_LIBNCCL_PACKAGE} && rm -rf /var/lib/apt/lists/* # buildkit
RUN |1 TARGETARCH=amd64 /bin/sh -c apt-mark hold ${NV_LIBCUBLAS_PACKAGE_NAME} ${NV_LIBNCCL_PACKAGE_NAME} # buildkit
COPY entrypoint.d/ /opt/nvidia/entrypoint.d/ # buildkit
COPY nvidia_entrypoint.sh /opt/nvidia/ # buildkit
ENV NVIDIA_PRODUCT_NAME=CUDA
ENTRYPOINT ["/opt/nvidia/nvidia_entrypoint.sh"]
ENV NV_CUDA_LIB_VERSION=12.1.1-1
ENV NV_CUDA_CUDART_DEV_VERSION=12.1.105-1
ENV NV_NVML_DEV_VERSION=12.1.105-1
ENV NV_LIBCUSPARSE_DEV_VERSION=12.1.0.106-1
ENV NV_LIBNPP_DEV_VERSION=12.1.0.40-1
ENV NV_LIBNPP_DEV_PACKAGE=libnpp-dev-12-1=12.1.0.40-1
ENV NV_LIBCUBLAS_DEV_VERSION=12.1.3.1-1
ENV NV_LIBCUBLAS_DEV_PACKAGE_NAME=libcublas-dev-12-1
ENV NV_LIBCUBLAS_DEV_PACKAGE=libcublas-dev-12-1=12.1.3.1-1
ENV NV_CUDA_NSIGHT_COMPUTE_VERSION=12.1.1-1
ENV NV_CUDA_NSIGHT_COMPUTE_DEV_PACKAGE=cuda-nsight-compute-12-1=12.1.1-1
ENV NV_NVPROF_VERSION=12.1.105-1
ENV NV_NVPROF_DEV_PACKAGE=cuda-nvprof-12-1=12.1.105-1
ENV NV_LIBNCCL_DEV_PACKAGE_NAME=libnccl-dev
ENV NV_LIBNCCL_DEV_PACKAGE_VERSION=2.17.1-1
ENV NCCL_VERSION=2.17.1-1
ENV NV_LIBNCCL_DEV_PACKAGE=libnccl-dev=2.17.1-1+cuda12.1
ARG TARGETARCH
LABEL maintainer=NVIDIA CORPORATION <cudatools@nvidia.com>
RUN |1 TARGETARCH=amd64 /bin/sh -c apt-get update && apt-get install -y --no-install-recommends cuda-cudart-dev-12-1=${NV_CUDA_CUDART_DEV_VERSION} cuda-command-line-tools-12-1=${NV_CUDA_LIB_VERSION} cuda-minimal-build-12-1=${NV_CUDA_LIB_VERSION} cuda-libraries-dev-12-1=${NV_CUDA_LIB_VERSION} cuda-nvml-dev-12-1=${NV_NVML_DEV_VERSION} ${NV_NVPROF_DEV_PACKAGE} ${NV_LIBNPP_DEV_PACKAGE} libcusparse-dev-12-1=${NV_LIBCUSPARSE_DEV_VERSION} ${NV_LIBCUBLAS_DEV_PACKAGE} ${NV_LIBNCCL_DEV_PACKAGE} ${NV_CUDA_NSIGHT_COMPUTE_DEV_PACKAGE} && rm -rf /var/lib/apt/lists/* # buildkit
RUN |1 TARGETARCH=amd64 /bin/sh -c apt-mark hold ${NV_LIBCUBLAS_DEV_PACKAGE_NAME} ${NV_LIBNCCL_DEV_PACKAGE_NAME} # buildkit
ENV LIBRARY_PATH=/usr/local/cuda/lib64/stubs
ARG TORCH
ARG PYTHON_VERSION
SHELL [/bin/bash -o pipefail -c]
ENV DEBIAN_FRONTEND=noninteractive
ENV SHELL=/bin/bash
WORKDIR /
RUN |2 TORCH=torch torchvision torchaudio PYTHON_VERSION=3.10 /bin/bash -o pipefail -c mkdir /workspace # buildkit
RUN |2 TORCH=torch torchvision torchaudio PYTHON_VERSION=3.10 /bin/bash -o pipefail -c apt-get update --yes && apt-get upgrade --yes && apt install --yes --no-install-recommends git wget curl bash libgl1 software-properties-common openssh-server nginx && add-apt-repository ppa:deadsnakes/ppa && apt install "python${PYTHON_VERSION}-dev" "python${PYTHON_VERSION}-venv" -y --no-install-recommends && apt-get autoremove -y && apt-get clean && rm -rf /var/lib/apt/lists/* && echo "en_US.UTF-8 UTF-8" > /etc/locale.gen # buildkit
RUN |2 TORCH=torch torchvision torchaudio PYTHON_VERSION=3.10 /bin/bash -o pipefail -c ln -s /usr/bin/python${PYTHON_VERSION} /usr/bin/python && rm /usr/bin/python3 && ln -s /usr/bin/python${PYTHON_VERSION} /usr/bin/python3 && curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py && python get-pip.py # buildkit
RUN |2 TORCH=torch torchvision torchaudio PYTHON_VERSION=3.10 /bin/bash -o pipefail -c pip install --upgrade --no-cache-dir pip # buildkit
RUN |2 TORCH=torch torchvision torchaudio PYTHON_VERSION=3.10 /bin/bash -o pipefail -c pip install --upgrade --no-cache-dir ${TORCH} # buildkit
RUN |2 TORCH=torch torchvision torchaudio PYTHON_VERSION=3.10 /bin/bash -o pipefail -c pip install --upgrade --no-cache-dir jupyterlab ipywidgets jupyter-archive jupyter_contrib_nbextensions # buildkit
RUN |2 TORCH=torch torchvision torchaudio PYTHON_VERSION=3.10 /bin/bash -o pipefail -c pip install notebook==6.5.5 # buildkit
RUN |2 TORCH=torch torchvision torchaudio PYTHON_VERSION=3.10 /bin/bash -o pipefail -c jupyter contrib nbextension install --user && jupyter nbextension enable --py widgetsnbextension # buildkit
RUN |2 TORCH=torch torchvision torchaudio PYTHON_VERSION=3.10 /bin/bash -o pipefail -c rm -f /etc/ssh/ssh_host_* # buildkit
COPY nginx.conf /etc/nginx/nginx.conf # buildkit
COPY readme.html /usr/share/nginx/html/readme.html # buildkit
COPY README.md /usr/share/nginx/html/README.md # buildkit
COPY start.sh / # buildkit
RUN |2 TORCH=torch torchvision torchaudio PYTHON_VERSION=3.10 /bin/bash -o pipefail -c chmod +x /start.sh # buildkit
COPY runpod.txt /etc/runpod.txt # buildkit
RUN |2 TORCH=torch torchvision torchaudio PYTHON_VERSION=3.10 /bin/bash -o pipefail -c echo 'cat /etc/runpod.txt' >> /root/.bashrc # buildkit
RUN |2 TORCH=torch torchvision torchaudio PYTHON_VERSION=3.10 /bin/bash -o pipefail -c echo 'echo -e "\nFor detailed documentation and guides, please visit:\n\033[1;34mhttps://docs.runpod.io/\033[0m and \033[1;34mhttps://blog.runpod.io/\033[0m\n\n"' >> /root/.bashrc # buildkit
CMD ["/start.sh"]
WORKDIR /workspace/magatama-fine-tuner
COPY requirements-runpod.txt ./ # buildkit
RUN /bin/bash -o pipefail -c pip install --no-cache-dir -r requirements-runpod.txt # buildkit
COPY train_cuda.py runpod_handler.py ./ # buildkit
ENV MAGATAMA_TRAIN_BASE=/workspace/magatama-llm
CMD ["python" "-u" "/workspace/magatama-fine-tuner/runpod_handler.py"]

Labels

Key Value
maintainer NVIDIA CORPORATION <cudatools@nvidia.com>
org.opencontainers.image.ref.name ubuntu
org.opencontainers.image.version 22.04
Details
Container
2026-05-09 10:40:22 +00:00
2
OCI / Docker
linux/amd64
9.4 GiB
Versions (15) View all