Skip to content

Commit

Permalink
Bump Torch to 2.2.0 and xformers to 0.0.24
Browse files Browse the repository at this point in the history
  • Loading branch information
ashleykleynhans committed Feb 5, 2024
1 parent ac13792 commit 04d70f6
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
FROM nvidia/cuda:12.1.1-cudnn8-devel-ubuntu22.04 as base

ARG OOBABOOGA_COMMIT=4f3fdf1b5ff6884b9899a3630b3ed9aae27decbf
ARG TORCH_VERSION=2.1.2
ARG TORCH_VERSION=2.2.0

SHELL ["/bin/bash", "-o", "pipefail", "-c"]
ENV DEBIAN_FRONTEND=noninteractive \
Expand Down Expand Up @@ -65,7 +65,7 @@ FROM base as setup
# Install Torch
RUN python3 -m venv /venv && \
source /venv/bin/activate && \
pip3 install --no-cache-dir torch==2.1.2 --index-url https://download.pytorch.org/whl/cu121 && \
pip3 install --no-cache-dir torch==${TORCH_VERSION} --index-url https://download.pytorch.org/whl/cu121 && \
pip3 install --no-cache-dir xformers && \
deactivate

Expand All @@ -89,7 +89,7 @@ RUN source /venv/bin/activate && \

# Fix broken safetensors
RUN source /venv/bin/activate && \
pip3 install safetensors==0.4.1 -U
pip3 install -U safetensors==0.4.1

# Install rclone
RUN curl https://rclone.org/install.sh | bash
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
* Python 3.10.12
* [Text Generation Web UI](
https://github.com/oobabooga/text-generation-webui)
* Torch 2.1.2
* xformers 0.0.23.post1
* Torch 2.2.0
* xformers 0.0.24
* [runpodctl](https://github.com/runpod/runpodctl)
* [croc](https://github.com/schollz/croc)
* [rclone](https://rclone.org/)
Expand Down
4 changes: 2 additions & 2 deletions nginx/template-readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
* [Text Generation Web UI](
https://github.com/oobabooga/text-generation-webui)
* Text Generation API
* Torch 2.1.2
* xformers 0.0.23.post1
* Torch 2.2.0
* xformers 0.0.24
* [runpodctl](https://github.com/runpod/runpodctl)
* [croc](https://github.com/schollz/croc)
* [rclone](https://rclone.org/)
Expand Down

0 comments on commit 04d70f6

Please sign in to comment.