MakeAnything / scripts /example_asy_inference.sh
yiren98's picture
Upload 98 files
abd09b6 verified
#!/bin/bash
CKPT_PATH="/tiamat-NAS/songyiren/FYP/liucheng/ComfyUI/models/unet/flux1-dev.safetensors"
CLIP_L_PATH="/tiamat-NAS/songyiren/FYP/liucheng/ComfyUI/models/clip/clip_l.safetensors"
T5XXL_PATH="/tiamat-NAS/songyiren/FYP/liucheng/ComfyUI/models/clip/t5xxl_fp16.safetensors"
AE_PATH="/tiamat-NAS/songyiren/FYP/liucheng/ComfyUI/models/vae/ae.safetensors"
LORA_PATH="/tiamat-NAS/songyiren/FYP/liucheng/sd-scripts/Output/9F_Hydra_S_new/9F_Hydra_S.safetensors"
OUTPUT_DIR="/tiamat-NAS/songyiren/FYP/liucheng/MakeAnything/asy_results/"
RANDOM_SEED=$RANDOM
PROMPT="step-by-step portrait painting process of a tiger" # Replace this with the path to your txt file
python flux_minimal_inference_asylora.py \
--ckpt_path $CKPT_PATH \
--clip_l $CLIP_L_PATH \
--t5xxl $T5XXL_PATH \
--ae $AE_PATH \
--prompt "$PROMPT" \
--width 1056 \
--height 1056 \
--dtype bf16 \
--output_dir $OUTPUT_DIR \
--seed $RANDOM_SEED \
--flux_dtype fp8 \
--offload \
--lora_ups_num 10 \
--lora_up_cur 6 \
--lora_weights $LORA_PATH