Skip to content

Commit 732ec51

Browse files
authored
feat: upgrade to CUDA 12.4.1 & infinity-embedding 0.0.73
Upgrade from EOL CUDA version
2 parents b17a6a7 + 8f8730d commit 732ec51

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
ARG WORKER_CUDA_VERSION=12.1.0
2-
FROM runpod/base:0.6.2-cuda${WORKER_CUDA_VERSION}
1+
ARG WORKER_CUDA_VERSION=12.4.1
2+
FROM runpod/pytorch:2.4.0-py3.11-cuda${WORKER_CUDA_VERSION}-devel-ubuntu22.04
33

44
#Reinitialize, as its lost after the FROM command
5-
ARG WORKER_CUDA_VERSION=12.1.0
5+
ARG WORKER_CUDA_VERSION=12.4.1
66

77
# Python dependencies
88
COPY builder/requirements.txt /requirements.txt
@@ -12,7 +12,7 @@ RUN python3.11 -m pip install --upgrade pip && \
1212

1313
RUN pip uninstall torch -y && \
1414
CUDA_VERSION_SHORT=$(echo ${WORKER_CUDA_VERSION} | cut -d. -f1,2 | tr -d .) && \
15-
pip install --pre torch==2.4.0.dev20240518+cu${CUDA_VERSION_SHORT} --index-url https://download.pytorch.org/whl/nightly/cu${CUDA_VERSION_SHORT} --no-cache-dir
15+
pip install torch==2.5.1 --index-url https://download.pytorch.org/whl/test/cu${CUDA_VERSION_SHORT} --no-cache-dir
1616

1717
ENV HF_HOME=/runpod-volume
1818

builder/requirements.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
runpod~=1.7.0
2-
infinity-emb[all,onnxruntime-gpu]==0.0.53
2+
infinity-emb[all,onnxruntime-gpu,cache,ct2,logging,optimum,server,tensorrt,torch]==0.0.73
33
einops # deployment of custom code with nomic
4-
git+https://github.com/pytorch-labs/float8_experimental.git@f7a920d2c53db8912f2a0c1d9040dbe71a88906d
4+
git+https://github.com/pytorch-labs/float8_experimental.git

0 commit comments

Comments
 (0)