|
89 | 89 | _dl_success=false |
90 | 90 | for _attempt in 1 2 3; do |
91 | 91 | [[ $_attempt -gt 1 ]] && ai "Retry attempt $_attempt of 3..." |
92 | | - wget -c -q --timeout=300 -O "$GGUF_DIR/$GGUF_FILE.part" "$GGUF_URL" \ |
| 92 | + wget -c -q --timeout=3600 -O "$GGUF_DIR/$GGUF_FILE.part" "$GGUF_URL" \ |
93 | 93 | >> "$INSTALL_DIR/logs/model-download.log" 2>&1 & |
94 | 94 | dl_pid=$! |
95 | 95 |
|
|
184 | 184 | # Diffusion model (~24GB) |
185 | 185 | if [[ ! -f "$FLUX_DIFFUSION_DIR/flux1-schnell.safetensors" ]]; then |
186 | 186 | echo "[FLUX] Downloading flux1-schnell.safetensors (~24GB)..." |
187 | | - wget -c -q --show-progress --timeout=600 -O "$FLUX_DIFFUSION_DIR/flux1-schnell.safetensors.part" \ |
| 187 | + wget -c -q --show-progress --timeout=3600 -O "$FLUX_DIFFUSION_DIR/flux1-schnell.safetensors.part" \ |
188 | 188 | "https://huggingface.co/Comfy-Org/flux1-schnell/resolve/main/flux1-schnell.safetensors" 2>&1 && \ |
189 | 189 | mv "$FLUX_DIFFUSION_DIR/flux1-schnell.safetensors.part" "$FLUX_DIFFUSION_DIR/flux1-schnell.safetensors" && \ |
190 | 190 | echo "[FLUX] flux1-schnell.safetensors complete" || \ |
|
194 | 194 | # CLIP-L text encoder (~246MB) |
195 | 195 | if [[ ! -f "$FLUX_ENCODER_DIR/clip_l.safetensors" ]]; then |
196 | 196 | echo "[FLUX] Downloading clip_l.safetensors (~246MB)..." |
197 | | - wget -c -q --show-progress --timeout=600 -O "$FLUX_ENCODER_DIR/clip_l.safetensors.part" \ |
| 197 | + wget -c -q --show-progress --timeout=3600 -O "$FLUX_ENCODER_DIR/clip_l.safetensors.part" \ |
198 | 198 | "https://huggingface.co/comfyanonymous/flux_text_encoders/resolve/main/clip_l.safetensors" 2>&1 && \ |
199 | 199 | mv "$FLUX_ENCODER_DIR/clip_l.safetensors.part" "$FLUX_ENCODER_DIR/clip_l.safetensors" && \ |
200 | 200 | echo "[FLUX] clip_l.safetensors complete" || \ |
|
204 | 204 | # T5-XXL text encoder (~10GB) |
205 | 205 | if [[ ! -f "$FLUX_ENCODER_DIR/t5xxl_fp16.safetensors" ]]; then |
206 | 206 | echo "[FLUX] Downloading t5xxl_fp16.safetensors (~10GB)..." |
207 | | - wget -c -q --show-progress --timeout=600 -O "$FLUX_ENCODER_DIR/t5xxl_fp16.safetensors.part" \ |
| 207 | + wget -c -q --show-progress --timeout=3600 -O "$FLUX_ENCODER_DIR/t5xxl_fp16.safetensors.part" \ |
208 | 208 | "https://huggingface.co/comfyanonymous/flux_text_encoders/resolve/main/t5xxl_fp16.safetensors" 2>&1 && \ |
209 | 209 | mv "$FLUX_ENCODER_DIR/t5xxl_fp16.safetensors.part" "$FLUX_ENCODER_DIR/t5xxl_fp16.safetensors" && \ |
210 | 210 | echo "[FLUX] t5xxl_fp16.safetensors complete" || \ |
|
214 | 214 | # VAE (~335MB) |
215 | 215 | if [[ ! -f "$FLUX_VAE_DIR/ae.safetensors" ]]; then |
216 | 216 | echo "[FLUX] Downloading ae.safetensors (~335MB)..." |
217 | | - wget -c -q --show-progress --timeout=600 -O "$FLUX_VAE_DIR/ae.safetensors.part" \ |
| 217 | + wget -c -q --show-progress --timeout=3600 -O "$FLUX_VAE_DIR/ae.safetensors.part" \ |
218 | 218 | "https://huggingface.co/Comfy-Org/Lumina_Image_2.0_Repackaged/resolve/main/split_files/vae/ae.safetensors" 2>&1 && \ |
219 | 219 | mv "$FLUX_VAE_DIR/ae.safetensors.part" "$FLUX_VAE_DIR/ae.safetensors" && \ |
220 | 220 | echo "[FLUX] ae.safetensors complete" || \ |
|
0 commit comments