Skip to content

Commit

Permalink
Install correct version of Torch
Browse files Browse the repository at this point in the history
  • Loading branch information
ashleykleynhans committed Oct 20, 2023
1 parent bfc8345 commit 1d71c18
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,12 @@ FROM base as setup
# Create and use the Python venv
RUN python3 -m venv /venv

# Install Torch
RUN source /venv/bin/activate && \
pip3 install --no-cache-dir torch==2.0.1 torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118 && \
pip3 install --no-cache-dir xformers==0.0.22 && \
deactivate

# Clone the git repo of LLaVA and set version
WORKDIR /
RUN git clone https://github.com/ashleykleynhans/LLaVA.git
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* Python 3.10.12
* [LLaVA](
https://github.com/haotian-liu/llava) v1.1.1
* Torch 2.1.0
* Torch 2.0.1
* BakLLaVA-1 model

## Available on RunPod
Expand Down

0 comments on commit 1d71c18

Please sign in to comment.