cd /news/artificial-intelligence/spawndev-ilgpu-ml-neural-network-inf… · home › topics › artificial-intelligence › article
[ARTICLE · art-168018] src=forum.level1techs.com ↗ pub= topic=artificial-intelligence verified=true sentiment=↑ positive

SpawnDev.ILGPU.ML: Neural network inference & training in C# across any GPU (Browser & Desktop)

Developer Todd ("LostBeard") released SpawnDev.ILGPU.ML, an open-source neural network inference and training engine written entirely in C# that compiles compute kernels for six backends: WebGPU, WebGL, WebAssembly, CUDA, OpenCL, and SIMD CPU. The engine requires no ONNX Runtime or native inference binaries, auto-detects model formats including ONNX, TFLite, GGUF, SafeTensors, TF GraphDef, PyTorch checkpoints, and Core ML, and supports on-device LoRA fine-tuning of GGUF language models such as llama3.1:8b on an RTX 4070. It runs on Windows, Linux, and macOS or in the browser via Blazor WebAssembly, with a zero-copy architecture that streams data from fetch and OPFS directly into GPU buffers.

read2 min views1 publishedNov 11, 2026

Hey everyone!

I’ve been watching Wendell’s videos on Level1Techs for a long time and really appreciate how supportive this community is of open-source projects, so I wanted to share something I’ve been building and refining: SpawnDev.ILGPU.ML.

It is a neural network inference and training engine written entirely in C# that compiles C# compute kernels directly for whatever device is in front of it via SpawnDev.ILGPU.

The big kicker: No ONNX Runtime, no native inference binaries, and no server required. It runs entirely locally on the desktop (Windows, Linux, macOS via CUDA, OpenCL, or SIMD CPU) or right inside the browser via Blazor WebAssembly (WebGPU, WebGL, or WebAssembly).

One Codebase, Six Backends: WebGPU, WebGL, Wasm, CUDA, OpenCL, and SIMD CPU. Everything is tested across lanes.

Zero-Copy Architecture: Pixels, activations, and weights stay on the GPU. In the browser, data streams from fetch and OPFS straight into GPU buffers without bloating the .NET heap.

Model Formats Auto-Detected: Drop in ONNX, TFLite, GGUF, SafeTensors, TF GraphDef, PyTorch checkpoints, or Core ML. It builds a unified graph IR with a built-in graph optimizer (constant folding, fusion, dead-node elimination).

Generative AI & 3D Pipelines: Runs things like FLUX 3 / FLUX.2, Stable Diffusion (with LoRA, ControlNet, and ComfyUI patches), LTX-Video & Wan 2.2 for video gen, TRELLIS.2 for text/image-to-3D, SkinTokens/UniRig for auto-rigging, Kimodo for animation, and GGUF LLMs (with KV-cache decode and TurboQuant).

On-Device Training: Supports LoRA fine-tuning of GGUF language models directly on your hardware (e.g., fine-tuning llama3.1:8b on an RTX 4070).

If you want to kick the tires without installing anything, the live demo runs entirely client-side on your GPU (models download once and cache locally). You can find the demo on the GitHub repo page (this forum blocks links). github / LostBeard / SpawnDev.ILGPU.ML

I’d love to hear your thoughts, answer any architectural questions, or see what people think of running heavy generative and 3D workflows straight out of a browser tab via WebGPU!

Todd

aka LostBeard

── more in #artificial-intelligence 4 stories · sorted by recency
── more on @spawndev.ilgpu.ml 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/spawndev-ilgpu-ml-ne…] indexed:0 read:2min 2026-11-11 · —