Repository navigation
Bump the nuget group with 3 updates - #178
Merged
Merged
Conversation
Bumps FastBertTokenizer from 1.0.28 to 1.2.6 Bumps Microsoft.ML.OnnxRuntime from 1.30.0 to 1.31.0 Bumps Microsoft.ML.Tokenizers from 2.0.0 to 2.0.1 --- updated-dependencies: - dependency-name: FastBertTokenizer dependency-version: 1.2.6 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: nuget - dependency-name: Microsoft.ML.OnnxRuntime dependency-version: 1.31.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: nuget - dependency-name: Microsoft.ML.Tokenizers dependency-version: 2.0.1 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: nuget ... Signed-off-by: dependabot[bot] <support@github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Updated FastBertTokenizer from 1.0.28 to 1.2.6.
Release notes
Sourced from FastBertTokenizer's releases.
1.2.6
Highlights
net10.0target (#134). The package now shipsnet10.0,net8.0andnetstandard2.0. On .NET 9+ the span-based vocabulary lookup usesFrozenDictionary.GetAlternateLookupinstead of the unsafechar*key trick, so that target is compiled without unsafe code.added_tokenssupport (#100).LoadTokenizerJsonnow honours theadded_tokenssection oftokenizer.json; if several added tokens match at a position, the longest one wins, like in Hugging Face (#101, thanks @kudima03).strip_accentssupport.tokenizer.jsonfiles that setnormalizer.strip_accentsexplicitly (includingfalse) now load. If it is unset, it followslowercase, as in the original BERT.cleanup_tokenization_spacesfrom the configuration (#105, #107, thanks @kudima03).Decodenow uses the tokenizer'sdecoder.cleanupsetting.LoadFromHuggingFaceAsynconnetstandard2.0(#159), so it is also available on .NET Framework.Deprecations
Decode(ReadOnlySpan<long> tokenIds, bool cleanupTokenizationSpaces)is obsolete (#107, #159). UseDecode(ReadOnlySpan<long> tokenIds), which takes the value fromdecoder.cleanupintokenizer.json(defaulttrue; alwaystruefor vocabularies loaded withLoadVocabulary).Decode(ids)switches to the new overload. Output only differs if yourtokenizer.jsonsets"cleanup": false.Behaviour changes
tokenizer.jsonfiles withadded_tokenstokenize differently. Earlier versions ignoredadded_tokens; the resulting token ids now match Hugging Face. Configurations with an added token that hassingle_word: trueare rejected with anArgumentException.Decodeof a sequence starting with a suffix token now puts the configured continuing-subword prefix (e.g.##) in front of the result ("##m ipsum"instead of"m ipsum").net6.0target was removed. .NET 6 and 7 apps now use thenetstandard2.0build. Its public API is identical, except for the[Experimental]CreateAsyncBatchEnumerator(ChannelReader<…>, …)overload, which needsnet8.0or later.LoadFromHuggingFaceAsyncneeds TLS 1.2. Apps targeting .NET Framework below 4.7 may have to setServicePointManager.SecurityProtocolthemselves.Other
Verifiable releases (#160). The package is built and published to nuget.org by GitHub Actions, using trusted publishing. Each release comes with a build provenance attestation for the
.nupkgand for theFastBertTokenizer.dllfiles inside it. nuget.org adds its own signature to the package, which changes the.nupkg's hash. To verify a package from nuget.org, either:.nupkgfile, orGitHub releases are immutable from this version on;
gh release verify v1.2.6 -R georg-jung/FastBertTokenizerchecks the release itself.API docs are published at https://fastberttokenizer.gjung.com/, which now also links to these release notes.
Package versions follow SemVer 2. The package is validated against 1.0.28 to catch accidental API breaks.
Dependency floors for
netstandard2.0: System.Memory 4.6.3 (was 4.5.5), System.Text.Json 8.0.6 (was 8.0.3).Many new parity tests against Hugging Face
tokenizers. Known remaining divergences are documented as skipped tests (#151).Reworked benchmarks (.NET 10, fixed baselines, current competitors) with fresh results in the README (#123, #158).
Full Changelog: v1.0.28...v1.2.6
1.1.30-alpha
##(or what is configured intokenizer.json) to the beginning of the decode result if the first encoded token id is a suffix token.1.1.21-alpha
Full Changelog: v1.0.28...v1.1.21-alpha
added_tokens, #100Commits viewable in compare view.
Updated Microsoft.ML.OnnxRuntime from 1.30.0 to 1.31.0.
Release notes
Sourced from Microsoft.ML.OnnxRuntime's releases.
1.31.0
ONNX Runtime 1.31.0 stabilizes model-package and EPContext data APIs, improves CPU model loading and quantized MoE inference, expands device-based execution-provider selection, and strengthens model-loading and runtime reliability. These notes cover changes since ONNX Runtime 1.30.0. CUDA and WebGPU kernel updates are summarized here; detailed provider notes are covered by their separate plugin EP releases.
Highlights
PREFER_NPU(#31975).Announcements & Compatibility
GatherBlockQuantizedbehavior change: out-of-range indices now produce zero output slices across CPU, CUDA, and WebGPU for both integer and floating-point quantized formats. This deliberately differs from ONNXGathererror semantics (#32480).OrtApi::GetModelPackageApiand the stableOrtModelPackageApitable. EPContext callback registration now uses stable APIs; the corresponding experimental lookup entries were removed. The stable native callback contract carries callback/state pointers, with payload limits enforced by application callbacks, bindings, or EPs rather than a native read-options policy (#33166, #32265).--use_aclnow receive a deprecation warning (#32564).--use_windows_telemetryoronnxruntime_USE_WINDOWS_TELEMETRY=ON; telemetry can be disabled with--no_telemetry(#32384).New Features
Core APIs & Runtime
session.strict_workspace_verification=1to fail initialization on workspace declaration overruns or nonzero orphaned reservations; strict verification is not supported for ORT-format model loads (#31962, #32189).onnxruntime_DISABLE_DEVICE_DISCOVERY=ONto skip platform accelerator probing and report only the CPU device (#32592).Shared Contrib Operators
These updates affect core operator schemas and cross-provider behavior, not only the separately released GPU plugins.
EngramGateandNGramHashMappingfor Qwen4-Exp, and addedVarlenNGramHashMappingfor packed DeepSeek Engram batching with request-local history. Packed hashing also supports Qwen4-Exp head offsets, EOS resets, and segment boundaries (#32285, #32358, #32467).activationattribute toGatedRMSNormfor SiLU, its Swish alias, and Sigmoid gating across CPU, CUDA, and WebGPU. SiLU remains the default (#32512).BranchwiseRMSNorm,ScaledSiLU,HyperConnectionPreMix, andHyperConnectionPostMix, with CPU, CUDA, and WebGPU implementations (#32687).GatherBlockQuantizedto FP8/FP4 data, full-axis blocks, and scale broadcasting, and improved CPU UINT8 dequantization. See the out-of-range-index behavior change above (#32480, #32621).Plugin Execution Provider Infrastructure
Execution Provider Updates
CUDA EP
CUDA updates include sparse attention and packed continuous batching, expanded paged speculative decoding, INT2 and mixed-width QMoE execution, opt-in MatMul auto-tuning, improved MXFP4 support on Blackwell consumer GPUs, and reliability fixes.
... (truncated)
Commits viewable in compare view.
Updated Microsoft.ML.Tokenizers from 2.0.0 to 2.0.1.
Release notes
Sourced from Microsoft.ML.Tokenizers's releases.
2.0.1-Preview
Minor update for 2.0.0 that introduces a new api for ProduceWordBag so you can pass in a column that already has the weights set.
Commits viewable in compare view.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore <dependency name> major versionwill close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)@dependabot ignore <dependency name> minor versionwill close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)@dependabot ignore <dependency name>will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)@dependabot unignore <dependency name>will remove all of the ignore conditions of the specified dependency@dependabot unignore <dependency name> <ignore condition>will remove the ignore condition of the specified dependency and ignore conditions