mirror of
https://github.com/easydiffusion/easydiffusion.git
synced 2025-06-19 17:39:16 +02:00
Update on_sd_start.sh
Fix for weight load error
This commit is contained in:
parent
da163393ff
commit
2471d9ba21
@ -52,6 +52,10 @@ cd ..
|
||||
# Skip the package download and prompt if INSTALL_ONLY=1 is set
|
||||
if [ "$INSTALL_ONLY" != "1" ]; then
|
||||
# Download the required packages
|
||||
|
||||
# see https://github.com/easydiffusion/easydiffusion/issues/1911
|
||||
export TORCH_FORCE_NO_WEIGHTS_ONLY_LOAD=1
|
||||
|
||||
python scripts/check_modules.py --launch-uvicorn
|
||||
read -p "Press any key to continue"
|
||||
else
|
||||
|
Loading…
x
Reference in New Issue
Block a user