| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| | |
Fix embeddings, upscalers, and refactor `--upcast-sampling`
|
| |
| |
| |
| | |
The torch.narrow fix was required for nightly PyTorch builds for a while to prevent a hard crash, but newer nightly builds don't have this issue.
|
| | |
|
| | |
|
| | |
|
|\ \
| | |
| | | |
Fix error when using img2img batch without masks
|
| | | |
|
|/ / |
|
| |
| |
| |
| |
| |
| | |
get empty space instead of checkpoint name in UI
fixed a bug where if you update a selected checkpoint on disk and then restart the program, a different checkpoint loads, but the name is shown for the the old one.
|
| |
| |
| |
| | |
disabled extensions
|
| | |
|
| | |
|
|\ \
| | |
| | | |
Allow users to convert models to Instruct-pix2pix models by supporting merging Instruct-pix2pix models with regular ones in the merge tab
|
| | |
| | |
| | |
| | | |
".instruct-pix2pix" for newly generated instruct pix2pix models.
|
| | |
| | |
| | |
| | | |
pix2pix". Also changed extension to instrpix2pix at least for now.
|
| | |
| | |
| | |
| | | |
normal model using weighted sum. Also removed bad print message that interfered with merging progress bar.
|
| | |
| | |
| | |
| | | |
currently supports inpainting models.
|
| | | |
|
|\ \ \
| | | |
| | | | |
Add flag to store user data sepperate from source code
|
| | | | |
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
previously module attributes like __file__ where not set correctly,
leading to scripts getting the directory of the stable-diffusion repo
location instead of their own script.
This causes problem when loading user data from an external location
using the --data-dir flag, as extensions would look for their own code
in the stable-diffusion repo location instead of the data dir location.
Using pythons importlib functions sets the modules specs correctly and
executes them. But this will break extensions if they build paths based
on the previously incorrect __file__ attribute.
|
| | | | |
|
| | | | |
|
|\ \ \ \
| | | | |
| | | | | |
Add button to switch width and height
|
| |/ / /
| | | |
| | | | |
Adds a button to switch width and height, allowing quick and easy switching between landscape and portrait.
|
| | | | |
|
|\ \ \ \
| | | | |
| | | | | |
add v2-inpainting model detection, and broaden v-model detection to include anything with 768 in the name
|
| | | | |
| | | | |
| | | | |
| | | | | |
anything with 768 in the name
|
|/ / / /
| | | |
| | | |
| | | | |
Modifies batch UI to add optional inpainting support
|
|/ / / |
|
| | | |
|
| | |
| | |
| | |
| | | |
fix broken api for checkpoint list
|
| | | |
|
| |/
|/|
| |
| | |
fix some style inconsistenices
|
|/ |
|
| |
|
|
|
|
|
|
| |
to inegrate pix2pix properly
this allows to use pix2pix model in img2img though it won't work well this way
|
|\
| |
| | |
allow symlinks in the textual inversion embeddings folder
|
| | |
|
| | |
|
|/ |
|
|\
| |
| | |
Add upcast options, full precision sampling from float16 UNet and upcasting attention for inference using SD 2.1 models without --no-half
|
| |
| |
| |
| |
| |
| | |
Adds "Upcast cross attention layer to float32" option in Stable Diffusion settings. This allows for generating images using SD 2.1 models without --no-half or xFormers.
In order to make upcasting cross attention layer optimizations possible it is necessary to indent several sections of code in sd_hijack_optimizations.py so that a context manager can be used to disable autocast. Also, even though Stable Diffusion (and Diffusers) only upcast q and k, unfortunately my findings were that most of the cross attention layer optimizations could not function unless v is upcast also.
|
| |
| |
| |
| | |
This also handles type casting so that ROCm and MPS torch devices work correctly without --no-half. One cast is required for deepbooru in deepbooru_model.py, some explicit casting is required for img2img and inpainting. depth_model can't be converted to float16 or it won't work correctly on some systems (it's known to have issues on MPS) so in sd_models.py model.depth_model is removed for model.half().
|
| | |
|
|\ \
| | |
| | | |
Fix Approx NN previews changing first generation result
|
| | |
| | |
| | |
| | | |
The loading of the model for approx nn live previews can change the internal state of PyTorch, resulting in a different image. This can be avoided by preloading the approx nn model in advance.
|
| | |
| | |
| | |
| | |
| | |
| | | |
Allows loading instruct-pix2pix models via same method as inpainting models in sd_models.py and sd_hijack_ip2p.py
Adds ddpm_edit.py necessary for instruct-pix2pix
|
|\ \ \
| |_|/
|/| | |
Adds X/Y/Z Grid Script
|