YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context
Rust agentsagiaiai-memoryaudio-recordingcomputer-visionhermeshermes-agentllmlocal-ailocal-firstmachine-learningmcpmultimodalopenclawprivacyrewindscreen-recordingspeech-to-textycombinator
style: cargo fmt screenpipe-redact onnx/rfdetr adapters
Louis Beaumont7c34578df3ff
diff --git a/crates/screenpipe-redact/src/adapters/onnx.rs b/crates/screenpipe-redact/src/adapters/onnx.rsindex 2a52bb8a4..4e35f98f0 100644--- a/crates/screenpipe-redact/src/adapters/onnx.rs+++ b/crates/screenpipe-redact/src/adapters/onnx.rs@@ -785,8 +785,12 @@ mod runtime {// MLProgram + ComputeUnits::All offloads to the Apple Neural// Engine; measured ~3.4x faster than the legacy NeuralNetwork// default (which is slower than CPU) and lower CPU/GPU power.- .with_model_format(ort::execution_providers::coreml::CoreMLModelFormat::MLProgram)- .with_compute_units(ort::execution_providers::coreml::CoreMLComputeUnits::All)+ .with_model_format(+ ort::execution_providers::coreml::CoreMLModelFormat::MLProgram,+ )+ .with_compute_units(+ ort::execution_providers::coreml::CoreMLComputeUnits::All,+ ).with_subgraphs(true).build(),ort::execution_providers::CPUExecutionProvider::default().build(),diff --git a/crates/screenpipe-redact/src/adapters/rfdetr.rs b/crates/screenpipe-redact/src/adapters/rfdetr.rsindex 939645ebd..663d85192 100644--- a/crates/screenpipe-redact/src/adapters/rfdetr.rs+++ b/crates/screenpipe-redact/src/adapters/rfdetr.rs@@ -252,8 +252,12 @@ mod imp {#[cfg(feature = "onnx-coreml")]let builder = builder.with_execution_providers([ort::execution_providers::CoreMLExecutionProvider::default()- .with_model_format(ort::execution_providers::coreml::CoreMLModelFormat::MLProgram)- .with_compute_units(ort::execution_providers::coreml::CoreMLComputeUnits::All)+ .with_model_format(+ ort::execution_providers::coreml::CoreMLModelFormat::MLProgram,+ )+ .with_compute_units(+ ort::execution_providers::coreml::CoreMLComputeUnits::All,+ ).with_subgraphs(true).build(),ort::execution_providers::CPUExecutionProvider::default().build(),