Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

10.5.0 #829

Open
wants to merge 378 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
378 commits
Select commit Hold shift + click to select a range
193d8cf
Add more error information for string search
Astropulse Aug 19, 2023
1ae300c
Update searchString error handling
Astropulse Aug 20, 2023
35602b2
Add safetensor version
Astropulse Aug 23, 2023
4246bca
Temporary addition of cudatoolkit to fix an error
Astropulse Aug 24, 2023
155bfff
Revert temp change
Astropulse Aug 24, 2023
b6fe350
Added requirements
Astropulse Aug 28, 2023
c19c0b3
Renamed files
Astropulse Aug 28, 2023
ddca89b
Fixed requirements
Astropulse Aug 28, 2023
47f9cad
Added hardware icons
Astropulse Aug 28, 2023
0b019cd
Fixed requirements
Astropulse Aug 28, 2023
b30ab88
Fixed textures
Astropulse Aug 28, 2023
1fb5987
Update CUDA.txt
Astropulse Aug 29, 2023
5367d4e
Update ROCM.txt
Astropulse Aug 29, 2023
8395b60
Add basic PyTorch requirements files
Astropulse Aug 29, 2023
eaa2533
Fix clbar
Astropulse Aug 29, 2023
0280ee0
Added beta requirements
Astropulse Aug 29, 2023
2b914d7
Changed line formatting
Astropulse Aug 29, 2023
7ec40ea
Updated for venv
Astropulse Aug 29, 2023
f64e7ed
Delete run.cmd
Astropulse Aug 29, 2023
32b4275
Remove hitherdither warnings
Astropulse Aug 29, 2023
c045831
Added multi-os terminal window rename
Astropulse Aug 29, 2023
ea26672
Update CUDA and ROCM beta requirements
Astropulse Aug 29, 2023
7aa0881
Version bump pytorch-lightning
Astropulse Aug 29, 2023
4e0ad31
Added warning
Astropulse Aug 29, 2023
d3dd4c4
Add license reminders
Astropulse Aug 29, 2023
9e822c4
Version bump rembg
Astropulse Aug 29, 2023
629bdd9
Version bump requirements
Astropulse Aug 29, 2023
82936e1
Version bump
Astropulse Aug 29, 2023
583760f
Ignore global seed set message
Astropulse Aug 29, 2023
ee57c65
Add global seed message
Astropulse Aug 29, 2023
dcdb537
Remove rembg
Astropulse Aug 29, 2023
b013cb7
Remove rembg
Astropulse Aug 29, 2023
3aea2fb
Fixed unix terminal title modification
Astropulse Aug 29, 2023
b5f4e0e
Fix update check
Astropulse Aug 30, 2023
e1cbba3
Update no gpu image
Astropulse Aug 30, 2023
3ba93d5
Add cuda check
Astropulse Aug 30, 2023
9a6730a
Add pytorch beta cpu
Astropulse Aug 30, 2023
05727de
MPS identification attempt
Astropulse Aug 30, 2023
522e611
Fixed for pytorch mps backend
Astropulse Aug 31, 2023
64e155d
Add automatic batching
Astropulse Aug 31, 2023
f654603
Fix batch management
Astropulse Sep 1, 2023
6fe082b
Fix lora loading
Astropulse Sep 1, 2023
b0cc725
Fix typo
Astropulse Sep 1, 2023
b38125b
Fixed typo
Astropulse Sep 2, 2023
5f0096c
Added benchmark
Astropulse Sep 3, 2023
a8bcc83
Added max size batching
Astropulse Sep 13, 2023
c080723
Fixed paletteGen
Astropulse Sep 13, 2023
b10209e
Fixed error message wording
Astropulse Sep 13, 2023
155b029
Added fail message for import check
Astropulse Sep 13, 2023
7fa872e
Lightning version bump
Astropulse Sep 13, 2023
16dab5f
Fix
Astropulse Sep 13, 2023
a8d98c1
Pandas version lock test
Astropulse Sep 13, 2023
f7e713e
Version bump
Astropulse Sep 13, 2023
4208702
Revert version lock
Astropulse Sep 13, 2023
c4f7f47
Delete venv/Lib/site-packages directory
Astropulse Sep 13, 2023
360f76c
Version bump torchvision
Astropulse Sep 14, 2023
40d43d6
Update mps language
Astropulse Sep 14, 2023
801bd84
Revert mps change
Astropulse Sep 14, 2023
5113b35
Remove escape characters
Astropulse Sep 14, 2023
b4d2849
Additional checks for macos
Astropulse Sep 16, 2023
313a6bd
Better error message for python ssl cert
Astropulse Sep 16, 2023
b257ebc
Add SSL fix to macos
Astropulse Sep 19, 2023
c3cc935
Add lora license
Astropulse Sep 23, 2023
cbfb446
Update numpy
Astropulse Sep 23, 2023
3be725f
Revert numpy upgrade
Astropulse Sep 24, 2023
06c36b8
Remove and replace LDM
Astropulse Sep 28, 2023
5f5e933
Modify requirements
Astropulse Sep 28, 2023
45a5f81
Update inference config
Astropulse Sep 28, 2023
fe2a21e
Bump version
Astropulse Sep 28, 2023
a33c723
Fixed imports
Astropulse Sep 28, 2023
4cde915
Fix taming import
Astropulse Sep 29, 2023
c3940f2
Fix for mps
Astropulse Sep 29, 2023
424a592
Fix palettize error
Astropulse Sep 29, 2023
6c913ca
Fix the check
Astropulse Sep 29, 2023
99739dc
Fix check #3
Astropulse Sep 29, 2023
0806080
Add Hyper Tile Self Attention
Astropulse Oct 5, 2023
4896548
Version bump
Astropulse Oct 5, 2023
61b0634
Re-write tile size logic for readability
Astropulse Oct 5, 2023
faaf782
Add tile size display
Astropulse Oct 5, 2023
285a4dd
Added Composition Scale
Astropulse Oct 6, 2023
93b8eec
Add pre-generation size printout
Astropulse Oct 8, 2023
1143882
Remove tomesd to lower vram use
Astropulse Oct 8, 2023
13a85dc
Adjust image generation printouts
Astropulse Oct 9, 2023
6a44593
Fix size printouts
Astropulse Oct 11, 2023
11e419f
Fix checking for tomesd, as it is removed
Astropulse Oct 13, 2023
79f94e2
Fix paletteGen
Astropulse Oct 17, 2023
c49aae8
Added more info for OOM errors
Astropulse Oct 17, 2023
8e9e52e
Fix some unclear error messages
Astropulse Oct 19, 2023
79ac7ee
Fix fp16 image to image
Astropulse Oct 19, 2023
095f95d
Fixed terminal color overflow
Astropulse Oct 23, 2023
cc8b341
Add background remover
Astropulse Oct 23, 2023
9b62414
Version bump
Astropulse Oct 23, 2023
6696dfb
Add size adjustments to background removal
Astropulse Oct 24, 2023
d99742f
Bump PyTorch and TorchVision to 2.1 and 0.16
Astropulse Oct 24, 2023
2750a66
Modify upscale threshold
Astropulse Oct 24, 2023
e3a285f
Fixed image encoding and added render function
Astropulse Oct 27, 2023
3a3e815
Disable CFG for (step >= total_steps/3 and step%3 > 0)
Astropulse Oct 30, 2023
319478b
Removed unused samplers + modules
Astropulse Oct 30, 2023
88ac0a8
Switch to (step%2 > 0)
Astropulse Oct 30, 2023
1e6ec62
Simplified model loading messages
Astropulse Oct 30, 2023
4d6e9a0
Remove more model loading prints
Astropulse Oct 31, 2023
14d255e
Update CFG removal formula
Astropulse Oct 31, 2023
917fe1d
Update CFG removal formula
Astropulse Oct 31, 2023
caa9676
Fix order of operations
Astropulse Oct 31, 2023
4030995
Fix operations
Astropulse Oct 31, 2023
c97afb2
CFG formula rewrite
Astropulse Oct 31, 2023
51e476f
Update determine_best_k to be 100x faster
Astropulse Oct 31, 2023
f95debe
Restructure requirements
Astropulse Nov 2, 2023
d790c82
Add AutoGPTQ requirements
Astropulse Nov 2, 2023
8eb8e1c
Version bump transformers, accelerate
Astropulse Nov 2, 2023
5df436d
Add Zephyr-7B based prompt upsampling
Astropulse Nov 2, 2023
1b93298
Added error handling for LLM
Astropulse Nov 2, 2023
5a1fa40
Update best k algo
Astropulse Nov 2, 2023
eb46973
Update system prompt for Zephyr-7B
Astropulse Nov 2, 2023
b287b0a
Add local model loading
Astropulse Nov 2, 2023
c4491bb
Add LLM vram overflow warning
Astropulse Nov 2, 2023
297a62f
Modified LLM system prompt
Astropulse Nov 2, 2023
ce8ea22
Updated negative
Astropulse Nov 2, 2023
1974298
Add prompt to prompt
Astropulse Nov 3, 2023
d0204ac
Update prompt translation template
Astropulse Nov 3, 2023
9631f24
Change to OpenHermes for LLM
Astropulse Nov 5, 2023
441c4b4
Ignore warnings
Astropulse Nov 5, 2023
70ca357
Add exception for prompt upsampling import
Astropulse Nov 5, 2023
b060504
Fix audio not playing in prompt to prompt
Astropulse Nov 5, 2023
1cfa939
Add playstation, gameboy, and gba modifiers
Astropulse Nov 6, 2023
831f294
Fix image to image conditioning
Astropulse Nov 6, 2023
60c866e
Fix image to image
Astropulse Nov 6, 2023
e123b7b
Fix a divide by 0 in i2i
Astropulse Nov 7, 2023
55c86e9
Fix variable error
Astropulse Nov 7, 2023
cf01079
Fix timestep encoding
Astropulse Nov 7, 2023
8cfa6a2
Fix rocm requirements
Astropulse Nov 9, 2023
a6af96f
Add prompt display
Astropulse Nov 9, 2023
179e3d3
Update README.md
Astropulse Nov 9, 2023
e5ff4ea
Version lock requests
Astropulse Nov 15, 2023
b4a0f57
Pixelvae + LCM
Astropulse Nov 21, 2023
e836df3
Fix image to iamge
Astropulse Nov 21, 2023
60f3668
Invert conditioning dropout for ddim
Astropulse Nov 21, 2023
3476833
Add quality calculation
Astropulse Nov 21, 2023
645674f
Fix rocm requirements
Astropulse Nov 27, 2023
3a1901e
Add image to image quality settings
Astropulse Nov 27, 2023
4d2950b
Add blip model functions
Astropulse Dec 1, 2023
2c452e7
Add error messages for blip
Astropulse Dec 2, 2023
aa8a20a
Allow k-centroid to resize multiple cels
Astropulse Dec 2, 2023
37a1618
Move to pytorch 2.1.1 and autogptq 0.5.1
Astropulse Dec 2, 2023
4cf478f
Fix formatting
Astropulse Dec 2, 2023
090c9db
Move to json formatting for websockets
Astropulse Dec 4, 2023
bbc1761
Updated for live preview
Astropulse Dec 6, 2023
27aeb40
Fixed paletteGen
Astropulse Dec 6, 2023
2b7288d
Replace VAE with TAE
Astropulse Dec 6, 2023
16c5453
Fix preview image latency
Astropulse Dec 6, 2023
da7027b
Add image post processing for tae
Astropulse Dec 6, 2023
0018486
Fix image encoding
Astropulse Dec 9, 2023
796e50a
Add optional prompt data to response
Astropulse Dec 13, 2023
2f707e1
Reduce version
Astropulse Dec 13, 2023
6db1d8a
Remove print
Astropulse Dec 16, 2023
10fd8aa
Fix best palette error message
Astropulse Dec 19, 2023
86e5916
Fix sampling
Astropulse Dec 19, 2023
0d7d66d
Add import check
Astropulse Dec 19, 2023
a9bb5ee
Add temp folder
Astropulse Dec 19, 2023
3caf08e
Fix black palettegen image
Astropulse Dec 26, 2023
f95a992
Fix websocket error printing
Astropulse Dec 28, 2023
1d9385d
Adjust hyper tile values
Astropulse Dec 30, 2023
4ece921
Simplify max_tile calculation
Astropulse Dec 30, 2023
1a1d9ea
Modify LCM calculation
Astropulse Dec 31, 2023
345e97d
Version bump
Astropulse Dec 31, 2023
d390188
Add resfix model
Astropulse Dec 31, 2023
00ecebd
Clean up code
Astropulse Jan 1, 2024
918849a
Add brightness modifier
Astropulse Jan 2, 2024
23b74c0
Fix lora name check
Astropulse Jan 2, 2024
58a8d94
Add internal python version check
Astropulse Jan 5, 2024
4f6dedf
Fix incomplete read error warning
Astropulse Jan 13, 2024
efcfa57
Fix llm and add composition tools
Astropulse Jan 15, 2024
43548c2
Fix error message
Astropulse Jan 16, 2024
4f808ae
Fix palettegen
Astropulse Jan 17, 2024
e12aba4
remove BLIP and ISNET
arcanite24 Jan 22, 2024
25757cb
decoding samples
arcanite24 Jan 25, 2024
b76a148
loras
arcanite24 Jan 25, 2024
2f02727
cleaner impl, latent scaling
arcanite24 Jan 30, 2024
bad00fc
fixed lora overwritting issue
arcanite24 Jan 31, 2024
2da03ef
draftt controlnet_txt2img action
arcanite24 Feb 4, 2024
1749156
added prepare_cldm
arcanite24 Feb 5, 2024
657631c
cleaner controlnet
arcanite24 Feb 12, 2024
7b4b39f
more controlnet fixes
arcanite24 Feb 12, 2024
f46628a
cleaner controlnet
arcanite24 Feb 12, 2024
140b6c4
revert lora logs
arcanite24 Feb 16, 2024
9c26ecd
fix lora release
arcanite24 Feb 16, 2024
b63e509
misc fixes
arcanite24 Feb 16, 2024
4e71c92
model loader switch
arcanite24 Feb 16, 2024
25cd53f
fp16 fix
arcanite24 Feb 17, 2024
9170fed
refactor and unload of cldm
arcanite24 Feb 21, 2024
0d70339
Initial cleanup for compatibility with 10.5.0diff
Astropulse Feb 21, 2024
7faa117
Version bump
Astropulse Feb 21, 2024
6156f9c
Remove cldm startup logging
Astropulse Feb 21, 2024
8bcda98
Fix lora logging
Astropulse Feb 21, 2024
e956300
Remove model loading logging
Astropulse Feb 21, 2024
50cdcfa
Replace sampling logging (euler only)
Astropulse Feb 21, 2024
9b029a3
Switch to yield for returning samples during generation
Astropulse Feb 21, 2024
d71a57b
Fix additional model cleanup
Astropulse Feb 21, 2024
c42b3d8
Merge apply_controlnet into cldm_inference
Astropulse Feb 21, 2024
719cf14
Various fixes for cldm inference preparation
Astropulse Feb 21, 2024
8dffc3d
Add SDP attention and hyper tile
Astropulse Feb 21, 2024
022281c
Fix model loading input
Astropulse Feb 22, 2024
adb0038
Fix float type incompatibility
Astropulse Feb 22, 2024
b122bc8
Automatically handle switching between ldm and cldm
Astropulse Feb 22, 2024
b3d3283
Update requirements with PyTorch 2.2.0, AutoGPTQ 0.7.0, Transformers …
Astropulse Feb 22, 2024
ed9911e
Prepare for image to image, multi controlnet, and fix lora loading error
Astropulse Feb 22, 2024
50190a2
Prepare for neural tools ui, fix latent image batches
Astropulse Feb 22, 2024
64de316
Fix slow latent decode
Astropulse Feb 22, 2024
aa52e90
Update safetensors
Astropulse Feb 23, 2024
731b9c8
Add title and palette fitting
Astropulse Feb 23, 2024
16261c3
lora fix
arcanite24 Feb 23, 2024
9fadc6a
fix merge
arcanite24 Feb 23, 2024
1a29005
Clean up
Astropulse Feb 24, 2024
a38af85
Add neural pixelate and resize
Astropulse Feb 24, 2024
0463e81
lora fix
arcanite24 Feb 24, 2024
11e9564
Merge branch '10.5.0' of https://github.com/Astropulse/stable-diffusi…
arcanite24 Feb 24, 2024
6095bce
Fix resolution lecos and color accuracy
Astropulse Feb 24, 2024
727b320
Add neural detail, fix image requirement
Astropulse Feb 24, 2024
011b715
Add neural transform
Astropulse Feb 27, 2024
13d0487
Fix macos compatibility
Astropulse Feb 27, 2024
5951df3
Linting fix pass 1
Astropulse Feb 28, 2024
406d518
Linting fix 2
Astropulse Feb 28, 2024
b05dd43
Add Token Downsampling - disable hypertile
Astropulse Feb 29, 2024
1cfcf9a
Fix hypertile + todo
Astropulse Mar 1, 2024
1e737ca
Add precision fixes
Astropulse Mar 3, 2024
cefb81a
Fix math domain error
Astropulse Mar 3, 2024
11f05fe
Potential gpu allocation fix
Astropulse Mar 3, 2024
5e74762
Revert to cpu if gpu is not available
Astropulse Mar 3, 2024
1f61bfe
Floating point 8 torch precision fix
Astropulse Mar 3, 2024
6f115e1
Fix precision
Astropulse Mar 3, 2024
5a7122d
Add precision fallback
Astropulse Mar 3, 2024
da885a1
Fix forced float32
Astropulse Mar 3, 2024
f3cb021
Check for precision when rendering
Astropulse Mar 3, 2024
da25f34
Fix typo
Astropulse Mar 3, 2024
b201b31
Fix crop lora application across batches
Astropulse Mar 4, 2024
8eac591
Fix bf16 taesd issues
Astropulse Mar 4, 2024
eaa3e0e
Fix image to image precision issues
Astropulse Mar 5, 2024
46bd97c
nvidia 16xx gpu fix
Astropulse Mar 5, 2024
418a0bc
nvidia 10xx gpu fix
Astropulse Mar 5, 2024
b103034
Clean up precision calculations
Astropulse Mar 6, 2024
40eacaa
Fix generation preview messages
Astropulse Mar 9, 2024
37dbbbd
Fix precision for NVIDIA 9xx gpus
Astropulse Mar 9, 2024
15c410d
Fix precision for NVIDIA server gpus
Astropulse Mar 9, 2024
ecf5c0a
Fix fp8 precision manual check
Astropulse Mar 9, 2024
460a635
Fix image to image
Astropulse Mar 9, 2024
884f28a
Fix resize+pixelate resampling
Astropulse Mar 13, 2024
2b48300
Fix NVIDIA 16xx GPU precision
Astropulse Mar 17, 2024
9c6e64f
Fix macos tensor bug
Astropulse Mar 20, 2024
b4df0e4
fix import
Astropulse Mar 20, 2024
63672fa
Git requirements are no longer editable
Astropulse Mar 21, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
56 changes: 56 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@

