Skip to content

Conversation

@lstein
Copy link
Collaborator

@lstein lstein commented Jul 29, 2023

What type of PR is this? (check all applicable)

  • [X ] Bug Fix

Have you discussed this change with the InvokeAI team?

  • [ X] Yes
  • No, because:

Have you updated all relevant documentation?

  • Yes
  • [ X] No

Description

This PR fixes several issues with the 3.0.0 conversion script:

  • Handles checkpoint variants that don't put dots between fields in the long state dict key names
  • Handles ema, non-ema, pruned and non-pruned ckpts
  • Does not add safety checker to converted checkpoints
  • Respects precision of original checkpoint file

@lstein lstein merged commit 6dc4dde into main Jul 30, 2023
@lstein lstein deleted the bugfix/convert-script branch July 30, 2023 12:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants