Spaces:
Running
on
A100
Running
on
A100
JOBS_DIR=$(dirname $(dirname "$0")) | |
export PYTHONPATH=${JOBS_DIR}:$PYTHONPATH | |
export MODEL_BASE="weights/stdmodels" | |
checkpoint_path="weights/gamecraft_models/mp_rank_00_model_states_distill.pt" | |
current_time=$(date "+%Y.%m.%d-%H.%M.%S") | |
modelname='Tencent_hunyuanGameCraft_720P' | |
torchrun --nnodes=1 --nproc_per_node=8 --master_port 29605 hymm_sp/sample_batch.py \ | |
--image-path "asset/village.png" \ | |
--prompt "A charming medieval village with cobblestone streets, thatched-roof houses, and vibrant flower gardens under a bright blue sky." \ | |
--add-neg-prompt "overexposed, low quality, deformation, a poor composition, bad hands, bad teeth, bad eyes, bad limbs, distortion, blurring, text, subtitles, static, picture, black border." \ | |
--ckpt ${checkpoint_path} \ | |
--video-size 704 1216 \ | |
--cfg-scale 1.0 \ | |
--image-start \ | |
--action-list w s d a \ | |
--action-speed-list 0.2 0.2 0.2 0.2 \ | |
--seed 250160 \ | |
--infer-steps 8 \ | |
--use-fp8 \ | |
--flow-shift-eval-video 5.0 \ | |
--save-path './results_distill/' | |