Update cargo dependencies (livekit-wakeword) - #1305
Conversation
No changeset foundThis PR modifies versioned packages but doesn't include a changeset. The following packages require a version bump:
A package must be bumped when its own files change, and whenever a package it depends on is bumped (so downstream consumers get a matching release). Click here to create a changeset for the missing packages The link pre-populates a changeset file with If this change doesn't require a version bump, add the |
| resampler = "0.5" | ||
| thiserror = "2" | ||
|
|
||
| [target.'cfg(not(all(target_arch = "aarch64", target_os = "windows", target_env = "msvc")))'.dependencies] | ||
| ort = { version = "2.0.0-rc.11", default-features = false, features = ["alternative-backend"] } | ||
| ort-tract = "0.2.0+0.22" | ||
| ort-tract = "0.3.0" |
There was a problem hiding this comment.
🟡 Dependency update ships without the required release note entry
The dependency bump for the wake word crate (resampler = "0.5" / ort-tract = "0.4.0" at livekit-wakeword/Cargo.toml:12-17) is committed without an accompanying changeset file, so the resulting release will not record this change or bump the affected crate.
Impact: The next release omits this update from its notes and may not version-bump the affected package as expected.
Repository rule: every PR requires a knope changeset
AGENTS.md ("Documenting changes") states: "Every PR needs a changeset" and "Changeset must list any crates which need to be bumped stemming from the change". This commit (ac16ff5) only touches Cargo.lock and livekit-wakeword/Cargo.toml; no file was added under /.changeset, which is currently empty after the last release commit. A changeset noting a patch bump for livekit-wakeword should be added via knope document-change or manually.
Was this helpful? React with 👍 or 👎 to provide feedback.
Generated by renovateBot
12218a4 to
ac16ff5
Compare
This PR contains the following updates:
2.0.0-rc.11→2.0.0-rc.130.2.0+0.22→0.4.00.4→0.5Release Notes
pykeio/ort (ort)
v2.0.0-rc.13Compare Source
2.0.0-rc.13
💖 If you find
ortuseful, please consider sponsoring us on Open Collective 💖🤔 Need help upgrading? Ask questions in GitHub Discussions or in the pyke.io Discord server!
🎯 Execution provider clarity
EP structs like
ep::CUDAare now compile-time gated behind their respective Cargo feature flags. The EP feature flags only modifying runtime behavior was a common pain point, and this change bringsortin line with, like, every other Rust crate in existence.ortwill now throw an error at link time ifdownload-binariesis enabled and no binaries contain all of the requested EPs. Previously, if you enabled a nonsensical combination likecuda+coreml,ortwould silently fall back to a CPU-only build. This caused great confusion as the only indicator of what went wrong was in log messages that don't show by default. A newlax-feature-matchingCargo feature will fallback to the closest fit instead of erroring.🍎 ONNX Runtime 1.28
rc.13skips ahead 4 ONNX Runtime versions to v1.28, bringing new operator support, bug & security fixes, and performance improvements.✖️ No CUDA 12
rc.13only ships CUDA 13 binaries, as ONNX Runtime has deprecated CUDA 12.🧩 Custom operator ergonomics
Custom operators have been reworked to have a more Rusty interface:
struct MyOperator; impl Operator for MyOperator { + type Kernel<'attr> = ort::operator::BoxedKernel<'attr>; fn name(&self) -> &str { "MyOperator" } - fn inputs(&self) -> Vec<OperatorInput> { - vec![OperatorInput::required(TensorElementType::Float32), OperatorInput::required(TensorElementType::Float32)] + fn inputs(&self) -> impl IntoIterator<Item = OperatorInput> { + [OperatorInput::required(TensorElementType::Float32), OperatorInput::required(TensorElementType::Float32)] } - fn outputs(&self) -> Vec<OperatorOutput> { - vec![OperatorOutput::required(TensorElementType::Float32)] + fn outputs(&self) -> impl IntoIterator<Item = OperatorOutput> { + [OperatorOutput::required(TensorElementType::Float32)] } - fn create_kernel(&self, _: &KernelAttributes) -> ort::Result<Box<dyn Kernel>> { - Ok(Box::new(|ctx: &KernelContext| { + fn create_kernel<'attr>(&self, _: &KernelContext<'attr>) -> ort::Result<Self::Kernel<'attr>> { + Ok(Box::new(|ctx: &ComputeContext| { ... })) } }ℹ️ Custom diagnostic messages
ortnow uses the wonderful#[diagnostic]attributes to drastically improve the clarity of commonly encountered errors.☑️ Miri-approved
Test coverage was expanded and
ortwas ran against Miri, and a few unsoundness bugs were fixed.✨ Other features
8db51e7Add VSINPU EP5688cce(ort-web): Allow creating tensors from images.726dc7cExpose the DirectML EP API.5e669f6Support string array operator attributes5f99738Support float16 tensor usage with the nativef16type on nightly Rust62ad710(ort-candle): Updatecandleto 0.11d5dc28f(ort-tract): Updatetractto 0.23🔧 Other fixes
d5eb59fCommitting a session which has a map input/output will no longer panic.d2838f8Fixed the fallback behavior whenort-syscan't create a system-wide cache dir.26f656bAllowDynTensorto beCloned.e336d6bAllow0dimensions in tensors.14e9d29Fix tensor byte size calculation for 8-bit floating point types.7bdabccAllowtry_extract_scalarto work on tensors with shape[1].85f6074Fixed retrieving string attributes in custom operator shape inference contexts.17ed727Don't deadlock whenload-dynamicfails.a5ee3adDon't forcestdforndarraywhenstdis enabled.d535605Allowcopy-dylibsto work independently ofdownload-binaries.49413baRerunbuild.rson macOS when Xcode updates.bb20575Warn when AVX-2 isn't supported when using pyke binaries.9c840a3Support FreeBSD.01f377bSupport Mac Catalyst.❤️🧡💛💚💙💜
v2.0.0-rc.12Compare Source
2.0.0-rc.12
💖 If you find
ortuseful, please consider sponsoring us on Open Collective 💖🤔 Need help upgrading? Ask questions in GitHub Discussions or in the pyke.io Discord server!
This release was made possible by Rime.ai!
📍 Multiversioning
The big highlight of this release is multiversioning:
ortcan now use any minor version of ONNX Runtime from v1.17 to v1.24. New features are gated behindapi-*feature flags, likeapi-20orapi-24. These flags will set the minimum version of ONNX Runtime required byort.More info 👉 https://ort.pyke.io/setup/multiversion
🪄 Automatic device selection
With ONNX Runtime 1.22 or later,
ortwill now automatically use an NPU if one is available for maximum efficiency & power savings! Setting your own execution providers will override this.This is thanks to the super cool new
SessionBuilder::with_auto_deviceAPI! There's alsoSessionBuilder::with_devicesfor finer control.👁️ CUDA 13
ortnow ships builds for both CUDA 12 & CUDA 13! It should automatically detect which CUDA you're using, but if it gets it wrong, you can override it by setting theORT_CUDA_VERSIONenvironment variable to12or13.🩹
SessionBuildererror recoveryYou can now recover from errors when building a session by calling
.recover()on the error type to get theSessionBuilderback.🛡️ Build attestations
Prebuilt binaries are now attested via GitHub Actions, so you can verify that they are untampered builds of ONNX Runtime coming straight from pyke.io.
To verify, download your binary package of choice and use the
ghCLI to verify:(Also note that the SHA-256 hash lines up with the one defined in
dist.txt.)Moving stuff around
ORT_LIB_LOCATIONenvironment variable has been renamed toORT_LIB_PATH._LOCATION.ort::tensoris now inort::value, because why have atensormodule if theTensor<T>type actually comes from thevaluemodule?IoBindingandAdapterwere moved from their own modules intoort::session. All sub-modules ofort::sessionbesidesbuilderwere collapsed intoort::session.ort::operatorwere collapsed intoort::operator.with_denormal_as_zero->with_flush_to_zerowith_device_allocator_for_initializers->with_device_allocated_initializersFixes
c52bd2aFix MIGraphX registration.374a9d1Fix global environment thread poolsff08428Fix a segfault inTensor::clone.3d6c2a9Use new API to load the DirectML EP.5913ae0Make vcpkg builds work again.079ecb4Fix issues with multiple environment registration.❤️🧡💛💚💙💜
hasenbanck/resampler (resampler)
v0.5.1Compare Source
Fixed
ResamplerFirwith high resample ratios (#36)v0.5.0Compare Source
Added
ResamplerFir(#34)Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR was generated by Mend Renovate. View the repository job log.