File size: 1,036 Bytes
abd09b6
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#!/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