v4.1.0 (Stable Cascade prompt weighting, MacOS arm64 support)
v4.1.0 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.0 Features
-
Stable Cascade can now use long prompts with weighting via the
compel
andsd-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 toCommand+i
, andCtrl+Space
(for run) changes toCommand+r
. All other hotkeys remain the same, including copy, paste, and cut. -
Added template function
frange
which is justrange
but for float ranges. This is useful for stepping through guidance scale values or LoRA scale values for example. It uses identical logic torange
, 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