mirror of
https://github.com/ruvnet/RuVector.git
synced 2026-05-28 09:53:36 +00:00
User picked path A (install Hailo Dataflow Compiler). Three items: 1. deploy/setup-hailo-compiler.sh (new, ~130 LOC) Operator-side bootstrap. Once the user has downloaded hailort_X.Y.Z_amd64.deb + hailo_dataflow_compiler-X.Y.Z-py3-none-linux_x86_64.whl from https://hailo.ai/developer-zone/sw-downloads/, this script: [1/5] verifies `uv` is on PATH (Python toolchain manager) [2/5] verifies the two downloaded files in operator-supplied dir [3/5] sudo apt-installs hailort_*.deb (HailoRT C lib + tools) [4/5] uv venv --python 3.10 ~/.cache/ruvector-hailo-compiler/venv uv pip install hailo_dataflow_compiler-*.whl + optimum [5/5] verifies `hailo --version` runs from the venv Required because Ubuntu 24.04 ships Python 3.12 by default, which breaks the dataflow-compiler wheel (vendored 3.10-only). uv handles the on-demand 3.10 install cleanly. bash -n: clean. Smoke-tested error paths. 2. ADR-167 — HEF acquisition section grounded against the verified Hailo Model Zoo state (queried via gh api 2026-05-02): Path A: install the Dataflow Compiler. Only path that produces a hailo8-targeted HEF for the Pi 5 + AI HAT+. Wired via setup-hailo-compiler.sh → compile-hef.sh. Path B: pre-compiled HEFs from hailo-ai/hailo_model_zoo. **NON-STARTER for our Hailo-8 hardware.** Every embedding/NLP model in the zoo (bert_base_uncased, tinyclip_vit_*, etc.) lists supported_hw_arch: [hailo15h, hailo10h] only. Path C: pure-Rust CPU fallback via candle-transformers. Realistic but a substantial diff (~400 LOC + 50 MB compiled deps). Documented as future option, not yet implemented. 3. ADR-173 — same reality-check on hailo-ai/hailo_model_zoo_genai: Pre-compiled HEFs exist for deepseek_r1, llama3.2/1b (Q4_0), qwen2/2.5/2.5-coder/3. **All target `hailo10h` only** — manifest.json files have only the `hef_h10h` field, no `hef_h8h` / `hef_hailo8`. Pi 5 + AI HAT+ Hailo-8 is therefore not served by the GenAI zoo today. Same compile-yourself path as ADR-167 applies. Once the user completes the dev-zone account creation + downloads, running setup-hailo-compiler.sh against the download dir + then compile-hef.sh produces the first hailo8-targeted HEF for this branch. Co-Authored-By: claude-flow <ruv@ruv.net> |
||
|---|---|---|
| .. | ||
| adr | ||
| analysis | ||
| api | ||
| architecture | ||
| benchmarks | ||
| cloud-architecture | ||
| cnn | ||
| code-reviews | ||
| dag | ||
| development | ||
| examples | ||
| gnn | ||
| guides | ||
| hnsw | ||
| hooks | ||
| implementation | ||
| integration | ||
| nervous-system | ||
| optimization | ||
| plans/subpolynomial-time-mincut | ||
| postgres | ||
| project-phases | ||
| publishing | ||
| research | ||
| reviews | ||
| ruvllm | ||
| rvagent | ||
| sdk | ||
| security | ||
| sparse-inference | ||
| sql | ||
| testing | ||
| training | ||
| .gitkeep | ||
| .nojekyll | ||
| agi-container.md | ||
| C2-shell-execution-hardening.md | ||
| C8_RESULT_VALIDATION_IMPLEMENTATION.md | ||
| consciousness-api.md | ||
| IMPLEMENTATION-C5.md | ||
| index.html | ||
| INDEX.md | ||
| moe-routing-optimization-analysis.md | ||
| README.md | ||
| REPO_STRUCTURE.md | ||
| research-openfang.md | ||
RuVector Documentation
Complete documentation for RuVector, the high-performance Rust vector database with global scale capabilities.
📚 Documentation Structure
docs/
├── adr/ # Architecture Decision Records
├── analysis/ # Research & analysis docs
├── api/ # API references (Rust, Node.js, Cypher)
├── architecture/ # System design docs
├── benchmarks/ # Performance benchmarks & results
├── cloud-architecture/ # Cloud deployment guides
├── code-reviews/ # Code review documentation
├── dag/ # DAG implementation
├── development/ # Developer guides
├── examples/ # SQL examples
├── gnn/ # GNN/Graph implementation
├── guides/ # User guides & tutorials
├── hnsw/ # HNSW index documentation
├── hooks/ # Hooks system documentation
├── implementation/ # Implementation details & summaries
├── integration/ # Integration guides
├── nervous-system/ # Nervous system architecture
├── optimization/ # Performance optimization guides
├── plans/ # Implementation plans
├── postgres/ # PostgreSQL extension docs
├── project-phases/ # Development phases
├── publishing/ # NPM publishing guides
├── research/ # Research documentation
├── ruvllm/ # RuVLLM documentation
├── security/ # Security audits & reports
├── sparse-inference/ # Sparse inference docs
├── sql/ # SQL examples
├── testing/ # Testing documentation
└── training/ # Training & LoRA docs
Getting Started
- guides/GETTING_STARTED.md - Getting started guide
- guides/BASIC_TUTORIAL.md - Basic tutorial
- guides/INSTALLATION.md - Installation instructions
- guides/AGENTICDB_QUICKSTART.md - AgenticDB quick start
- guides/wasm-api.md - WebAssembly API documentation
Architecture & Design
- architecture/ - System architecture details
- cloud-architecture/ - Global cloud deployment
- adr/ - Architecture Decision Records
- nervous-system/ - Nervous system architecture
API Reference
- api/RUST_API.md - Rust API reference
- api/NODEJS_API.md - Node.js API reference
- api/CYPHER_REFERENCE.md - Cypher query reference
Performance & Benchmarks
- benchmarks/ - Performance benchmarks & results
- optimization/ - Performance optimization guides
- analysis/ - Research & analysis docs
Security
- security/ - Security audits & reports
Implementation
- implementation/ - Implementation details & summaries
- integration/ - Integration guides
- code-reviews/ - Code review documentation
Specialized Topics
- gnn/ - GNN/Graph implementation
- hnsw/ - HNSW index documentation
- postgres/ - PostgreSQL extension docs
- ruvllm/ - RuVLLM documentation
- training/ - Training & LoRA docs
Development
- development/CONTRIBUTING.md - Contribution guidelines
- development/MIGRATION.md - Migration guide
- testing/ - Testing documentation
- publishing/ - NPM publishing guides
Research
- research/ - Research documentation
- cognitive-frontier/ - Cognitive frontier research
- gnn-v2/ - GNN v2 research
- latent-space/ - HNSW & attention research
- mincut/ - MinCut algorithm research
🚀 Quick Links
For New Users
- Start with Getting Started Guide
- Try the Basic Tutorial
- Review API Documentation
For Cloud Deployment
- Read Architecture Overview
- Follow Deployment Guide
- Apply Performance Optimizations
For Contributors
- Read Contributing Guidelines
- Review Architecture Decisions
- Check Migration Guide
For Performance Tuning
- Review Optimization Guide
- Run Benchmarks
- Check Analysis
📊 Documentation Status
| Category | Directory | Status |
|---|---|---|
| Getting Started | guides/ | ✅ Complete |
| Architecture | architecture/, adr/ | ✅ Complete |
| API Reference | api/ | ✅ Complete |
| Performance | benchmarks/, optimization/, analysis/ | ✅ Complete |
| Security | security/ | ✅ Complete |
| Implementation | implementation/, integration/ | ✅ Complete |
| Development | development/, testing/ | ✅ Complete |
| Research | research/ | 📚 Ongoing |
Total Documentation: 460+ documents across 60+ directories
🔗 External Resources
- GitHub Repository: https://github.com/ruvnet/ruvector
- Main README: ../README.md
- Changelog: ../CHANGELOG.md
- License: ../LICENSE
Last Updated: 2026-02-26 | Version: 2.0.4 (core) / 0.1.100 (npm) | Status: Production Ready