Training neural nets inside LLMs: XOR MLP goes 53% to 98.8% in 40 steps on simulated QwenGPUs

zeeshanp_ · x · 2026-11-03

Developer zeeshanp shared the first experiment from the QwenGPU project: training a 2-8-1 MLP on XOR with distributed data parallelism entirely inside LLMs. Forward pass, backward pass, AllReduce, and updates all run as CUDA kernels on the simulated GPUs.

Related event: QwenGPU: Simulating GPU Training Inside an LLM(4 posts)→

Original post →

More from Fun

Fun channel →