Commit Graph

67 Commits

Author SHA1 Message Date
Chun-Han Yao
ce1576bfca update sv4d readme and scripts 2024-08-01 19:39:54 +00:00
Chun-Han Yao
1cd0cbaff4 update sv4d sampling script and readme 2024-07-31 18:42:28 +00:00
Vikram Voleti
863665548f Merge pull request #386 from Stability-AI/vikram/sv4d
Fix to SV3D link
2024-07-24 11:04:54 -04:00
Vikram Voleti
e3e4b9d263 Fix to SV3D link 2024-07-24 15:03:05 +00:00
Vikram Voleti
1aa06e5995 Merge pull request #385 from Stability-AI/vikram/sv4d
Fixes links
2024-07-24 11:00:06 -04:00
Vikram Voleti
998cb122d3 Fixes links 2024-07-24 14:58:32 +00:00
Vikram Voleti
31fe459a85 Merge pull request #384 from Stability-AI/vikram/sv4d
Adds SV4D code
2024-07-24 10:44:37 -04:00
Vikram Voleti
abe9ed3d40 Adds SV4D code 2024-07-23 20:17:16 +00:00
Vikram Voleti
fbdc58cab9 Fixes typos (#308)
Co-authored-by: Vikram Voleti <vikram@ip-26-0-153-234.us-west-2.compute.internal>
2024-03-18 14:07:11 -07:00
Vikram Voleti
bdbae9948f Fixes azimuth, adds simple instruction (#307)
* Fixes azimuth, adds simple instruction

* Adds assertts

---------

Co-authored-by: Vikram Voleti <vikram@ip-26-0-153-234.us-west-2.compute.internal>
2024-03-18 14:00:38 -07:00
Vikram Voleti
2a532db0e8 Fix HEAD (#306)
Co-authored-by: Vikram Voleti <vikram@ip-26-0-153-234.us-west-2.compute.internal>
2024-03-18 11:38:10 -07:00
Vikram Voleti
fba930d400 SV3D update README (#305)
* Makes init changes for SV3D

* Small fixes : cond_aug

* Fixes SV3D checkpoint, fixes rembg

* Black formatting

* Adds streamlit demo, fixes simple sample script

* Removes SV3D video_decoder, keeps SV3D image_decoder

* Updates README

* Minor updates

* Remove GSO script

* Updates REAME, fixes names

---------

Co-authored-by: Vikram Voleti <vikram@ip-26-0-153-234.us-west-2.compute.internal>
2024-03-18 11:26:52 -07:00
Vikram Voleti
b4b7b644a1 SV3D inference code (#300)
* Makes init changes for SV3D

* Small fixes : cond_aug

* Fixes SV3D checkpoint, fixes rembg

* Black formatting

* Adds streamlit demo, fixes simple sample script

* Removes SV3D video_decoder, keeps SV3D image_decoder

* Updates README

* Minor updates

* Remove GSO script

---------

Co-authored-by: Vikram Voleti <vikram@ip-26-0-153-234.us-west-2.compute.internal>
2024-03-18 10:33:02 -07:00
Tim Dockhorn
c51e4e30c2 Black and isort 2024-02-29 12:35:51 -08:00
Yuvraj Sharma
1e30a2df80 Adding a gradio demo of SVD to be run locally (#144)
* Adding a gradio demo of SVD to be run locally

* Update gradio_app.py

* Create svd_xt_1_1.yaml

* Update pt2.txt

---------

Co-authored-by: Sumith Kulal <sumith1896@gmail.com>
2024-02-21 09:34:47 -08:00
Dominik Lorenz
9d759324e9 SD-Turbo (#214) 2023-11-30 23:51:22 +01:00
Tim Dockhorn
a3803c007b Fix instruction 2023-11-30 08:13:33 -08:00
Andreas Blattmann
e6f0e36f5e SDXL-Turbo 2023-11-28 20:33:27 +01:00
Tim Dockhorn
ed0997173f Removing PyTorch 1 2023-11-22 10:21:18 -08:00
Tim Dockhorn
f3458e2a9e Merge branch 'main' of https://github.com/Stability-AI/generative-models 2023-11-22 10:19:25 -08:00
Tim Dockhorn
a8b4e89ca1 Removing deprecated scale_schedule_config 2023-11-22 10:19:15 -08:00
Andreas Blattmann
4757f16482 update SVD license 2023-11-22 13:15:23 +01:00
Tim Dockhorn
059d8e9cd9 Stable Video Diffusion 2023-11-21 10:40:21 -08:00
Vitaly Bondar
477d8b9a77 fix EDMDiscretization sigma_min for correct sampling noise scheduling (#114) 2023-08-17 08:48:30 -07:00
Stephan Auerhahn
45c443b316 Fix license-files setting for project (#71) 0.1.0 2023-07-26 20:14:23 +02:00
Jonas Müller
dea60596fc Model hashes (#70)
* Added model hashes

* Fix link
2023-07-26 20:03:48 +02:00
Stephan Auerhahn
299abbcd90 Use final v1 filename (#67) 2023-07-26 19:53:19 +02:00
Jonas Müller
e5d714d304 Improved sampling (#69)
* New research features

* Add new model specs
---------

Co-authored-by: Dominik Lorenz <53151171+qp-qp@users.noreply.github.com>

* remove sd1.5 and change default refiner to 1.0

* remove asking second time for output

* adapt model names

* adjusted strength

* Correctly pass prompt

---------

Co-authored-by: Dominik Lorenz <53151171+qp-qp@users.noreply.github.com>
2023-07-26 19:49:23 +02:00
Robin Rombach
f2fa96b7e5 README updates for SDXL 1.0 release (#68)
* remove sdxl report from github repo, point to arxiv instead

* update licenses and add teaser img

* update readme for SDXL 1.0 release
2023-07-26 19:24:52 +02:00
Aarni Koskela
c60c091f4d Move CODEOWNERS so it has an effect (#66)
* Move CODEOWNERS so it has an effect

* CI: use vars.SGM_CHECKPOINTS_PATH
2023-07-26 08:52:59 -07:00
Stephan Auerhahn
931d7a389a Add inference helpers & tests (#57)
* Add inference helpers & tests

* Support testing with hatch

* fixes to hatch script

* add inference test action

* change workflow trigger

* widen trigger to test

* revert changes to workflow triggers

* Install local python in action

* Trigger on push again

* fix python version

* add CODEOWNERS and change triggers

* Report tests results

* update action versions

* format

* Fix typo and add refiner helper

* use a shared path loaded from a secret for checkpoints source

* typo fix

* Use device from input and remove duplicated code

* PR feedback

* fix call to load_model_from_config

* Move model to gpu

* Refactor helpers

* cleanup

* test refiner, prep for 1.0, align with metadata

* fix paths on second load

* deduplicate streamlit code

* filenames

* fixes

* add pydantic to requirements

* fix usage of `msg` in demo script

* remove double text

* run black

* fix streamlit sampling when returning latents

* extract function for streamlit output

* another fix for streamlit outputs

* fix img2img in streamlit

* Make fp16 optional and fix device param

* PR feedback

* fix dict cast for dataclass

* run black, update ci script

* cache pip dependencies on hosted runners, remove extra runs

* install package in ci env

* fix cache path

* PR cleanup

* one more cleanup

* don't cache, it filled up
2023-07-26 04:37:24 -07:00
Benjamin Aubin
e596332148 Pre release changes for production (#59)
* clean requirements

* rm taming deps

* isort, black

* mv lipips, license

* clean vq, fix path

* fix loss path, gitignore

* tested requirements pt13

* fix numpy req for python3.8, add tests

* fix name

* fix dep scipy 3.8 pt2

* add black test formatter
2023-07-26 12:09:28 +02:00
Jonas Müller
4a3f0f546e Revert "Replace most print()s with logging calls (#42)" (#65)
This reverts commit 6f6d3f8716.
2023-07-26 10:30:21 +02:00
Tim Dockhorn
7934245835 Revert "Minimize re-exports from __init__ files (#44)" (#63)
This reverts commit 57862fb4c7.
2023-07-26 10:26:28 +02:00
Tim Dockhorn
1da250906d Revert "Dead code removal (#48)" (#62)
This reverts commit b5b5680150.
2023-07-26 10:26:00 +02:00
Tim Dockhorn
a4ceca6d03 Revert "fall back to vanilla if xformers is not available (#51)" (#61)
This reverts commit ef520df1db.
2023-07-26 10:25:17 +02:00
ablattmann
68f3f89bd3 Fix crashing line in logging in sgm/models/diffusion.py (#64) 2023-07-26 10:13:42 +02:00
Aarni Koskela
57862fb4c7 Minimize re-exports from __init__ files (#44)
This allows importing parts of the package without having to
import practically everything (since importing a package will
import its parents' __init__s, etc).
2023-07-25 16:24:09 +02:00
Aarni Koskela
ef520df1db fall back to vanilla if xformers is not available (#51) 2023-07-25 16:21:51 +02:00
Aarni Koskela
2897fdc99a Move attention testing/benchmarking code out of package (#47) 2023-07-25 15:40:22 +02:00
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
Luca Antiga
6ecd0a900a Fix link (#24) 2023-07-25 09:58:18 +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
5c10deee76 Merge branch 'main' of https://github.com/Stability-AI/generative-models into main 2023-07-09 10:40:26 -07: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 Dockhorn
ea89ce793d Merge pull request #28 from jenuk/fix-samples_z
Fix `samples_z` undefined
2023-07-09 10:35:04 -07:00