📈 GH Trending Explorer 🎲 Surprise me

Search: from-scratch · clear

rasbt / LLMs-from-scratch

Implement a ChatGPT-like LLM in PyTorch from scratch, step by step

▲ ~280/7d ★ 107k Jupyter Notebook 19d ago
FareedKhan-dev / kimi-k3-in-c

A 2.78-trillion-parameter Kimi K3 running inference on a single CPU in 8.24 GB of RAM. Portable C99: no BLAS, no framework, no GPU.

▲ ~28/7d ★ 9.1k C 20d ago
fancyboi999 / ai-engineering-from-scratch-zh

Agent工程师最全学习路径 · 从零精通 AI 工程 · 20 阶段 542 课 · 中文全量翻译 + 配套站点 + 动画讲解视频 · 如何成为 AI Agent 工程师的修成指南

▲ ~21/7d ★ 1.3k Python 1d ago
Exorust / TorchLeet

LeetCode for PyTorch — 65 ML/AI interview problems from real interviews at Google, Meta, Anthropic. Jupyter notebooks, an auto-grader, and an MCP AI tutor.

▲ ~14/7d ★ 2.6k Jupyter Notebook 1d ago
TrenTorch / TrenTorch

Don't memorize ML. Understand it from first principles including Inference, Cuda, Deep Learning, Data Science and Reinforcement Learning

▲ ~14/7d ★ 616 Python 1d ago
VeryBaaad / ZNNext

A from-scratch, standalone implementation of the Zygisk Next module

▲ ~7/7d ★ 69 Rust today
michaeldale / velocity9x

A from-scratch Windows 98 display driver with hardware Direct3D OpenGL & Glide on the Intel GMA 950 and S3 ViRGE/DX and Trio3D/2X, 2D on S3 Trio32/64, and a VESA fallback.

▲ ~7/7d ★ 64 C today
SaladDay / pi-from-scratch

600 行 TypeScript 写成的超级迷你版 pi,让你轻松从 0 写出属于你的 pi-agent

▲ ~0/7d ★ 1.3k TypeScript 2mo ago
zengxiao-he / tessera

From teacher to tiles — a from-scratch LLM distillation & serving engine: custom Triton/CUDA kernels, FSDP distillation, paged-KV continuous batching, speculative decoding, a Rust gateway, a JAX oracle, and interpretability tooling.

▲ ~0/7d ★ 558 Python 12d ago
ammaarreshi / RedAlert2-Mac-iOS-iPad

Red Alert 2 + Yuri's Revenge running natively on iPhone and iPad. EA never released RA2's source, so this builds on Chrono Divide's from-scratch TypeScript engine — proprietary, used with the author's permission, non-commercial only — wrapped in a Swift/WKWebView shell. Bring your own retail copy; no game assets included.

▲ ~0/7d ★ 440 TypeScript 2mo ago
UditAkhourii / neuroarxiv

A skill to kill from-scratch coding — Claude checks real arXiv prior art before it designs a new architecture.

▲ ~0/7d ★ 436 TypeScript 1mo ago
wasif-exe / wire

Wire v9: from-scratch ultra-low-latency HFT stack in Rust and C. 24 crates: TCP/IP, AF_XDP, VFIO PCIe DMA, LMAX Disruptor, AVX2/AVX-512 SIMD, flat-array matching engine (11 cyc), HugePage slab (1.5 ns), lock-free MPMC, CME MDP 3.0 SBE, eBPF XDP risk. Zero heap allocs on the hot path. 46/46 tests pass.

▲ ~0/7d ★ 87 Rust 3d ago
novapowers0 / BloodyRoar2Recomp

PSX recompilation of Bloody Roar II (SLES-01722 EU / SCUS-94424 USA). Anti-copyright: bring your own disc. Dual-region builds, from-scratch widescreen + curated mods.

▲ ~0/7d ★ 73 C 9d ago
dennishilk / boringos

Independent desktop operating system with its own kernel, userspace and native BoringWM, written primarily in C

▲ ~0/7d ★ 62 C 20d ago
imdigitalashish / gpt-from-scratch

