Skip to content

v4.1.2 (Stable Cascade prompt weighting, MacOS arm64 support)

Choose a tag to compare

@Teriks Teriks released this 16 Sep 20:31
· 1093 commits to master since this release

v4.1.2 release with Windows installer.

Due to the size of the packaged python environment, the installer is within a multi-part zip file.

The multipart zip can be extracted using 7-Zip: https://www.7-zip.org/

Download both dgenerate_installer.zip.001 and dgenerate_installer.zip.002 to a folder.

Unzip dgenerate_installer.zip.001 to a directory (Right click, 7-Zip -> Extract to "dgenerate_installer") and then run dgenerate_installer\dgenerate.msi to install.

dgenerate will be installed under C:\Program Files\dgenerate by default with an isolated python environment provided.

The install directory will be added to PATH, and dgenerate will be available from the command line.

Portable Install

A portable install is provided via dgenerate_portable.zip.001 and dgenerate_portable.zip.002, these contain
nothing but the dgenerate executable and a frozen python environment which can be placed anywhere.

4.1.2 Patch

HuggingFace repository file link for transformer involved in Flux (Schnell quantized) console recipe had moved. Updated link.

Better error message when a HuggingFace repository is not accessible due to lack of authentication.

Console output window Clear right click context menu functionality bug fix. Output window started in editable state, it should be disabled for text input and only enabled temporarily for writes internally. Improper state management resulted in inability to write new output to the window after using Clear from the UI menu, as the text box was left in a disabled UI state.

spandrel 0.4.0

4.1.0 Features

  • Stable Cascade can now use long prompts with weighting via the compel and sd-embed prompt weighters, simply specify one of these two values to --prompt-weighter to enable the feature when using Stable Cascade.

  • Built and published wheels for MacOS on Apple Silicon, dgenerate can now be used with --device mps on MacOS (arm64). See install instructions here: MacOS Install (Apple Silicon Only). This is very experimental.

  • Console UI hotkeys dynamically adjust for useability when the UI is running on MacOS, I am sure that the hotkeys are very abnormal when compared to typical MacOS convention for text editors, but they all function and do not overlap with important system hotkeys. Insert (for multiline input) changes to Command+i, and Ctrl+Space (for run) changes to Command+r. All other hotkeys remain the same, including copy, paste, and cut.

  • Added template function frange which is just range but for float ranges. This is useful for stepping through guidance scale values or LoRA scale values for example. It uses identical logic to range, but the step value may be a float, e.g. frange(0.1, 1.0, 0.2) -> [0.1, 0.3, 0.5, 0.7, 0.9]. The default step value is: 0.1

  • torch 2.4.1