Skip to content

Releases: microsoft/onnxruntime-extensions

v0.14.0

Choose a tag to compare

@amarin16 amarin16 released this 14 Mar 00:57
1f9d7ee

What's Changed

  • Full PhiO pre/post-processing support for text, vision, and audio
  • RegEx loading from tokenizer.json
  • Custom RegEx processing for tokenizer text splitting
  • Support for default inputs in Python decoder API, fixing #852 and related issues
  • Handling for models with mismatched added_tokens and added_tokens_decoder
  • Support for left and right strip for added tokens

Full changelog: v0.13.0...v0.14.0

v0.13.0

Choose a tag to compare

@sophies927 sophies927 released this 03 Dec 17:57
9d5638b

What's Changed

  • Tokenization performance improvements.
  • Support for latest Hugging Face tokenization JSON format (transformers>=4.45).
  • Unigram tokenization model support.
  • OpenCV dependency removed from C API build.

New Contributors

Full Changelog: v0.12.0...v0.13.0

v0.11.0

Choose a tag to compare

@yihonglyu yihonglyu released this 01 Jun 00:00

What's changed

  • Created Java packaging pipeline and published to Maven repository.
  • Added support for conversion of Huggingface FastTokenizer into ONNX custom operator.
  • Unified the SentencePiece tokenizer with other Byte Pair Encoding (BPE) based tokenizers.
  • Fixed Whisper large model pre-processing bug.
  • Enabled eager execution for custom operator and refactored the header file structure.

Contributions

Contributors to ONNX Runtime Extensions include members across teams at Microsoft, along with our community members: Sayan Shaw (@sayanshaw24) Wenbing Li (@wenbingl) Scott McKay (@skottmckay) Nat Kershaw (MSFT) (@natke) Hariharan Seshadri (@hariharans29) cao lei (@jslhcl) snnn (@snnn) Kaz Nishimura (@kazssym) Rachel Guo (@YUNQIUGUO) Tang, Cheng (@souptc) Yi-Hong Lyu (@yihonglyu)

v0.12.0

Choose a tag to compare

@wenbingl wenbingl released this 28 Aug 17:16

What's Changed

  • Added C APIs for language, vision and audio processors including new FeatureExtractor for Whisper model
  • Support for Phi-3 Small Tokenizer and new OpenAI tiktoken format for fast loading of BPE tokenizers
  • Added new CUDA custom operators such as MulSigmoid, Transpose2DCast, ReplaceZero, AddSharedInput and MulSharedInput
  • Enhanced Custom Op Lite API on GPU and fused kernels for DORT
  • Bug fixes, including null bos_token for Qwen2 tokenizer and SentencePiece converted FastTokenizer issue on non-ASCII characters, as well as necessary updates for MSVC 19.40 and numpy 2.0 release

New Contributors

Full Changelog: v.0.11.0...v0.12.0

v0.10.1

Choose a tag to compare

@wenbingl wenbingl released this 25 Apr 17:53

Support Python 3.12 version in PYPI release package.

v0.10.0

Choose a tag to compare

@YUNQIUGUO YUNQIUGUO released this 06 Feb 19:16
b9b3ebe

What's changed

  • Modified gen_processing_model tokenizer model to output int64, unifying output datatype of all tokenizers.
  • Implemented support for post-processing of YOLO v8 within the Python extensions package.
  • Introduced 'fairseq' flag to enhance compatibility with certain Hugging Face tokenizers.
  • Incorporated 'added_token' attribute into the BPE tokenizer to improve CodeGen tokenizer functionality.
  • Enhanced the SentencePiece tokenizer by integrating token indices into the output.
  • Added support for the custom operator implemented with CUDA kernels, including two example operators.
  • Added more tests on the Hugging Face tokenizer and fixed identified bugs.

Contributions

Contributors to ONNX Runtime Extensions include members across teams at Microsoft, along with our community members: Wenbing Li (@wenbingl) Sayan Shaw (@sayanshaw24) Scott McKay (@skottmckay) Yi Zhang (@mszhanyi) Edward Chen (@edgchen1) Rachel Guo (@YUNQIUGUO) RandySheriffH (@RandySheriffH) Sam Webster (@samwebster) Hiroshi Yoshioka (@hyoshioka0128) Baiju Meswani (@baijumeswani) Danylo Ulianych (@dizcza) Adam Pocock (@Craigacp) cao lei (@jslhcl)

v0.9.0

Choose a tag to compare

@wenbingl wenbingl released this 21 Sep 18:28

