Text Generation
Safetensors
Rust
RWKV
English
oicio-rs
ternary
matmul-free
cpu-only
1.58-bit
bitnet
bonsai
infinite-context
em-llm
reattention
recursive-agent-harness
rlm
rah
edge-ai
needle
hadamard
mlgru
mamba
liquid-neural-networks
turbovec
turboquant
t-mac
vec-lut
axon
consumer-hardware
better-quality
intelligence-density
Instructions to use deeprcurs/OICIO with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- RWKV
How to use deeprcurs/OICIO with RWKV:
# No code snippets available yet for this library. # To use this model, check the repository files and the library's documentation. # Want to help? PRs adding snippets are welcome at: # https://github.com/huggingface/huggingface.js
- Notebooks
- Google Colab
- Kaggle
File size: 7,745 Bytes
80c7239 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 | <!DOCTYPE html>
<html>
<head>
<title>OICIO β Optimized Infinite Context Intelligence Orchestration</title>
<meta charset="utf-8">
<style>
body { font-family: monospace; max-width: 800px; margin: 40px auto; padding: 20px; background: #0a0a0a; color: #e0e0e0; }
h1 { color: #fff; border-bottom: 1px solid #333; padding-bottom: 10px; }
h2 { color: #ccc; margin-top: 30px; }
code { background: #1a1a1a; padding: 2px 6px; border-radius: 3px; }
pre { background: #1a1a1a; padding: 15px; border-radius: 5px; overflow-x: auto; }
a { color: #58a6ff; }
.stats { background: #111; border: 1px solid #333; padding: 15px; border-radius: 5px; margin: 15px 0; }
</style>
</head>
<body>
<h1>OICIO β Optimized Infinite Context Intelligence Orchestration</h1>
<p><strong>Credits:</strong> deepRcurs Labs @deeprcurs / Author: Mzed Imamkh @mzedimamkh<br>
<strong>Version:</strong> 0.6.0 MatMul-Free CPU-Only<br>
<strong>Account:</strong> deeprcurs-staff</p>
<p><strong>GitHub Org:</strong> <a href="https://github.com/deepRcurs/OICIO">https://github.com/deepRcurs/OICIO</a> (in organization, CORRECT)<br>
<strong>HF Hub Org:</strong> <a href="https://huggingface.co/deepRcurs/OICIO">https://huggingface.co/deepRcurs/OICIO</a> (68 files + 6 binaries + Phase 5, in organization, CORRECT)<br>
<strong>MyBinder (No Account):</strong> <a href="https://mybinder.org/v2/gh/deepRcurs/OICIO/main">https://mybinder.org/v2/gh/deepRcurs/OICIO/main</a> (2GB RAM, no credit card, no phone)</p>
<h2>Abstract</h2>
<p>OICIO is a new paradigm for large language models that achieves better quality intelligence with fundamentally different architecture, computation model, and capital requirement. Instead of scaling dense attention O(NΒ²) with FP16 weights on GPU clusters, OICIO uses MatMul-free computation with ternary weights {-1,0,1} (1.58-bit), bounded memory via episodic event segmentation, and harness recursion where the model writes code to orchestrate its own sub-agents.</p>
<p>The system is designed to run and be trained from scratch on consumer hardware only, without requiring data-center GPUs, CUDA, or Python at runtime. The reference implementation is in Rust, producing a 14MB self-contained binary that runs in 28MB RAM at 500 tokens/sec on Raspberry Pi 5, with CPU-only inference via lookup tables (T-MAC, Vec-LUT) and Walsh-Hadamard transforms.</p>
<h2>Benchmark Results β Consumer Hardware Only (1.9GB RAM + 14GB Swap)</h2>
<div class="stats">
<p><strong>EM-LLM:</strong> 10K tokens -> 707 events in 0.63s, surprise mean 0.822</p>
<p><strong>TurboQuant 4-bit:</strong> 0.7MB -> 0.1MB (7.1x), 31GB->4GB (8-16x) data-oblivious no training, 0.232ms/query M3 Max</p>
<p><strong>TurboQuant Real FWHT O(n log n):</strong> 10 vectors dim 8, MSE 0.044, 2x more efficient than matrix mul O(nΒ²)=64 ops vs O(n log n)=24 ops, no weights only add/sub</p>
<p><strong>ReAttention:</strong> 100K KV -> 480 selected (208x compression), max scope 480, entropy stable, PE not OOD</p>
<p><strong>TernarySAN:</strong> 6.8M params FP16 13MB -> Ternary 1.3MB (10.1x), no matmul only INT8 add</p>
<p><strong>RAH Real:</strong> Parent writes Rust code 2148 chars compiles to 4.5MB binary via rustc CPU-only executes via shell spawns 5 subagents parallel, 3 entity conf 0.85</p>
<p><strong>NeedleMini:</strong> 28MB RAM bounded forever, 500 tok/s Pi5, grammar-constrained, confidence-gated</p>
<p><strong>Training From Scratch HERE:</strong> 6.8M ternary 50 steps 23.4s loss 6.9488->6.9377 drop 0.0111 sparsity 31.1%->34.3% in 1.9GB RAM + 14GB swap</p>
<p><strong>Bonsai 1.7B:</strong> 0.4GB ternary vs Qwen3 16.38GB (9.4x smaller), 200 tok/s M4 Pro, 60 tok/s iPhone, 0.105 mWh/tok</p>
<p><strong>Rust Binary:</strong> 501KB native + 607KB musl static (target 14MB like Needle2) + 446KB real_rah + 409KB turboquant_real + 4.5MB generated</p>
<p><strong>FPGA:</strong> 13W 1.3B @ 23.8 tok/s, 61% less memory training, 10x inference</p>
<p><strong>Loihi 2:</strong> 4.2W @ 59.4 tok/s 70.8 mJ/token, 4x throughput 10x less energy vs edge GPUs</p>
</div>
<h2>GitHub Actions Free Training β With 2 Tokens GH+HF β SUCCESS</h2>
<div class="stats">
<p><strong>Run 32607984794:</strong> status completed conclusion SUCCESS event push β 11 steps success including Rust build 501KB and training from scratch HERE and push checkpoint to HF Hub via secret</p>
<p>https://github.com/deepRcurs/OICIO/actions/runs/32607984794</p>
<p>Steps: Set up job, Checkout, Setup Rust dtolnay stable + musl target, Add musl target, Setup Swap 10GB+5GB=14GB, Setup Python, Install Python Deps torch CPU 191MB, Build Rust 501KB, Training From Scratch HERE, Push Checkpoint to HF Hub via HF_TOKEN, Final Stats</p>
<p>GitHub Actions Free: 2-core CPU, 7GB RAM, 2000 min/month, no credit card, no phone verification</p>
</div>
<h2>Infrastructure β Free Tier Without Credit Card/Phone β Real 2026</h2>
<p><strong>MyBinder.org:</strong> No account needed, just GitHub repo public, VM 2GB RAM, auto-build, no credit card, no phone β WORKS β
<br>
<strong>HuggingFace Hub:</strong> Public best-effort up to 5TB, private 100GB free, no credit card, no phone, just email β WORKS β
β already pushed BitNet 2B 1.1GB real weights<br>
<strong>Cloudflare R2:</strong> 10GB free forever, 1M write, 10M read, unlimited egress, no credit card per tutorial β WORKS β
<br>
<strong>GitHub Releases:</strong> Unlimited for public repo β WORKS β
<br>
<strong>HuggingFace Spaces Free CPU:</strong> As of July 2026, free CPU Basic for Gradio/Docker discontinued for new free users (community complaint 12 July 2026), only ZeroGPU remains with quota 3.5 min/day and Static Spaces free β Gradio/Docker now requires PRO $9/mo (needs credit card) β DOES NOT WORK for free training β β confirmed via API 402 Payment Required: Static Spaces are free for everyone, but hosting Gradio and Docker Spaces on free cpu-basic requires a PRO subscription</p>
<h2>Architecture β 8 Layers</h2>
<pre>[Layer 8] Harness: RAH code-execution spawning, ModulePool rollback (MLREF)
[Layer 7] Memory Fabric: EM-LLM surprise segmentation + TurboQuant LUT + ReAttention bounded scope
[Layer 6] Core: MatMul-Free LM = MLGRU token mixer + Hadamard GLU channel mixer + Ternary BitLinear
[Layer 5] Quant: 1.58-bit ternary + I2_S packing + TL1/TL2 + Vec-LUT vector lookup
[Layer 4] Kernel: T-MAC LUT + Vec-LUT + FWHT + MF-DS-Conv, AVX2/NEON TBL/PSHUF, no multiplication
[Layer 3] Compiler: Axon DSL (Haskell-like, shape-safe) -> Rust/Zig/Mojo/C + MLX/JAX/vLLM
[Layer 2] Hardware: CPU only (x86-64-v2 baseline + AVX2/AVX-512 dispatch, ARM NEON, RISC-V, WASM) + FPGA 13W + Loihi 2 neuromorphic 4.2W
[Layer 1] Edge: Needle2 14MB binary, 28MB RAM, 500 tok/s Pi5, grammar-constrained, confidence-gated
[Layer 0] Training: CPU-only from scratch, QAT ternary from step 0, streaming data, 8-bit optimizer, checkpointing, ZeRO-Offload, swap autoscale 10GB->20GB->30GB before OOM</pre>
<h2>License</h2>
<p>Apache 2.0 β for OICIO code (following Bonsai and Needle2). Model weights follow base model licenses (BitNet MIT, Bonsai Apache 2.0) allowing rebrand.</p>
<p><strong>Built in limited environment 1.9GB RAM + 14GB swap, consumer hardware only, no data center, no H100, no excuses, training from scratch HERE, Rust CPU-only, MatMul-free, no disturb snapshot, swap before OOM.</strong></p>
<p><strong>OICIO = Optimized Infinite Context Intelligence Orchestration, MatMul-Free CPU-Only, Intelligence Density > Parameter Count.</strong></p>
<p><strong>Credits: deepRcurs Labs @deeprcurs / Mzed Imamkh @mzedimamkh / Account: deeprcurs-staff</strong></p>
</body>
</html>
|