Install correct version of Torch
This commit is contained in:
@@ -63,6 +63,12 @@ FROM base as setup
|
|||||||
# Create and use the Python venv
|
# Create and use the Python venv
|
||||||
RUN python3 -m venv /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
|
# Clone the git repo of LLaVA and set version
|
||||||
WORKDIR /
|
WORKDIR /
|
||||||
RUN git clone https://github.com/ashleykleynhans/LLaVA.git
|
RUN git clone https://github.com/ashleykleynhans/LLaVA.git
|
||||||
|
|||||||
Reference in New Issue
Block a user