Skip to content

Commit

Permalink
Use requirements from the repo and don't override them
Browse files Browse the repository at this point in the history
  • Loading branch information
ashleykleynhans committed Mar 12, 2024
1 parent 0fef82d commit 399d2c6
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 18 deletions.
6 changes: 2 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -76,10 +76,8 @@ WORKDIR /
RUN git clone https://github.com/bmaltais/kohya_ss.git && \
cd /kohya_ss && \
git checkout ${KOHYA_VERSION} && \
git submodule update --init --recursive
WORKDIR /kohya_ss
COPY kohya_ss/requirements* ./
RUN python3 -m venv --system-site-packages venv && \
git submodule update --init --recursive && \
python3 -m venv --system-site-packages venv && \
source venv/bin/activate && \
pip3 install torch==${TORCH_VERSION}+cu${CU_VERSION} torchvision torchaudio --index-url ${INDEX_URL} && \
pip3 install xformers==${XFORMERS_VERSION}+cu${CU_VERSION} --index-url ${INDEX_URL} && \
Expand Down
4 changes: 0 additions & 4 deletions kohya_ss/requirements_linux.txt

This file was deleted.

5 changes: 0 additions & 5 deletions kohya_ss/requirements_linux_docker.txt

This file was deleted.

5 changes: 0 additions & 5 deletions kohya_ss/requirements_runpod.txt

This file was deleted.

0 comments on commit 399d2c6

Please sign in to comment.