Skip to content

v2.0.0 release

Compare
Choose a tag to compare
@Teriks Teriks released this 06 Nov 11:56
· 1977 commits to master since this release

New Features

  • Massive refactor in order to have a useable public API, loosen dependency spec, dgenerate can now be used as a library.
  • Full library documentation located at: https://dgenerate.readthedocs.io/en/v2.0.0/
  • Basic library usage examples: https://github.com/Teriks/dgenerate/tree/v2.0.0/examples/library_usage
  • dgenerate is now a package on pypi: https://pypi.org/project/dgenerate/2.0.0/
  • Generate multiple images on a GPU simultaneously with --batch-size, optionally create image grids with --batch-grid-size (works for animations also)
  • New --image-seeds syntax for specifying multiple control guidance images when using multiple --control-nets.
  • New --control-image-preprocessors syntax for describing which preprocessor chain applies to which control guidance image.
  • Support for APGN (Animated PNG) inputs via --image-seeds
  • Support for PSD (Photoshop), TGA (Targa), BMP, JPEG-2000 (.jp2, .jpx, .j2k) image formats for static image input via --image-seeds
  • Multi-process safe caching of files downloaded from URLs while multiple dgenerate processes are alive (ref counted file cache).
  • Configurable web cache directory location.
  • Multi-process safe writes to the same directory when overwrite avoidance is enabled (default).
  • Support for Deep Floyd IF pipelines torch-if, torch-ifs (IF SuperScaler), and torch-ifs-img2img, new supporting --image-seeds keyword argument floyd for specifying stage 1 images for img2img and inpainting mode. See: https://github.com/Teriks/dgenerate/tree/v2.0.0/examples/deepfloyd
  • Disable aspect correct resizing of --image-seeds images with new --no-aspect option and --image-seeds boolean keyword argument aspect when --output-size is used with --image-seeds, new option allows for resizing to an exact dimension including skewed ones.
  • frame-start and frame-end keyword arguments for --image-seeds URIs, allows animation slicing settings per image seed specification.
  • Batch processing script overhaul, includes ability to save and restore diffusers pipeline modules to specific dgenerate invocations, and a few breaking syntax changes. see: https://github.com/Teriks/dgenerate/tree/v2.0.0#batch-processing-from-stdin
  • More extensive upfront argument validation and helpful error messages