Skip to content

Commit

Permalink
Bump torch to 2.2.1 and remove xformers
Browse files Browse the repository at this point in the history
  • Loading branch information
ashleykleynhans committed Mar 8, 2024
1 parent c1fe138 commit 00d07b6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
4 changes: 1 addition & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
FROM nvidia/cuda:12.1.1-cudnn8-devel-ubuntu22.04 as base

ARG OOBABOOGA_COMMIT=aa0da07af012e251b4b70a1391b0acd360f796bd
ARG TORCH_VERSION=2.1.2
ARG XFORMERS_VERSION=0.0.23.post1
ARG TORCH_VERSION=2.2.1

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

# Clone the git repo of Text Generation Web UI and set version
Expand Down
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@
* 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.1
* Jupyter Lab
* [runpodctl](https://github.com/runpod/runpodctl)
* [OhMyRunPod](https://github.com/kodxana/OhMyRunPod)
Expand Down

0 comments on commit 00d07b6

Please sign in to comment.