1. 27 Sep, 2022 1 commit
    • Pedro Cuenca's avatar
      Fix `main`: stable diffusion pipelines cannot be loaded (#655) · 235770dd
      Pedro Cuenca authored
      * Replace deprecation warning f-string with class name.
      
      When `__repr__` is invoked in the instance serialization of
      `config_dict` fails, because it contains `kwargs` of type `<class
      inspect._empty>`.
      
      * Revert "Replace deprecation warning f-string with class name."
      
      This reverts commit 1c4eb8cb104374bd84e43865fc3865862473799c.
      
      * Do not attempt to register `"kwargs"` as an attribute.
      
      Otherwise serialization could fail.
      This may happen for other attributes, so we should create a better
      solution.
      235770dd
  2. 22 Sep, 2022 1 commit
  3. 21 Sep, 2022 2 commits
    • Pedro Cuenca's avatar
      Return Flax scheduler state (#601) · a9fdb3de
      Pedro Cuenca authored
      * Optionally return state in from_config.
      
      Useful for Flax schedulers.
      
      * has_state is now a property, make check more strict.
      
      I don't check the class is `SchedulerMixin` to prevent circular
      dependencies. It should be enough that the class name starts with "Flax"
      the object declares it "has_state" and the "create_state" exists too.
      
      * Use state in pipeline from_pretrained.
      
      * Make style
      a9fdb3de
    • Pedro Cuenca's avatar
      Allow dtype to be specified in Flax pipeline (#600) · fb2fbab1
      Pedro Cuenca authored
      * Fix typo in docstring.
      
      * Allow dtype to be overridden on model load.
      
      This may be a temporary solution until #567 is addressed.
      
      * Create latents in float32
      
      The denoising loop always computes the next step in float32, so this
      would fail when using `bfloat16`.
      fb2fbab1
  4. 19 Sep, 2022 1 commit
  5. 17 Sep, 2022 1 commit
  6. 16 Sep, 2022 1 commit
  7. 14 Sep, 2022 1 commit
  8. 13 Sep, 2022 1 commit
  9. 08 Sep, 2022 1 commit
  10. 01 Sep, 2022 1 commit
  11. 17 Aug, 2022 1 commit
  12. 21 Jul, 2022 1 commit
  13. 20 Jul, 2022 2 commits
  14. 19 Jul, 2022 2 commits
  15. 15 Jul, 2022 1 commit
  16. 14 Jul, 2022 1 commit
  17. 20 Jun, 2022 1 commit
  18. 17 Jun, 2022 3 commits
  19. 15 Jun, 2022 1 commit
  20. 14 Jun, 2022 2 commits
  21. 13 Jun, 2022 1 commit
  22. 12 Jun, 2022 1 commit
  23. 09 Jun, 2022 3 commits
  24. 08 Jun, 2022 1 commit
  25. 07 Jun, 2022 3 commits
  26. 06 Jun, 2022 1 commit
  27. 02 Jun, 2022 1 commit
  28. 01 Jun, 2022 1 commit
  29. 31 May, 2022 1 commit