hollowstrawberry / kohya-colab

Accessible Google Colab notebooks for Stable Diffusion Lora training, based on the work of kohya-ss and Linaqruf
GNU General Public License v3.0
561 stars 80 forks source link

Dependency error and error during downloading model #61

Closed 21x2-42 closed 10 months ago

21x2-42 commented 10 months ago

When running the Lora Trainer on Colab, I have encountered the following error:

Unpacking lz4 (1.9.2-2ubuntu0.20.04.1) ... dpkg: dependency problems prevent configuration of libaria2-0:amd64: libaria2-0:amd64 depends on libnettle7; however: Package libnettle7 is not installed.

dpkg: error processing package libaria2-0:amd64 (--install): dependency problems - leaving unconfigured Setting up libc-ares2:amd64 (1.15.0-1ubuntu0.1) ... Setting up libtcmalloc-minimal4 (2.5-2.2ubuntu3) ... dpkg: dependency problems prevent configuration of lz4: lz4 depends on liblz4-1 (= 1.9.2-2ubuntu0.20.04.1); however: Version of liblz4-1:amd64 on system is 1.9.3-2build2.

dpkg: error processing package lz4 (--install): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of aria2: aria2 depends on libaria2-0 (>= 1.35.0); however: Package libaria2-0:amd64 is not configured yet.

dpkg: error processing package aria2 (--install): dependency problems - leaving unconfigured Setting up libgoogle-perftools4 (2.5-2.2ubuntu3) ... Setting up libgoogle-perftools-dev (2.5-2.2ubuntu3) ... dpkg: dependency problems prevent configuration of liblz4-tool: liblz4-tool depends on lz4; however: Package lz4 is not configured yet.

dpkg: error processing package liblz4-tool (--install): dependency problems - leaving unconfigured Setting up google-perftools (2.5-2.2ubuntu3) ... Processing triggers for man-db (2.10.2-1) ... Processing triggers for libc-bin (2.35-0ubuntu3.1) ... /sbin/ldconfig.real: /usr/local/lib/libtbbmalloc.so.2 is not a symbolic link

/sbin/ldconfig.real: /usr/local/lib/libtbbbind.so.3 is not a symbolic link

/sbin/ldconfig.real: /usr/local/lib/libtbb.so.12 is not a symbolic link

/sbin/ldconfig.real: /usr/local/lib/libtbbbind_2_5.so.3 is not a symbolic link

/sbin/ldconfig.real: /usr/local/lib/libtbbbind_2_0.so.3 is not a symbolic link

/sbin/ldconfig.real: /usr/local/lib/libtbbmalloc_proxy.so.2 is not a symbolic link

Errors were encountered while processing: libaria2-0:amd64 lz4 aria2 liblz4-tool

and:

🔄 Downloading model... aria2c: error while loading shared libraries: libnettle.so.7: cannot open shared object file: No such file or directory mv: cannot stat '/content/animefull-final-pruned-fp16.safetensors': No such file or directory Renamed model to /content/animefull-final-pruned-fp16.ckpt

💥 Error: The model you selected is invalid or corrupted, or couldn't be downloaded. You can use a civitai or huggingface link, or any direct download link.

21x2-42 commented 10 months ago

Never mind, I seem to be using an old version of the Lora Trainer. The newest version works fine.