Pick your starting point.
| You want to... | Read first |
|---|---|
| Run something right now (5 min) | QUICKSTART.md |
| Walk through the framework end-to-end | getting-started.md |
| Find recipes for a specific task | cookbook.md |
| Try the worked examples | ../examples/README.md |
| Something is broken | troubleshooting.md |
- QUICKSTART.md — three 5-minute paths: image processing, training, edge deployment. Pick one, copy code, you're running.
- getting-started.md — full progressive tutorial through every layer of the framework. Start here for a proper walkthrough.
- cookbook.md — 1400-line recipe collection. Self-contained code for every common task with copy-paste commands.
- pipeline-config.md — full TOML schema
reference:
[camera],[output],[encoder],[[tasks]],[realtime]. Validation order, accelerator-by-feature table. - edge-deployment.md — Rockchip / NPU deep dive: DMA-BUF zero-copy V4L2→NPU, on-chip SRAM, MPP zero-copy from hardware decoder, dynamic-shape matmul for LLMs, custom OpenCL ops with Rust callbacks.
- onnx-inference.md — ONNX runtime: CPU (122 ops), Apple MPSGraph, wgpu (cross-platform GPU). Triple- buffered submit/wait API for sustained throughput.
- onnx-cpu-kernels.md — CPU hot-path map for ONNX Conv/MatMul: fused kernels, asm vs intrinsics coverage, Orange Pi tracker numbers, and A/B env toggles.
- microarch-dispatch.md — north-star
vision (drop-in ORT-CPU replacement, one crate, runtime auto-detect)
and the per-microarchitecture kernel dispatch architecture: the
Cpu/Microarchidentity layer, capability-first selection table, per-core kernel files, and the zero-regression phased roadmap. - mpsgraph-guide.md — standalone guide for the Apple Silicon MPSGraph path: when to use, full API reference, sync vs pipelined, multi-input models, fallback, troubleshooting. One-stop shop for yscv's fastest backend on macOS.
- gpu-backend-guide.md — standalone guide for the wgpu cross-platform GPU path (Vulkan / Metal / DX12 / GL): platform selection, compiled f16 plans, multi-GPU, WGPU_BACKEND env var, troubleshooting. The one to read on Linux/Windows.
- feature-flags.md — canonical reference for every Cargo feature flag across the workspace: what it does, setup per platform, combination recipes.
- ../crates/yscv-pipeline/README.md — multi-accelerator dispatcher, recovery, hot-reload, watchdog.
- ../crates/yscv-onnx/README.md — ONNX-specific layer documentation.
- ../crates/yscv-kernels/README.md — CPU SIMD + GPU kernels, RKNN backend with full SDK 2.4.3a0 coverage.
- video-pipeline.md — H.264 / HEVC / AV1 software decode (faster than ffmpeg), hardware decode (VideoToolbox / VAAPI / NVDEC / MediaFoundation), MP4 / MKV container parsing, audio metadata.
- training-optimizers.md — 8 optimizers (SGD → LARS), Lookahead meta-optimizer, 11 LR schedulers, 17 loss functions, gradient clipping, the high-level Trainer API.
- training-augmentation.md — data augmentation pipeline: 12+ transforms, MixUp/CutMix, sampling, reproducibility (deterministic via seed).
- dataset-adapters.md — supported dataset formats: training (JSONL, CSV, ImageManifest, ImageFolder), evaluation (COCO, OpenImages, YOLO, VOC, KITTI, WIDER FACE, MOT Challenge).
- architecture.md — crate dependency layers,
yscv-cpuhost identity, SIMD dispatch model (AVX-512/AVX2/AVX/SSE/NEON + scalar fallback), threading strategy, memory patterns, source-file map. - ecosystem-capability-matrix.md — canonical map of every capability area, status, and gap relative to a Python CV/DL stack.
- performance-benchmarks.md — measured CPU tracker + single-op tables vs onnxruntime / NumPy / PyTorch (x86 Zen 4 + Orange Pi A53), with methodology and reproduction commands; Apple-Silicon / Metal / video sections retained as provisional.
- api-stability.md — versioning policy, per-crate stability tiers, release checklist, publish order.
- troubleshooting.md — common build / runtime / performance errors with concrete fixes per platform.
| Crate | What it does |
|---|---|
| yscv | Umbrella — re-exports prelude + per-crate APIs. |
| yscv-cpu | Cached host CPU identity and runtime feature detection shared by dispatch. |
| yscv-tensor | N-dim tensor with 115 ops, f32/f16/bf16, SIMD-aligned storage. |
| yscv-kernels | CPU + GPU compute backends, 315 SIMD functions, RKNN bindings. |
| yscv-autograd | Reverse-mode autodiff, 61 backward op variants. |
| yscv-optim | Optimizers + LR schedulers + Lookahead. |
| yscv-model | 39 layer types, Trainer, model zoo (17 architectures), LoRA, EMA. |
| yscv-imgproc | 160 image-processing ops (blur, edges, morphology, features, color). |
| yscv-video | H.264/HEVC/AV1 codecs, hardware decode, MP4/MKV, V4L2 camera, audio. |
| yscv-detect | YOLOv8/v11 pipeline, NMS, heatmap decoding. |
| yscv-track | DeepSORT, ByteTrack, Kalman filter, Hungarian assignment. |
| yscv-recognize | Cosine matching, VP-Tree ANN indexing, enroll/match. |
| yscv-eval | Classification / detection / tracking / regression / image-quality metrics. |
| yscv-onnx | 122 op ONNX CPU runtime, INT4/INT8 quantization, LLM generation, MPSGraph GPU. |
| yscv-pipeline | TOML-driven multi-accelerator dispatch, RT wiring, recovery. |
| yscv-cli | Inference + evaluation CLI: camera diagnostics, dataset eval, pipeline runner. |
- QUICKSTART §1 — get running in 3 minutes.
- cookbook.md §image processing — find the ops you need.
- yscv-imgproc README — the full op catalogue.
- QUICKSTART §2 — first training loop.
- getting-started.md §step 4 — full Trainer walkthrough.
- training-optimizers.md + training-augmentation.md + dataset-adapters.md — when you need control.
- QUICKSTART §3 — minimal TOML + 5-line
main.rs. - edge-deployment.md — every NPU feature (DMA-BUF, SRAM, MPP, custom ops).
- pipeline-config.md — TOML schema reference.
- yscv-pipeline README — runtime entry point.
- troubleshooting.md — when
librknnrt.soisn't found, when SCHED_FIFO needs CAP_SYS_NICE, etc.
- README.md (top-level) — what is yscv, what's the pitch.
- performance-benchmarks.md — how fast on what hardware vs whom.
- ecosystem-capability-matrix.md — capability gaps vs Python stack.
- architecture.md — design philosophy + crate layering.
- api-stability.md — versioning + breaking-change policy.
- architecture.md — understand the layers first.
- ecosystem-capability-matrix.md — find what's missing.
- api-stability.md — what's safe to change vs needs RFC.
- Open an issue or PR. We respond fast.