Sovereign 8s.is mirror of 8b-is/aurora-8b
- Rust 100%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| crates | ||
| .gitignore | ||
| Cargo.lock | ||
| Cargo.toml | ||
| README.md | ||
AURORA-8b (Aurora-8B-Ultra-RL v0.5.0)
Sovereign Pure-Rust Voice AI Engine, Unified Discrete Quantal (p/q) Audio-Text Architecture, Discord DAVE v1 MLS E2EE Streamer, and #![no_std] ESP32-S3/P4 Split-Compute Edge Node.
Architecture & Crates
| Crate | Binary / Lib | Role |
|---|---|---|
crates/wa-voice-engine |
wa-voice-engine / wa_voice_engine |
#![forbid(unsafe_code)], zero-external-crate core adhering to the 8b-is No-Float Law: /voice-ai-engine-development Worker Pipeline (TranscriberEngine echo suppression, Transcript + AgentEngine sentence buffering, SynthesisResult::get_message_up_to_ms word-boundary barge-in cutoff, InterruptibleEvent), Aurora-8B-Ultra-RL 160,132-token Unified p/q Quantal Audio-Text framing (20-byte AuroraPqFrame + 42-byte Quantal80msPacket), 8-Class Multi-Horizon Semantic VAD (0.5s/1.0s/2.0s/3.0s), Rolling KV Cache (80ms/120ms/160ms), 5-layer MTP speculative draft verifier, Stage-3 MOPD2 multi-teacher distillation scorer, Stage-4 GRPO/GRS/GAR Q15 reward scorers, Stage-5 1.58-bit Ternary ({-1, 0, +1}) static TERNARY_5TRIT_LUT (1,280-byte L1 .rodata) O(1) unpacker & 5-wide as_chunks::<5>() zero-multiplication dot-product kernel (2.18 Gtrits/sec), loop-peeled zero-allocation 48 kHz -> 16 kHz 3:1 integer FIR decimator (14,492x real-time), block Q15 NLMS AEC (3,371x real-time), static OGG_CRC32_LUT 4-byte unrolled RFC 3533 OggS/Opus demuxer/muxer, 64-bin Discord IS_VOICE_MESSAGE (flags=8192) waveform shaper, Q15 LUT 44.1 kHz WAV synthesizer, and g8t.is sovereign capsule publisher. |
crates/aurora-voice |
aurora-voice-rs |
tracel-ai/burn 0.22.1 LFM2.5-8B-A1B (GatedShortConv + GQA + SparseMoE with expert_bias & zero-clone final expert) + 8-Codebook Depthformer + Kokoro-82M ISTFTNet 24 kHz generator (single-pass centered variance AdaIn1d) + Edge0/Audio8-TTS-Realistic-0.6b (ArkttsModel DualAR) + Full-Duplex Serenity + Songbird + Davey Discord DAVE v1 MLS E2EE Voice Gateway (Lounge 1531504527398797588 in 𝓼𝓬𝓲𝓕𝓲𝓷𝓲𝓶𝓮 1531504525704429760) + 24/7 Tech News Anchor + Online Burn GRPO RL synced to PeetPedro/voice-finetuning. |
crates/aurora-esp32-node |
aurora-esp32-node |
#![no_std] ESP32-S3/P4 Edge Firmware (esp-hal Circular I2S DMA for INMP441 16 kHz mic + MAX98357A speaker amp, single-tap & frame-level Q15 NLMS AEC, burn-flex 8 MB PSRAM Quantal Micro-Frontend, and zero-allocation RFC-6455 42-byte 4.2 kbps 0xA8B0 WebSocket framing to /v1/aurora-esp32). |
v0.5.0 Wild Performance Benchmarks (Apple M3 Max, Pure Safe Rust, #![forbid(unsafe_code)])
| Kernel | Latency | Throughput / Real-Time Speedup | Technique |
|---|---|---|---|
ternary_dot_i16_q15 (320 trits / 64 bytes) |
146 ns |
2,186 Mtrits/sec (2.18 Gtrits/sec) |
static TERNARY_5TRIT_LUT: [[i8; 5]; 256] (1,280 B in .rodata) + 5-wide as_chunks::<5>() branchless accumulation |
decimate_48k_to_16k_into_q15 (960 -> 320 samples, 20 ms) |
1,380 ns (1.38 µs) |
14,492x real-time |
Loop-peeled head (m = 0) & tail (m = 319) so interior 1..319 auto-vectorizes with zero boundary branches |
nlms_aec_block_q15 (320 samples, 20 ms) |
5,932 ns (5.93 µs) |
3,371x real-time |
Zero-branch in-place Q15 NLMS block kernel |
ogg_crc32 (1,024 B Ogg Opus page) |
511 ns |
2,003 MB/sec (2.0 GB/sec) |
Compile-time static OGG_CRC32_LUT: [u32; 256] + 4-byte unrolled loop |
Quantal80msPacket (42 B 0xA8B0 pack + unpack + bridge) |
34 ns |
29.4 Mpackets/sec |
Stack-exact 42-byte (4.2 kbps @ 80 ms) binary codec |
Unified Discrete Quantal (p/q) Vocabulary (160,132 Tokens)
\mathcal{V}_{\text{Aurora}} = \underbrace{\mathcal{V}_{\text{text}}}_{151,936} \;\cup\; \underbrace{\mathcal{V}_{\text{audio}}^{(p=0)}}_{8,192} \;\cup\; \underbrace{\{\texttt{<|vad\_wait|>},\; \texttt{<|vad\_interrupt|>},\; \texttt{<|voice\_clone\_ref|>},\; \texttt{<|esp32\_cmd|>}\}}_{4}
- Slow-AR Semantic Trunk (
p = 0): 8B Dense Transformer (32layers,d_model = 4096,GQA32Q / 8KV,SwiGLU,RoPE\theta = 10^6, 5-layerMTPspeculative decoding head). - Fast-AR Acoustic Head (
q = 1..8):0.6BDualARarktts(Edge0/Audio8-TTS-Realistic-0.6b) predictingq = 8residual vector quantization (RVQ) codebooks (1024entries each) per21.5 Hz(2048-sample @44.1 kHz) frame. - Stage-5 Rational
p/qTernary Micro-Weights:pack_ternary_5trits_u8packs 5 ternary weights ({-1, 0, +1}) into a single base-3 byte (3^5 = 243 <= 255) forESP32-S38 MB PSRAM deployment with zero-multiplication dot products (ternary_dot_i16_q15).
Verified g8t.is Sovereign Function Capsules (432 Hz Aye Attestation)
| # | Capsule ID | Function | Domain |
|---|---|---|---|
| 1 | b4fbdd0ebac4db575b0e38dc5a90ec75 |
voice_ogg_crc32_step |
signal |
| 2 | 43bc0f308e21ec2c56458abd3e76bd9a |
voice_waveform_envelope_bin |
signal |
| 3 | 0a5c95f7971d556bf514dbdf85acf317 |
voice_interrupt_word_cutoff |
numeric |
| 4 | cb8111b61bd54b1f8831ac38106dd67b |
aurora_pq_quantal_token_id |
signal |
| 5 | c5636c2ba978457fb480a32098b39068 |
aurora_semantic_vad_horizon_gate |
signal |
| 6 | dd168d1447da97a79eb556fcec2b41d4 |
aurora_grpo_advantage_q15 |
signal |
| 7 | 4134cafea9b0adf5eb072c2e180b0489 |
aurora_ternary_pack_5trits |
signal |
| 8 | d437ee3acb7491f7c3e1a081301eaf73 |
aurora_mopd2_distill_loss_q15 |
signal |
| 9 | d7bf5878b192818865f9d4bb980b3e4e |
aurora_quantal_80ms_header_pack |
signal |
Quick Start
# Run strict Clippy & Unit/Integration Tests
cargo clippy --manifest-path crates/wa-voice-engine/Cargo.toml -- -D warnings
cargo test --manifest-path crates/wa-voice-engine/Cargo.toml
cargo test --manifest-path crates/aurora-esp32-node/Cargo.toml
cargo test --manifest-path crates/aurora-voice/Cargo.toml
# Run E2E Voice Pipeline, Blueprint, & Ternary/FIR/AEC Benchmarks
cargo run --release --manifest-path crates/wa-voice-engine/Cargo.toml -- e2e
cargo run --release --manifest-path crates/wa-voice-engine/Cargo.toml -- aurora-blueprint
cargo run --release --manifest-path crates/wa-voice-engine/Cargo.toml -- ternary-bench