diff --git a/CHANGELOG.md b/CHANGELOG.md index bb56efec5..27d0d3076 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,36 +1,37 @@ # Change Log for SD.Next -## Update for 2024-11-02 +## Update for 2024-11-03 Smaller release just few days after the last one, but with some important fixes and improvements. This release can be considered an LTS release before we kick off the next round of major updates. -- Docs: +- Docs: - add built-in [changelog](https://github.com/vladmandic/automatic/blob/master/CHANGELOG.md) search - since changelog is the best up-to-date source of info - go to system -> changelog and search/highligh/navigate directly in UI! -- SD3: ControlNets: - - *InstantX Canny, Pose, Depth, Tile* - - *Alimama Inpainting, SoftEdge* + since changelog is the best up-to-date source of info + go to system -> changelog and search/highligh/navigate directly in UI! +- SD3: ControlNets: + - *InstantX Canny, Pose, Depth, Tile* + - *Alimama Inpainting, SoftEdge* - *note*: that just like with FLUX.1 or any large model, ControlNet are also large and can push your system over the limit e.g. SD3 controlnets vary from 1GB to over 4GB in size -- SD3: all-in-one safetensors - - *examples*: [large](https://civitai.com/models/882666/sd35-large-google-flan?modelVersionId=1003031), [medium](https://civitai.com/models/900327) +- SD3: all-in-one safetensors + - *examples*: [large](https://civitai.com/models/882666/sd35-large-google-flan?modelVersionId=1003031), [medium](https://civitai.com/models/900327) - *note*: enable *bnb* on-the-fly quantization for even bigger gains -- UI: - - add additional [hotkeys](https://github.com/vladmandic/automatic/wiki/Hotkeys) - - add show networks on startup setting +- UI: + - add additional [hotkeys](https://github.com/vladmandic/automatic/wiki/Hotkeys) + - add show networks on startup setting - better mapping of networks previews - optimize networks display load -- XYZ grid: - - optional per-image time benchmark info -- CLI: +- XYZ grid: + - optional per-image time benchmark info +- CLI: - refactor command line params run `webui.sh`/`webui.bat` with `--help` to see all options -- Other: - - Repo: move screenshots to GH pages - - Update requirements -- Fixes: +- Other: + - Model loader: Report modules included in safetensors when attempting to load a model + - Repo: move screenshots to GH pages + - Requirements: update +- Fixes: - custom watermark add alphablending - detailer min/max size as fractions of image size - ipadapter load on-demand @@ -43,6 +44,8 @@ This release can be considered an LTS release before we kick off the next round - fix vqa models ignoring hfcache folder setting - fix network height in standard vs modern ui - fix k-diff enum on startup + - fix text2video scripts + - dont uninstall flash-attn - move downloads of some auxillary models to hfcache instead of models folder ## Update for 2024-10-29 diff --git a/modules/processing_diffusers.py b/modules/processing_diffusers.py index 12fa4bc53..7ec0dd08a 100644 --- a/modules/processing_diffusers.py +++ b/modules/processing_diffusers.py @@ -101,7 +101,8 @@ def process_base(p: processing.StableDiffusionProcessing): output = SimpleNamespace(**output) if isinstance(output, list): output = SimpleNamespace(images=output) - shared.history.add(output.images, info=processing.create_infotext(p), ops=p.ops) + if hasattr(output, 'images'): + shared.history.add(output.images, info=processing.create_infotext(p), ops=p.ops) timer.process.record('pipeline') hidiffusion.unapply() sd_models_compile.openvino_post_compile(op="base") # only executes on compiled vino models diff --git a/modules/sd_detect.py b/modules/sd_detect.py index 567031b71..78052e0e1 100644 --- a/modules/sd_detect.py +++ b/modules/sd_detect.py @@ -106,7 +106,7 @@ def detect_pipeline(f: str, op: str = 'model', warning=True, quiet=False): shared.log.info(f'Autodetect {op}: detect="{guess}" class={getattr(pipeline, "__name__", None)} file="{f}" size={size}MB') t0 = time.time() keys = model_tools.get_safetensor_keys(f) - if keys is not None: + if keys is not None and len(keys) > 0: modules = model_tools.list_to_dict(keys) modules = model_tools.remove_entries_after_depth(modules, 3) t1 = time.time() diff --git a/scripts/text2video.py b/scripts/text2video.py index 2c93abf27..8dec9bd0e 100644 --- a/scripts/text2video.py +++ b/scripts/text2video.py @@ -84,7 +84,7 @@ class Script(scripts.Script): shared.log.error(f'Text2Video: failed to find model={model["path"]}') return shared.log.debug(f'Text2Video loading: model={checkpoint}') - shared.opts.sd_model_checkpoint = checkpoint + shared.opts.sd_model_checkpoint = checkpoint.name sd_models.reload_model_weights(op='model') p.ops.append('text2video')