What's Changed

  • New Python API gen_processing_models to export ONNX data processing model from Huggingface Tokenizers such as LLaMA , CLIP, XLM-Roberta, Falcon, BERT, etc.
  • New TrieTokenizer operator for RWKV-like LLM models, and other tokenizer operator enhancements.
  • New operators for Azure EP compatibility: AzureAudioToText, AzureTextToText, AzureTritonInvoker for Python and NuGet packages.
  • Processing operators have been migrated to the new Lite Custom Op API
  • New operator of string strip
  • Using the latest Ort header instead of minimum compatible headers
  • Support offset mapping in most tokenizers like BERT, CLIP, Roberta and etc.
  • Remove the deprecating std::codecvt_utf8 from code base
  • Document are uploaded to https://onnxruntime.ai/docs/extensions/

Contributions
Contributors to ONNX Runtime Extensions include members across teams at Microsoft, along with our community members: Aidan Ryan (MSFT) (@aidanryan-msft) RandySheriffH (@RandySheriffH) Edward Chen (@edgchen1) kunal-vaishnavi Sayan Shaw (@sayanshaw24) Scott McKay (@skottmckay) snnn (@snnn) Vishal Jain (@VishalX) Wenbing Li (@wenbingl) wejoncy

v0.8.0

Choose a tag to compare

@sayanshaw24 sayanshaw24 released this 26 May 23:44

New Changes:

  1. NuGet package for the .NET platform. This package offers comprehensive platform support, including Windows, Linux, MacOS, Android, and iOS. Both x64 and arm64 architectures are supported, where applicable.
  2. Support for pre-processing and post-processing of the Whisper model, inclusive of Audio and Tokenizer decoding operators.
  3. Extends support for pre-processing and post-processing of object-detection models, including a new DrawBoundingBoxes operator. Pre/post processing tools can add non-max-suppression to the model to select the best bounding boxes, and scale those to the original image. See the end-to-end example in tutorials/yolo_e2e.py.
  4. Introduces the Audio Domain, complemented with AudioCodec and optimized STFT Operators, enhancing audio processing capabilities.
  5. Enabled optional input/output support for some operators such as GPT2Tokenizer, ClipTokenizer, and RobertaTokenizer.
  6. Refined the implementation of offset mapping for BBPE-style tokenizers for more operators and efficiency improvement.
  7. Other bug and security fixes.

Contributions

Contributors to ONNX Runtime Extensions include members across teams at Microsoft, along with our community members: Edward Chen (@edgchen1) kunal-vaishnavi Sayan Shaw (@sayanshaw24) Scott McKay (@skottmckay) snnn (@snnn) Vishal Jain (@VishalX) Wenbing Li (@wenbingl) wejoncy

Full Changelog: v0.7.0...v0.8.0

v0.7.0

Choose a tag to compare

@wenbingl wenbingl released this 02 Mar 00:32

General
1. New custom operators: RobertaTokenizer, ClipTokenizer, EncodeImage, DecodeImage
2. ORT custom operator C++ stub generation tool
3. Operator implementation and documentation improved.
4. Python (3.7 - 3.10) and ORT (1.10 above) compatible.

Mobile
1. Android package: Maven
2. iOS package: CocoaPods
3. PrePostProcessor tool for mobile model
4. Super-resolution model pre- / post- processing end-to-end examples

Contributors to this release include members across teams at Microsoft, along with our community members: Edward Chen (@edgchen1) Scott McKay (@skottmckay) shaahji Sayan Shaw (@sayanshaw24) snnn (@snnn) Wenbing Li (@wenbingl) Nat Kershaw (MSFT) (@natke) Rachel Guo (@YUNQIUGUO) Guenther Schmuelling (@guschmue) Jamie Magee (@JamieMagee) Adrian Lizarraga (@adrianlizarraga) wejoncy matheusgomes28

v0.5.0

Choose a tag to compare

@wenbingl wenbingl released this 04 Aug 23:04
134f882

This is a C++ source code package only release. Python and other packages will be expected in the next release.

What's Changed

  1. Support OpenCV core and imgproc modules in Custom Op implementation.
  2. Code security compliance fixings.
  3. Some other improvements.

Thanks for the Contributors from: joburkho shaahji Trusca Petre Cristian (@TruscaPetre) Qing (@Sanster) Nat Kershaw (MSFT) (@natke) Lucas Gomez Jimenez (@hombreola) snnn (@snnn) leqiao-1 Wenbing Li (@wenbingl)