zefancainlp's picture
download
raw
1.11 kB
FROM ghcr.io/astral-sh/uv:0.8.22 AS uv
FROM nvidia/cuda:12.8.0-devel-ubuntu24.04
COPY --from=uv /uv /usr/local/bin/uv
ENV DEBIAN_FRONTEND=noninteractive UV_PYTHON_INSTALL_DIR=/opt/python
RUN apt-get update && apt-get install -y --no-install-recommends \
git gcc-13 g++-13 clang-18 ca-certificates libpq5 && rm -rf /var/lib/apt/lists/*
RUN uv python install 3.13.7 && uv venv --python 3.13.7 /opt/venv
ENV PATH=/opt/venv/bin:$PATH
COPY examples/gpu_mode/judge-requirements.txt /opt/judge-requirements.txt
RUN uv pip install --python /opt/venv/bin/python \
torch==2.7.1 torchvision==0.22.1 torchaudio==2.7.1 \
--index-url https://download.pytorch.org/whl/cu128
RUN uv pip install --python /opt/venv/bin/python -r /opt/judge-requirements.txt
COPY vendor/ttt_discover_gpu /official
COPY examples/gpu_mode/judge_worker.py /adapter/judge_worker.py
ENV TTT_TRIMUL_OFFICIAL=/official PYTHONNOUSERSITE=1 PYTHONUNBUFFERED=1 \
TRITON_CACHE_DIR=/workdir/triton-cache TORCH_EXTENSIONS_DIR=/workdir/torch-extensions \
HOME=/workdir
WORKDIR /workdir
ENTRYPOINT ["python3", "/adapter/judge_worker.py"]

Xet Storage Details

Size:
1.11 kB
·
Xet hash:
a9ac419a727df02b15ca445aa57994b71e7007dc603dd35597ba1309f1e71216

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.