25 lines
639 B
Bash
25 lines
639 B
Bash
#!/bin/bash
|
|
JOBS_DIR=$(dirname $(dirname "$0"))
|
|
export PYTHONPATH=./
|
|
|
|
export MODEL_BASE=./weights
|
|
OUTPUT_BASEPATH=./results-poor
|
|
|
|
checkpoint_path=${MODEL_BASE}/ckpts/hunyuan-video-t2v-720p/transformers/mp_rank_00_model_states_fp8.pt
|
|
|
|
export CPU_OFFLOAD=1
|
|
CUDA_VISIBLE_DEVICES=0 python3 hymm_sp/sample_gpu_poor.py \
|
|
--input 'assets/test.csv' \
|
|
--ckpt ${checkpoint_path} \
|
|
--sample-n-frames 129 \
|
|
--seed 128 \
|
|
--image-size 704 \
|
|
--cfg-scale 7.5 \
|
|
--infer-steps 50 \
|
|
--use-deepcache 1 \
|
|
--flow-shift-eval-video 5.0 \
|
|
--save-path ${OUTPUT_BASEPATH} \
|
|
--use-fp8 \
|
|
--cpu-offload \
|
|
--infer-min
|