Oussema Harbi's picture

Oussema Harbi

Harbous

AI & ML interests

None yet

Recent Activity

reacted to philipp-zettl's post with ๐Ÿ‘ about 1 month ago
I've been cooking something neat over the past weeks ๐Ÿ‘จโ€๐Ÿณ We all know that training LLMs requires a lot of resources and especially a lot of compute in form of GPUs, or is super slow and inefficient when done on CPUs. The big players use giant clusters of Nvidia H100s. But if I look at the profiles of my fellow home brewers, all we can get our hands on are those pesky consumer RTX's. If you're lucky you got yourself a 5080 with 16GB VRAM or something. To be frank, I don't have that 1.3k disposable cash laying around ยฏ\_(ใƒ„)_/ยฏ But I can write rust and like building ML libraries. So I asked myself the question(s): - can I train SMLs at home on my hardware? - How hard can it be to build a ML library that can stream data between RAM and VRAM on demand, like llama.cpp's unified memory feature [^1]? - how hard can it be to implement bf16 support? The answers are wild, trust me! Image 1: Metrics form last nights build on my "tiny" RTX 2060 (6 GB VRAM) Image 2: Metrics from my most recent build on my RTX 4070 Laptop (8GB VRAM) The majority of my time went into the shared memory, but it's stable and I'm very excited! Here some debug logs, a la "trust me bro" ``` ---- Currently available: 1112735744, attempting to reclaim: 1073741824 --- VRAM STATE [backward pass] --- Driver Used: 6744 MB / 7805 MB Data on GPU: 1641 MB Grads on GPU: 3459 MB CPU Offloaded: 18230 MB --------------------------------- Currently available: 1079181312, attempting to reclaim: 1073741824 --- VRAM STATE [backward pass] --- Driver Used: 6776 MB / 7805 MB Data on GPU: 1561 MB Grads on GPU: 3279 MB CPU Offloaded: 18590 MB ----------------------------- ``` Final models get exported in `safetensors` format and are compatible with PyTorch and `transformers`, for accessibility. - [^1]: https://github.com/ggml-org/llama.cpp/blob/master/docs/build.md#unified-memory
reacted to kanaria007's post with ๐Ÿ‘ 4 months ago
โœ… New Article: *Post-Transformer Decision Cores* (v0.1) Title: ๐Ÿš€ Post-Transformer Decision Cores: Goal-Native Engines Beyond LLMs ๐Ÿ”— https://huggingface.co/blog/kanaria007/post-tranformer-decision-cores --- Summary: Transformers are powerfulโ€”but in SI-Core theyโ€™re *not the essence of intelligence*. A *Decision Core* is anything that satisfies the *Jump contracts* (OBS/ETH/MEM/ID/EVAL + RML), and those contracts donโ€™t require next-token prediction. This article sketches what โ€œpost-Transformerโ€ looks like in practice: *goal-native, structure-aware controllers* that may use LLMs as toolsโ€”but donโ€™t depend on them as the runtime brain. > Donโ€™t relax the contracts. > Replace the engine behind them. --- Why It Matters: โ€ข Makes LLMs *optional*: shift them to โ€œgenesis / exploration / explanation,โ€ while routine high-stakes Jumps run on structured cores โ€ข Improves boring-but-critical properties: *determinism (CAS), fewer inconsistencies (SCI), fewer ETH violations (EAI), better rollback (RBL/RIR)* โ€ข Enables gradual adoption via *pluggable Jump engines* and domain-by-domain โ€œprimary vs fallbackโ€ switching --- Whatโ€™s Inside: โ€ข The architectural inversion: *World โ†’ OBS โ†’ SIM/SIS โ†’ Jump (Decision Core) โ†’ RML โ†’ Effects* (LLM is just one engine) โ€ข Three compatible post-Transformer directions: 1. *World-model + search controllers* (MPC/MCTS/anytime search with explicit GCS + ETH constraints) 2. *Genius-distilled specialized controllers* (distill structure from GeniusTraces; LLM becomes a โ€œgenesis toolโ€) 3. *SIL-compiled Decision Programs* (typed Jump entrypoints, compiler-checked invariants, DPIR/GSPU targeting) โ€ข A realistic migration path: LLM-wrapped โ†’ Genius library โ†’ shadow dual-run โ†’ flip primary by domain โ†’ SIL-compiled cores โ€ข How this connects to โ€œreproducing geniusโ€: GRP provides trace selection/format; this article provides the engine architectures --- ๐Ÿ“– Structured Intelligence Engineering Series
View all activity

Organizations

ML intern explorers's profile picture