Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade from EOL CUDA version #22

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
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
8 changes: 4 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
ARG WORKER_CUDA_VERSION=12.1.0
FROM runpod/base:0.6.2-cuda${WORKER_CUDA_VERSION}
ARG WORKER_CUDA_VERSION=12.4.1
FROM runpod/pytorch:2.4.0-py3.11-cuda${WORKER_CUDA_VERSION}-devel-ubuntu22.04

#Reinitialize, as its lost after the FROM command
ARG WORKER_CUDA_VERSION=12.1.0
ARG WORKER_CUDA_VERSION=12.4.1

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

RUN pip uninstall torch -y && \
CUDA_VERSION_SHORT=$(echo ${WORKER_CUDA_VERSION} | cut -d. -f1,2 | tr -d .) && \
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
pip install torch==2.5.1 --index-url https://download.pytorch.org/whl/test/cu${CUDA_VERSION_SHORT} --no-cache-dir

ENV HF_HOME=/runpod-volume

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