nkeenan38 / voice_activity_detector

A Voice Activity Detector rust library using the Silero VAD model.
https://crates.io/crates/voice_activity_detector
MIT License
26 stars 6 forks source link

chore(deps): bump ort from 2.0.0-rc.2 to 2.0.0-rc.4 #31

Open dependabot[bot] opened 4 months ago

dependabot[bot] commented 4 months ago

Bumps ort from 2.0.0-rc.2 to 2.0.0-rc.4.

Release notes

Sourced from ort's releases.

v2.0.0-rc.4

This release addresses important linking issues with rc3, particularly regarding CUDA on Linux.

cuDNN 9 is no longer required for CUDA 12 builds (but is still the default); set the ORT_CUDNN_VERSION to 8 to use cuDNN 8 with CUDA 12.

If you have any questions about this release, we're here to help:

Love ort? Consider supporting us on Open Collective πŸ’–

β€οΈπŸ’šπŸ’™πŸ’›

v2.0.0-rc.3

Training

ort now supports a (currently limited subset of) ONNX Runtime's Training API. You can use the on-device Training API for fine-tuning, online learning, or even full pretraining, on any CPU or GPU.

The train-clm example pretrains a language model from scratch. There's also a 'simple' API and related example, which offers a basically one-line training solution akin to πŸ€— Transformers' Trainer API:

trainer.train(
    TrainingArguments::new(dataloader)
        .with_lr(7e-5)
        .with_max_steps(5000)
        .with_ckpt_strategy(CheckpointStrategy::Steps(500))
)?;

You can learn more about training with ONNX Runtime here. Please try it out and let us know how we can improve the training experience!

ONNX Runtime v1.18

ort now ships with ONNX Runtime v1.18.

The CUDA 12 build requires cuDNN 9.x, so if you're using CUDA 12, you need to update cuDNN. The CUDA 11 build still requires cuDNN 8.x.

IoBinding

IoBinding's previously rather unsound API has been reworked and actually documented.

Output selection & pre-allocation

Sometimes, you don't need to calculate all of the outputs of a session. Other times, you need to pre-allocate a session's outputs to save on slow device copies or expensive re-allocations. Now, you can do both of these things without IoBinding through a new API: OutputSelector.

let options = RunOptions::new()?.with_outputs(
    OutputSelector::no_default()
        .with("output")
        .preallocate("output", Tensor::<f32>::new(&Allocator::default(), [1, 3, 224, 224])?)
);

let outputs = model.run_with_options(inputs!["input" => input.view()]?, &options)?;

... (truncated)

Commits
  • 04da381 2.0.0-rc.4
  • bc764d3 feat(sys): CUDA 12 + cuDNN 8 builds, ref #235
  • b2f4e1f fix: create an environment if one does not exist when registering TensorRT EP...
  • bb57252 fix(sys): more robust CUDA version check. fixes #234
  • 3dec017 2.0.0-rc.3
  • 0a43482 feat: training (#202)
  • 0407adb fix: link missing absl libraries, closes #228
  • 1bff72d fix: TVM EP register function definition for non-load-dynamic, closes #227
  • bf10c18 docs: Add Magika to projects using ort (#224)
  • 66b0cb2 fix(sys): only link nsync if required, closes #223
  • Additional commits viewable in compare view


Dependabot compatibility score

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 rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)