Skip to content

v0.6.0: SDK3.2, Text generation, Whisper, Stable Diffusion

Compare
Choose a tag to compare
@jimypbr jimypbr released this 04 Apr 15:58

Text Generation

This release comes with full support for text generation for GPT2, BART, T5, and Whisper!

  • Add text generation support by @jimypbr in #253
  • Run encoder on IPU for encoder-decoder text-gen models by @jimypbr in #283
  • Efficient decoder text generation wrapper by @jimypbr in #273
  • Text Gen slice decoder projection optimisation by @jimypbr in #295
  • Add text generation prediction support for IPUSeq2SeqTrainer by @kundaMwiza in #284

IPU pipelined models can call .generate(). Text generation can also be done with pipelines.

Stable Diffusion

  • We now support Stable Diffusion inference pipelines from Diffusers in optimum/graphcore/diffusers @katalinic-gc in #300
  • Much improved performance on IPU by running all SD modules on IPU by @katalinic-gc in #274
  • Add file for SD ipu configs by @katalinic-gc in #301

UX Improvements

We've improved the usability of IPUConfig.

  • You know longer need to specify both ipus_per_replica and layers_per_ipu. You can specify just one and the other will be inferred from it: @hmellor in #282
  • layers_per_ipu can support a combination of integers and wildcards (-1) e.g `[1, 1, -1, -1] will put 1 layer each on IPU0 and IPU1, and split the remaining layers evenly between IPU2 and IPU3. If there are an odd number of layers, the extra layer is placed on the last wildcard IPU. @rahult-graphcore in #275

New Models

Notebooks

Bugfixes

  • SerializedEmbedding: override default freeze=True on deserialization by @kundaMwiza in #304
  • Fix training mode outputs for roberta and distilbert mlm models by @jimypbr in #254
  • Remove the work-around for rebuilding BaseModelOutput in BART and T5 by @jimypbr in #297
  • Populate _hooks for T5 and BART by @hmellor in #291
  • Instantiate optimizer in compile only mode by @kundaMwiza in #292
  • Add back removed variables from the wav2vec2 pretraining forward sig by @katalinic-gc in #259
  • Pipeline bug fixes by @jimypbr in #260
  • Fix PR doc build when the PR comes from a clone with a different name by @regisss in #281

Misc

New Contributors

Full Changelog: v0.5.0...v0.6.0