Good work

#1
by rahul7star - opened

Nice , Always good to see wan with Loras

Just tweaked some maths and it will work better also inc the GPU time thats it

MOD_VALUE = 32
DEFAULT_H_SLIDER_VALUE = 640
DEFAULT_W_SLIDER_VALUE = 1024
NEW_FORMULA_MAX_AREA = 640.0 * 1024.0

LORA_MAX_AREA = 640.0 * 1024.0

SLIDER_MIN_H, SLIDER_MAX_H = 128, 1024
SLIDER_MIN_W, SLIDER_MAX_W = 128, 1024
MAX_SEED = np.iinfo(np.int32).max

FIXED_FPS = 24
MIN_FRAMES_MODEL = 8
MAX_FRAMES_MODEL = 81

Thanks, I took my defaults from Wan2GP project. I thought wan 2.1 was setup to generate 16fps?

I was getting a lot of timeouts on the space with the higher resolutions and those loras I believe were 480p trained, though they seem to work with any resolution.

I have a T2V space too with the same loras and they work there as well: https://huggingface.co/spaces/thankfulcarp/Wan_t2v_FusionX_with_Loras

Sign up or log in to comment