autoencoder/__pycache__/autoencoder.cpython-38.pyc
autoencoder/__pycache__/distributions.cpython-38.pyc
autoencoder/__pycache__/feather_tile.cpython-38.pyc
latent_diffusion.egg-info/dependency_links.txt
latent_diffusion.egg-info/PKG-INFO
latent_diffusion.egg-info/requires.txt
latent_diffusion.egg-info/SOURCES.txt
latent_diffusion.egg-info/top_level.txt
ldm/__pycache__/util.cpython-38.pyc
ldm/models/__pycache__/autoencoder.cpython-38.pyc
ldm/modules/__pycache__/attention.cpython-38.pyc
ldm/modules/__pycache__/ema.cpython-38.pyc
ldm/modules/__pycache__/x_transformer.cpython-38.pyc
ldm/modules/diffusionmodules/__pycache__/__init__.cpython-38.pyc
ldm/modules/diffusionmodules/__pycache__/model.cpython-38.pyc
ldm/modules/diffusionmodules/__pycache__/util.cpython-38.pyc
ldm/modules/distributions/__pycache__/__init__.cpython-38.pyc
ldm/modules/distributions/__pycache__/distributions.cpython-38.pyc
ldm/modules/encoders/__pycache__/__init__.cpython-38.pyc
ldm/modules/encoders/__pycache__/modules.cpython-38.pyc
models/base/model.pxlm
models/base/modelmega.pxlm
models/base/modelmini.pxlm
models/base/modelRPG.pxlm
models/base/modelRPGmini.pxlm
models/base/paletteGen.pxlm
models/base/v1-5.ckpt
scripts/__pycache__/autoencoder.cpython-38.pyc
scripts/__pycache__/ddpm.cpython-38.pyc
scripts/__pycache__/feather_tile.cpython-38.pyc
scripts/__pycache__/openaimodelSplit.cpython-38.pyc
scripts/__pycache__/optimUtils.cpython-38.pyc
scripts/__pycache__/samplers.cpython-38.pyc
scripts/__pycache__/splitAttention.cpython-38.pyc
src/clip/
src/hitherdither/
src/k-diffusion/
src/taming-transformers/
src/tomesd/
models/base/StableDiffusionV1-5.safetensors
*.pyc
models/base/modelmicro.pxlm
*.pxlm
*.safetensors
*.ckpt
*.pth
*.lcm
models/loras/LICENSE
temp/RD_decode_temp.png
temp/RD_encode_temp.png
temp/RD_mask.png
venv
models/base/BLIP/*
models/base/LECO/*
models/base/RDGenerationLog.txt
4 changes: 4 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"git.ignoreLimitWarning": true,
"editor.formatOnSave": false
}
Binary file added 404.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
Built for Retro Diffusion:

https://astropulse.gumroad.com/l/RetroDiffusion
https://astropulse.itch.io/retrodiffusion
https://www.retrodiffusion.ai/home

![PixelArtModel](https://github.com/Astropulse/stable-diffusion-aseprite/assets/61034487/b2fb5772-feb8-49b5-826d-501642f07782)



Original README.md

# Stable Diffusion
*Stable Diffusion was made possible thanks to a collaboration with [Stability AI](https://stability.ai/) and [Runway](https://runwayml.com/) and builds upon our previous work:*

Expand Down
54 changes: 0 additions & 54 deletions configs/autoencoder/autoencoder_kl_16x16x16.yaml

This file was deleted.

53 changes: 0 additions & 53 deletions configs/autoencoder/autoencoder_kl_32x32x4.yaml

This file was deleted.

54 changes: 0 additions & 54 deletions configs/autoencoder/autoencoder_kl_64x64x3.yaml

This file was deleted.

53 changes: 0 additions & 53 deletions configs/autoencoder/autoencoder_kl_8x8x64.yaml

This file was deleted.

86 changes: 0 additions & 86 deletions configs/latent-diffusion/celebahq-ldm-vq-4.yaml

This file was deleted.

Loading