File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -14,8 +14,8 @@ USER root
1414
1515# # keras 3>= doesn't work with transformers as of 3-5-25. Check this when building future stable images.
1616ARG CUDA_VERSION=12.6 CUDNN_VERSION=9.5.1.17 LIBNVINFER=7.2.2 LIBNVINFER_MAJOR_VERSION=7 \
17- TENSORFLOW_VERSION=2.18.0 KERAS_VERSION=3.9.0 TENSORRT_VERSION=10.7.0 TORCH_VERSION=2.6.0 \
18- PROTOBUF_VERSION=3.20.3 TF_KERAS_VERSION=2.18.0
17+ TENSORRT_VERSION=10.7.0 TORCH_VERSION=2.6.0
18+
1919
2020# apt deps
2121RUN apt-get update && \
@@ -54,26 +54,21 @@ RUN pip3 install --no-cache-dir --upgrade uv
5454
5555RUN uv pip install --system \
5656 --extra-index-url https://pypi.nvidia.com \
57- --extra-index-url https://download.pytorch.org/whl/cu126 \
57+ --extra-index-url https://download.pytorch.org/whl/cu128 \
5858 nvidia-cuda-nvcc-cu12 \
5959 nvidia-nccl-cu12 \
6060 cuda-python \
61- protobuf==$PROTOBUF_VERSION \
6261 opencv-contrib-python-headless \
6362 opencv-python \
6463 PyQt5 \
6564 pycocotools \
6665 pillow \
6766 scapy \
68- nvidia-cudnn-cu12==$CUDNN_VERSION \
67+ nvidia-cudnn-cu12 \
6968 torch==$TORCH_VERSION \
7069 torchvision \
7170 torchaudio \
72- tensorflow==$TENSORFLOW_VERSION \
73- tensorflow-datasets \
74- tensorrt==$TENSORRT_VERSION \
75- keras==$KERAS_VERSION \
76- tf-keras==$TF_KERAS_VERSION \
71+ tensorrt \
7772 transformers \
7873 datasets \
7974 accelerate \
You can’t perform that action at this time.
0 commit comments