This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # v2: rm + wget (no --continue / no -c) | |
| set -e | |
| T=/runpod-volume/models/diffusion_models/z_image_turbo_nsfw_zit_v72_bf16.safetensors | |
| echo "=== before ===" | |
| ls -lh "$T" 2>/dev/null || echo "(not found)" | |
| echo "" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # ZiT NSFW を完全新規 DL (resume が R2 で壊れるため、不完全ファイル削除して新規 DL) | |
| set -e | |
| TARGET=/runpod-volume/models/diffusion_models/z_image_turbo_nsfw_zit_v72_bf16.safetensors | |
| URL="https://civitai.com/api/download/models/2869694?token=$CIVITAI_API_KEY" | |
| echo "=== ZiT NSFW: 不完全ファイル削除 + 完全新規 DL ===" | |
| echo "TARGET: $TARGET" | |
| echo "Before: $(ls -lh "$TARGET" 2>/dev/null | awk '{print $5}' || echo 'not found')" |