ruvnet
|
758fce1a22
|
chore(workspace): cargo fmt nested workspaces — rvf/, examples/*
Root-level `cargo fmt --all` doesn't recurse into nested workspaces
(crates/rvf/, examples/onnx-embeddings/, examples/data/, …), but
CI's `cargo fmt --all -- --check` was failing on files inside them
(e.g. crates/rvf/rvf-wire/src/hash.rs).
Ran `cargo fmt --all` inside each nested workspace. Mechanical-only
whitespace, no semantic change.
Touched nested workspaces:
crates/rvf/*
examples/onnx-embeddings/*
examples/data/*
examples/mincut/*
examples/exo-ai-2025/*
examples/prime-radiant/*
examples/rvf/*
examples/ultra-low-latency-sim/*
examples/edge/*
examples/vibecast-7sense/*
examples/onnx-embeddings-wasm/*
Combined with previous commit (96d8fdc17), the full workspace tree
should now pass `cargo fmt --all -- --check` in CI.
Co-Authored-By: claude-flow <ruv@ruv.net>
|
2026-04-24 10:51:14 -04:00 |
|
rUv
|
78aea004f6
|
feat(examples): Add ONNX-Rust embeddings example for RuVector
Reimagined embedding generation using ONNX Runtime in pure Rust:
- Native ONNX inference via ort crate with GPU support (CUDA, TensorRT, CoreML)
- HuggingFace tokenizer integration for 8+ pretrained models
- Multiple pooling strategies (Mean, CLS, Max, etc.)
- SIMD-optimized distance calculations
- Batch processing with parallel execution
- Direct RuVector HNSW index integration
- RAG pipeline support
- WebGPU/CUDA-WASM GPU acceleration with 11 WGSL compute shaders
46 tests pass with GPU feature, comprehensive benchmarks included.
|
2025-11-29 18:11:26 -05:00 |
|