Skip to content

max_shard_size #11650

Open
Open
@Ranking666

Description

@Ranking666

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions