Commit 1daafcc 1 parent 6a7ca53 commit 1daafcc Copy full SHA for 1daafcc
File tree 2 files changed +5
-2
lines changed
2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -24,10 +24,14 @@ RUN . ./venv/bin/activate && \
24
24
python3 -m pip install --use-pep517 --no-deps -U triton==2.0.0 torch>=2.0.0+cu121 xformers \
25
25
--extra-index-url https://download.pytorch.org/whl/cu121
26
26
27
+ # Fix missing libnvinfer7
28
+ USER root
29
+ RUN ln -s /usr/lib/x86_64-linux-gnu/libnvinfer.so /usr/lib/x86_64-linux-gnu/libnvinfer.so.7 && \
30
+ ln -s /usr/lib/x86_64-linux-gnu/libnvinfer_plugin.so /usr/lib/x86_64-linux-gnu/libnvinfer_plugin.so.7
31
+
27
32
USER appuser
28
33
COPY --chown=appuser . .
29
34
30
- # https://github.com/kohya-ss/sd-scripts/issues/405#issuecomment-1509851709
31
35
RUN sed -i 's/import library.huggingface_util/# import library.huggingface_util/g' train_network.py && \
32
36
sed -i 's/import library.huggingface_util/# import library.huggingface_util/g' library/train_util.py
33
37
Original file line number Diff line number Diff line change @@ -7,7 +7,6 @@ services:
7
7
context : .
8
8
ports :
9
9
- 127.0.0.1:7860:7860
10
- stdin_open : true
11
10
tty : true
12
11
ipc : host
13
12
environment :
You can’t perform that action at this time.
0 commit comments