update requirements and changelog

Signed-off-by: Vladimir Mandic <mandic00@live.com>
pull/3642/head
Vladimir Mandic 2024-12-24 08:40:46 -05:00
parent 6c2654d8c8
commit a71bae4f42
6 changed files with 11 additions and 13 deletions

View File

@ -1,8 +1,8 @@
# Change Log for SD.Next # Change Log for SD.Next
## Update for 2024-12-23 ## Update for 2024-12-24
### Highlights for 2024-12-23 ### Highlights for 2024-12-24
### SD.Next Xmass edition: *What's new?* ### SD.Next Xmass edition: *What's new?*
@ -28,11 +28,11 @@ And a lot of **Control** and **IPAdapter** goodies
Plus couple of new integrated workflows such as [FreeScale](https://github.com/ali-vilab/FreeScale) and [Style Aligned Image Generation](https://style-aligned-gen.github.io/) Plus couple of new integrated workflows such as [FreeScale](https://github.com/ali-vilab/FreeScale) and [Style Aligned Image Generation](https://style-aligned-gen.github.io/)
And it wouldn't be a *Xmass edition* without couple of custom themes: *Snowflake* and *Elf-Green*! And it wouldn't be a *Xmass edition* without couple of custom themes: *Snowflake* and *Elf-Green*!
All-in-all, we're around ~160 commits worth of updates, check changelog for full list All-in-all, we're around ~180 commits worth of updates, check the changelog for full list
[ReadMe](https://github.com/vladmandic/automatic/blob/master/README.md) | [ChangeLog](https://github.com/vladmandic/automatic/blob/master/CHANGELOG.md) | [Docs](https://vladmandic.github.io/sdnext-docs/) | [WiKi](https://github.com/vladmandic/automatic/wiki) | [Discord](https://discord.com/invite/sd-next-federal-batch-inspectors-1101998836328697867) [ReadMe](https://github.com/vladmandic/automatic/blob/master/README.md) | [ChangeLog](https://github.com/vladmandic/automatic/blob/master/CHANGELOG.md) | [Docs](https://vladmandic.github.io/sdnext-docs/) | [WiKi](https://github.com/vladmandic/automatic/wiki) | [Discord](https://discord.com/invite/sd-next-federal-batch-inspectors-1101998836328697867)
## Details for 2024-12-23 ## Details for 2024-12-24
### New models and integrations ### New models and integrations

View File

@ -26,7 +26,7 @@
All individual features are not listed here, instead check [ChangeLog](CHANGELOG.md) for full list of changes All individual features are not listed here, instead check [ChangeLog](CHANGELOG.md) for full list of changes
- Multiple UIs! - Multiple UIs!
**Standard | Modern** **Standard | Modern**
- Multiple diffusion models! - Multiple [diffusion models](https://vladmandic.github.io/sdnext-docs/Model-Support/)!
- Built-in Control for Text, Image, Batch and video processing! - Built-in Control for Text, Image, Batch and video processing!
- Multiplatform! - Multiplatform!
▹ **Windows | Linux | MacOS | nVidia | AMD | IntelArc/IPEX | DirectML | OpenVINO | ONNX+Olive | ZLUDA** ▹ **Windows | Linux | MacOS | nVidia | AMD | IntelArc/IPEX | DirectML | OpenVINO | ONNX+Olive | ZLUDA**
@ -36,7 +36,6 @@ All individual features are not listed here, instead check [ChangeLog](CHANGELOG
- Optimized processing with latest `torch` developments with built-in support for `torch.compile` - Optimized processing with latest `torch` developments with built-in support for `torch.compile`
and multiple compile backends: *Triton, ZLUDA, StableFast, DeepCache, OpenVINO, NNCF, IPEX, OneDiff* and multiple compile backends: *Triton, ZLUDA, StableFast, DeepCache, OpenVINO, NNCF, IPEX, OneDiff*
- Built-in queue management - Built-in queue management
- Enterprise level logging and hardened API
- Built in installer with automatic updates and dependency management - Built in installer with automatic updates and dependency management
- Mobile compatible - Mobile compatible

@ -1 +1 @@
Subproject commit ff2bbd16820617ce26183a6c6538dc95a312b5de Subproject commit 50bc931ce6715e30bb86da52033e01e98add4e6c

View File

@ -459,7 +459,7 @@ def check_python(supported_minors=[9, 10, 11, 12], reason=None):
def check_diffusers(): def check_diffusers():
if args.skip_all or args.skip_git: if args.skip_all or args.skip_git:
return return
sha = '4b557132ce955d58fd84572c03e79f43bdc91450' # diffusers commit hash sha = '6dfaec348780c6153a4cfd03a01972a291d67f82' # diffusers commit hash
pkg = pkg_resources.working_set.by_key.get('diffusers', None) pkg = pkg_resources.working_set.by_key.get('diffusers', None)
minor = int(pkg.version.split('.')[1] if pkg is not None else 0) minor = int(pkg.version.split('.')[1] if pkg is not None else 0)
cur = opts.get('diffusers_version', '') if minor > 0 else '' cur = opts.get('diffusers_version', '') if minor > 0 else ''

View File

@ -141,6 +141,7 @@ def full_vae_decode(latents, model):
log_debug(f'VAE config: {model.vae.config}') log_debug(f'VAE config: {model.vae.config}')
try: try:
with devices.inference_context():
decoded = model.vae.decode(latents, return_dict=False)[0] decoded = model.vae.decode(latents, return_dict=False)[0]
except Exception as e: except Exception as e:
shared.log.error(f'VAE decode: {stats} {e}') shared.log.error(f'VAE decode: {stats} {e}')
@ -159,8 +160,6 @@ def full_vae_decode(latents, model):
model.vae.apply(sd_models.convert_to_faketensors) model.vae.apply(sd_models.convert_to_faketensors)
devices.torch_gc(force=True) devices.torch_gc(force=True)
# if shared.opts.diffusers_offload_mode == "balanced":
# shared.sd_model = sd_models.apply_balanced_offload(shared.sd_model)
elif shared.opts.diffusers_move_unet and not getattr(model, 'has_accelerate', False) and base_device is not None: elif shared.opts.diffusers_move_unet and not getattr(model, 'has_accelerate', False) and base_device is not None:
sd_models.move_base(model, base_device) sd_models.move_base(model, base_device)
t1 = time.time() t1 = time.time()

View File

@ -45,7 +45,7 @@ accelerate==1.2.1
opencv-contrib-python-headless==4.9.0.80 opencv-contrib-python-headless==4.9.0.80
einops==0.4.1 einops==0.4.1
gradio==3.43.2 gradio==3.43.2
huggingface_hub==0.26.5 huggingface_hub==0.27.0
numexpr==2.8.8 numexpr==2.8.8
numpy==1.26.4 numpy==1.26.4
numba==0.59.1 numba==0.59.1