Commit Graph

11 Commits

Author SHA1 Message Date
Aarni Koskela
b5b5680150 Dead code removal (#48)
* Remove old commented-out attention code

* Mark two functions as likely unused

* Use exists() and default() from sgm.util
2023-07-25 15:24:24 +02:00
Aarni Koskela
6f6d3f8716 Replace most print()s with logging calls (#42) 2023-07-25 15:21:30 +02:00
Jonas Müller
e25e4c0df1 Merge pull request #43 from akx/fix-safetensors-load
Fix loading safetensors with load_model_from_config
2023-07-21 18:00:53 +02:00
Aarni Koskela
e5dc9669ed Set up Python packaging (#17)
* Sort .gitignore; add dist and *.py[cod]

* Use pyproject.toml + Hatch instead of setup.py

Sibling of https://github.com/Stability-AI/stablediffusion/pull/269

* Add packaging documentation
2023-07-18 13:06:05 +02:00
Aarni Koskela
48904a692d Fix loading safetensors with load_model_from_config
Previously, the `sd` from the safetensors if branch was not used at all, and `pl_sd` would have not been assigned.
2023-07-17 09:56:35 +03:00
Tim
89f5413e6d Getting rid of unnecessary error message 2023-07-09 10:40:18 -07:00
Tim
ba3e7fed5a Fixing additional GPU memory on device 0 due to discretization 2023-07-09 10:40:09 -07:00
Tim
2796c81a5f Making spacing function slimmer 2023-06-30 11:17:57 -07:00
Tim
e9869d7822 Changed LegacyDDPMDiscretization for sampling 2023-06-30 11:17:46 -07:00
Tim
a1af4ac4f1 Adapting txt logging for python 3.8 2023-06-25 16:42:45 -07:00
Andreas Blattmann
081e0d4629 soon is now 2023-06-22 09:53:12 -07:00