Commit Graph

1514 Commits (f7e4eae4e66beff89ef00928b6564116bcf8d12d)

Author SHA1 Message Date
pharmapsychotic 88bf28a0ed Merge with Doggettx's stable-diffusion fork
Allows for running at higher resolutions without running out of VRAM.
2022-09-10 16:06:01 -05:00
pharmapsychotic 7fdb717678
Merge pull request #57 from pharmapsychotic/dev
Depth map saving and more
2022-09-10 14:49:33 -05:00
pharmapsychotic cf95125226 Depth saving and updates
- Move depth inference to new file helpers/depth.py
- Merge depth stuff into new DepthModel class instead of passing around things separately
- New option to save the depth maps
- Use same depth map for warp of both prev and next for turbo
- Small fixes and clean ups
2022-09-10 14:28:00 -05:00
enzymezoo-code 621156a3d1 Merge branch 'dev' of https://github.com/deforum/stable-diffusion into dev 2022-09-08 22:01:32 -05:00
Doggettx cd3d653f79
Update README.md 2022-09-07 12:29:15 +02:00
Doggettx c2d72c5c23 Missed one function to revert 2022-09-07 09:03:19 +02:00
Doggettx 830f6946f9 Reverted in place tensor functions back to CompVis version
Improves performance and is no longer needed.
2022-09-07 08:43:36 +02:00
Doggettx f134e245ba Added max. res info to memory exception 2022-09-06 10:43:19 +02:00
Doggettx 755bec8923 Raise error when steps too high
Technically you could run at higher steps as long as the resolution is dividable by the steps but you're going to run into memory issues later on anyhow.
2022-09-06 09:39:10 +02:00
Doggettx 7a32fd6493 Commented out debug info
Forgot to comment out debug info
2022-09-06 09:12:09 +02:00
Doggettx a1fbe55f85 Set model to half
Set model to half in txt2img and img2img for less memory usage.
2022-09-06 09:09:49 +02:00
Doggettx 507ddec578 Fixed free memory calculation
Old version gave incorrect free memory results causing in crashes on edge cases.
2022-09-06 09:08:46 +02:00
pharmapsychotic 7ce3316dba Fix to sanitize, clean up some unused imports and precision handling 2022-09-05 19:59:34 -05:00
Doggettx d3c91ec937 Fixed memory handling for model.decode_first_stage
Better memory handling for model.decode_first_stage so it doesn't crash anymore after 100% rendering
2022-09-05 19:49:45 +02:00
pharmapsychotic 2dc4a93090
Merge pull request #54 from pharmapsychotic/dev
diffusion_cadence (turbo) for 2D and 3D animations!
2022-09-05 10:42:52 -05:00
pharmapsychotic a3d4320d4a Support for turbo with 2D anims, resume support, compat with video init 2022-09-05 10:24:48 -05:00
Doggettx 8283bb5b84 Update attention.py 2022-09-05 12:03:59 +02:00
Doggettx 5065b41ce1 Update attention.py
Correction to comment
2022-09-05 10:13:59 +02:00
Doggettx afaefd2e5f Update attention.py
Run attention in a loop to allow for much higher resolutions (over 1920x1920 on a 3090)
2022-09-05 09:26:27 +02:00
pharmapsychotic 76a32a1620 Turbo mode! diffusion_cadence param to diffuse every N frames
- run diffusion every N frames and do interpolation between trailing frames warped forward through time
- improves speed and coherence of animation videos
- supports just 3D at the moment
2022-09-03 17:56:58 -05:00
deforum 1f449df9e6
Merge pull request #50 from chenxwh/replicate
Add Replicate demo and API
2022-09-03 09:43:48 -07:00
deforum 3553018e25
skip for run all 2022-09-02 18:47:15 -07:00
deforum b46947b791
skip for run all 2022-09-02 18:46:44 -07:00
deforum 44a67272f8
fix resume 2022-09-02 18:44:46 -07:00
deforum e8b25ed3fe
fix resume 2022-09-02 18:43:35 -07:00
deforum 878d65adbf
print timestring 2022-09-02 18:33:02 -07:00
deforum 4539f8645b
print timestring 2022-09-02 18:31:52 -07:00
deforum fc5b5ab211
uncheck manual settings 2022-09-02 18:22:28 -07:00
deforum 19ad9301fa
uncheck manual settings 2022-09-02 18:21:48 -07:00
deforum b96d107b8b
Merge pull request #53 from deforum/dev
v0.3
2022-09-02 18:18:19 -07:00
deforum 998c7632d6
Merge branch 'main' into dev 2022-09-02 18:17:49 -07:00
deforum 299fe5ae6b
Add files via upload 2022-09-02 18:12:17 -07:00
deforum 4f8fe15ccf
v0.3 2022-09-02 18:10:41 -07:00
deforum 11f8907e68
change version and branch 2022-09-02 18:09:12 -07:00
deforum 1c0afbf103
change version and branch 2022-09-02 18:08:38 -07:00
deforum bed13ed034
QoL changes 2022-09-02 17:58:53 -07:00
deforum d088b29612
sync .py and .ipynb 2022-09-02 15:07:18 -07:00
deforum 6ab8fbc449
sync .py and .ipynb 2022-09-02 15:06:24 -07:00
enzymezoo-code b0d9afe971
Merge pull request #52 from enzymezoo-code/dev
Dev
2022-09-02 12:30:33 -05:00
enzymezoo-code 1c25d0c6b1 Updating ipynb with colab-convert. Changing ddim schedule to include the 0 sigma noise step. 2022-09-02 12:26:26 -05:00
enzymezoo-code 0f39e28dcc Merge branch 'dev' of https://github.com/deforum/stable-diffusion into dev 2022-09-02 11:21:32 -05:00
enzymezoo-code 2ca25f255a During batches it will only clear the output at multiples of 32 2022-09-02 11:21:25 -05:00
pharmapsychotic 7e1278550e
Merge pull request #51 from pharmapsychotic/dev
3D animation and depth warping!
2022-09-02 10:51:19 -05:00
pharmapsychotic f59357af56 Merge branch 'dev' of https://github.com/pharmapsychotic/stable-diffusion into dev 2022-09-02 10:48:54 -05:00
pharmapsychotic 3c37400b64 Updated pinned pip dependencies to default versions on Colab runtime
Also add matplotlib which AdaBins uses in utils and remove CFGDenoiser from main notebook since it has moved to helper library.
2022-09-02 10:48:51 -05:00
Chenxi 820a845885 update replicate predictor 2022-09-02 10:23:54 +00:00
Chenxi 0a6071bdbf replicate demo 2022-09-02 09:50:36 +00:00
pharmapsychotic ca945acd8f
Merge branch 'deforum:dev' into dev 2022-09-01 21:31:13 -05:00
pharmapsychotic 78cb0e00b4 . 2022-09-01 21:28:07 -05:00
pharmapsychotic 3ad6c0c826 3D animation and depth warping!
- bring in AdaBins, MiDaS, and pytorch3d-lite
- parallel anim_frame_warp_2d and anim_frame_warp_3d for 2D and 3D frame transformations
- transform_image_3d adapted from disco and optimized: eliminate round trips to disk, eliminate extra movement of tensors between cpu and gpu, avoid unnecessary trips through PIL and back
- move the *_series variables out of global scope and into DeformAnimKeys object
2022-09-01 19:16:59 -05:00