Skip to content
Merged
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
2 changes: 1 addition & 1 deletion dockerfiles/starlette/pytorch/Dockerfile.gpu
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ COPY starlette_requirements.txt /tmp/requirements.txt
RUN pip install --no-cache-dir -r /tmp/requirements.txt && rm /tmp/requirements.txt

# Think about a better solution -> base contaienr has pt 1.13. thats why need below 0.14
RUN pip install --no-cache-dir sentence_transformers torchvision~="0.14.0" diffusers=="0.9.0" accelerate=="0.14.0"
RUN pip install --no-cache-dir sentence_transformers torchvision=="0.14.0" diffusers=="0.9.0" accelerate=="0.14.0" --extra-index-url https://download.pytorch.org/whl/cu116

# Add upgrade due to issue in base container upgrade https://github.com/mamba-org/mamba/issues/2170
RUN pip install transformers==4.25.1 --no-cache-dir --upgrade
Expand Down