HunyuanDiT
Diffusers
Safetensors
English
Chinese

Reshaped to (height, width)=(1024, 768),

#15
by david565 - opened

Diffusers (v30.1) is too restrictive about what image resolutions are accepted. I want to make images in 16:9 e.g. 1280x720 and larger images like 1536x1024 or 1920x1024. Also portrait like 1024x1920. For fast generation I would like to use small images like 512x960.

Reshaped to (height, width)=(1024, 768), Supported shapes are [(1024, 1024), (1280, 1280), (1024, 768), (1152, 864), (1280, 960), (768, 1024), (864, 1152), (960, 1280), (1280, 768), (768, 1280)]

There is parameter to pipe(), which can be changed to turn off this auto-reshaping.
use_resolution_binning=False

david565 changed discussion status to closed

Sign up or log in to comment