diffusers icon indicating copy to clipboard operation
diffusers copied to clipboard

max_shard_size

Open Ranking666 opened this issue 5 months ago • 1 comments

Describe the bug

max_shard_size=1GB is set but the size of each safetensor is still greater than 1GB

Reproduction

pipe.save_pretrained(save_directory='FLUX.1-dev-Control-all', max_shard_size="1GB")

Logs


System Info

diffusers=0.30.2 accelerate=1.7.0 transformers=4.52.4

Who can help?

No response

Ranking666 avatar Jun 03 '25 14:06 Ranking666