Dgenerate

Latest version: v4.5.1

Safety actively analyzes 714973 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 10

4.5.0

* Support for Flux fill (Infill / Outfill) via ``--model-type torch-flux-fill``, this model type uses the inpainting ``--image-seeds`` syntax to specify an image and a mask. See: [example](https://github.com/Teriks/dgenerate/blob/master/examples/flux/fill/config.dgen)

* Support for ``--textual-inversions`` with ``--model-type torch-flux-fill``

* Support for ``--textual-inversions`` with ``--model-type torch-flux`` in basic ``txt2img`` configuration, with ``txt2img`` + Control Nets, and with ``inpainting`` + Control Nets.

* Support for a single ``--ip-adapters`` weights definition with ``--model-type torch-flux`` in basic ``txt2img`` configuration. Does not support Control Net or ``img2img / inpaint / fill``. See: [example](https://github.com/Teriks/dgenerate/blob/master/examples/flux/ip_adapter/config.dgen)

* Dynamic feature availability checking for LoRA, Textual Inversion, and IP Adapter support on supported diffusers pipelines using introspection, refactored input validation for these features in particular.

* Fix for unusable ``StableDiffusionControlNetPAGInpaintPipeline`` caused by typo.

* New Console UI recipes for ``--model-type torch-flux-fill``

* 9, Remove problematic dependency ``bitsandbytes`` for now, dependency unused, and PyPI release for ``bitsandbytes`` currently incompatible with MPS and ROCm

* Update to ``diffusers==0.32.2``, and update other pinned deps where possible.

* 8, Fix PyPI package python spec and related documentation, not compatible with python 3.13 due to dependencies, spec is now ``>=3.10,<3.13``

* 7, recommend / use ``--extra-index-url https://download.pytorch.org/whl/rocm6.2/``, latest ROCm backend for ROCm install

4.4.2

Update to latest `diffusers` release, update all dependencies where possible.

Ability to escape `%` and `$` with `\` to prevent environmental variable expansion in dgenerate config / shell language, this is needed to be able to utilize (download from) URLs that contain these characters. This escape mechanism is also understood from the command line if needed.

`pygments` (syntax highlighting) lexer updated to understand new escape sequences in URLs.

Minor fixes to on disk file cache behavior for downloaded files. Mainly issues arising from files
that are unexpectedly missing on disk but present in DB, that prevented self healing in certain cases.

4.4.1

`Insert Argument` Console UI dialog arguments are now sorted alphabetically, buttons are disabled if nothing is selected, and initial selection is set to empty.

Fix `--help` text formatting for `--output-overwrite`.

4.4.0

* `--scheduler`, `--sdxl-refiner-scheduler`, and `--s-cascade-decoder-scheduler` can now handle being passed multiple URIs, this allows you to iterate over different schedulers (samplers) directly from the CLI with one command and no further scripting. These arguments now also have pluralized aliases: `--schedulers`, `--sdxl-refiner-schedulers`, and `--s-cascade-decoder-schedulers`, to help with potentially annoying typos. Using multiple schedulers contributes to generation steps combinatorically, in the same way as other diffusion parameter arguments such as `--inference-steps` and `--guidance-scales` etc.

* New `Edit -> Insert Argument` Console UI dialog, you can now select dgenerate arguments from a drop down and insert them into the config. This new dialog has a help button which will display the help text for the selected argument from dgenerates `--help` output in isolation, similar to the help window available in the image processor selection UI. This dialog is also available by right clicking the text input area in the Console UI and selecting `Insert Argument`.

4.3.4

* `--pag-scales`, `--pag-adaptive-scales`, `--sdxl-refiner-pag-scales`, and `--sdxl-refiner-pag-adaptive-scales` are now properly reproduced in configuration produced by `--output-configs`. Previously they were left un-pluralized (typo)

4.3.3

* `--help` text information fix under `--text-encoders`. Model type keyword `T5TextModel` corrected to `T5EncoderModel`.

* Fix for user configurable environmental variable `DGENERATE_WEB_CACHE_EXPIRY_DELTA`, setting value to `forever` no longer
triggers a datetime overflow. `DGENERATE_WEB_CACHE_EXPIRY_DELTA=forever` should retain files downloaded to dgenerates
cache forever, this cache is unrelated to the cache in `HF_HOME`, and is used for models / files downloaded from locations other than huggingface.

Page 1 of 10

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.