A single executed notebook building and training a small GPT with RoPE and a phase-aware sparse MoE experiment

▲ ~0/7d ★ 56 Jupyter Notebook 2mo ago
ZeusAFK / LibreKO

A from-scratch reimplementation of the Knight Online game server and client

▲ ~0/7d ★ 48 C# today
whoashish115 / hypertracer

A from-scratch C++ implementation of Ray Tracing in One Weekend, extended with CUDA GPU acceleration, physically based rendering, progressive sampling, and procedural scenes.

▲ ~0/7d ★ 46 Cuda 1mo ago
natera-open-source / vep-rs

A fast, memory-efficient variant effect predictor written in Rust: a from-scratch reimplementation of the Ensembl Variant Effect Predictor (VEP) that takes the same inputs and flags, emits VEP's consequence vocabulary in VEP's output formats, and annotates population-scale callsets two orders of magnitude faster than the Perl implementation.

▲ ~0/7d ★ 46 Rust today
TimRots / kimi3

Independent from-scratch implementation of the Kimi K3 architecture (arXiv:2607.24653v1): KDA, NoPE, latent-space MoE, and the systems co-designs. Table 1 reproduced to 0.09%.

▲ ~0/7d ★ 42 Python 2mo ago
dev-luigi / neural-network-digits

Neural network from scratch in pure Python + NumPy that recognises handwritten digits (MNIST), with an educational GUI: watch it learn, tweak it while it trains, look inside every layer.

▲ ~0/7d ★ 42 Python 20d ago
kindlingai / gr8

GLM-5.3 (full) on 3-6 DGX Sparks (GB10): a from-scratch CUDA inference engine

▲ ~0/7d ★ 38 Cuda today
Leoxia55 / agent-from-scratch

从零手写一个 AI Agent 的教学型 Python 项目:不依赖任何智能体框架实现核心循环,用约 3700 行可通读的代码,把 Agent 拆成乐高积木式的基础部件——模型调用、工具协议、执行上下文、记忆、RAG、Skills、E2B 沙箱与多智能体编排,逐层拼装、每一步都能追到源码。附 20 个可运行示例、21 章系统课程与 30 篇分层文档,配有单元与集成测试、mypy 严格类型检查。学操作系统要写迷你 OS,学数据库要写迷你数据库,学 Agent 就该亲手写一个:先建知识底座,再上生产框架。适合初学者、大学生与用过框架想补原理的工程师。MIT 开源,Python 3.13。

▲ ~0/7d ★ 31 Python 26d ago
hamza01055 / ml-from-scratch

Machine learning from scratch with Python and NumPy. Explore 12 chapters covering regression, neural networks, trees, clustering, SVMs, and autodiff with mathematical derivations, interactive notebooks, gradient verification, and 59 automated tests. No scikit-learn or PyTorch.

▲ ~0/7d ★ 28 Jupyter Notebook today
xenosworks / xsdk

A from-scratch homebrew SDK for Xbox 360 titles on the retail kernel, with a GPU layer that drives Xenos directly

▲ ~0/7d ★ 27 C today
unrealJune / kindshare

Receive files from Android Quick Share on a jailbroken Kindle - no cable, no router, nothing on the phone. Includes a SoftAP mode and a from-scratch Go implementation of the Nearby Share protocol.

▲ ~0/7d ★ 25 Go 1mo ago
harshitkhandelwal208 / hk

Local LLMs that run lean, load instantly and keep getting smarter. A from-scratch runtime + model format in Zig: zero-copy mmap, CPU/CUDA/Vulkan engines, OpenAI-compatible server, 2:4 sparsity, Net2Net growth, in-file version history, self-learning loops.

▲ ~0/7d ★ 25 Zig today
sameh0 / android-rapid-transfer

Native, notarized Android File Transfer for macOS and Linux — a from-scratch Swift MTP engine. No Electron, no drivers, no cloud.

▲ ~0/7d ★ 25 Swift 4d ago
liiiiiiiiil / coding-agent-from-scratch

Build an AI Coding Agent from Scratch in Pure Python, Step by Step | 用纯 Python 从零搭建 AI 编程 Agent,边实现边理解其工作原理