OneTrainer icon indicating copy to clipboard operation
OneTrainer copied to clipboard

[Bug]: Mismatch of the file size between the diffusers and onetrainer format for the Pixart-Sigma model

Open frutiemax92 opened this issue 7 months ago • 0 comments

What happened?

I developped a tool to easily merge checkpoints together and I've noticed that OneTrainer is generating checkpoints a little bit bigger than the one generated in the diffusers format.

What did you expect would happen?

After investigation, this key in the OneTrainer checkpoint should not be used : pos_embed. When you remove that key, the save state dictionnary becomes the same size as the diffusers format.

Relevant log output

No response

Output of pip freeze

No response

frutiemax92 avatar Jul 14 '24 15:07 frutiemax92