Minimal DL library in C – 24 NAIVE CUDA/CPU ops, autodiff, Python API
minimal DL library in C: 24 NAIVE cuda/cpu ops, autodiff engine, python API (ops bindings/layers/models), tensor abstraction, strides, complex indexing (multi-dim slices like numpy), computation-graph visualizer, saving/loading params, primitive garbage collection, autogenerated tests, optimizers, w
Minimal DL library in C – 24 NAIVE CUDA/CPU ops, autodiff, Python API launched on December 17, 2025 with 13 votes, #712 of 11,628 launches that month and more than 75% of that year's launches.
In plain words
Minimal DL library in C is a deep learning framework that implements 24 basic operations for both CUDA and CPU, with automatic differentiation support. It's designed for developers who want a lightweight alternative to larger frameworks, offering a Python API for ease of use. The library focuses on simplicity and core functionality rather than comprehensive features, making it suitable for learning, prototyping, or embedding in C-based projects.
written from the facts on this page · September 2026
From the sources
minimal DL library in C: 24 NAIVE cuda/cpu ops, autodiff engine, python API (ops bindings/layers/models), tensor abstraction, strides, complex indexing (multi-dim slices like numpy), computation-graph visualizer, saving/loading params, primitive garbage collection, autogenerated tests, optimizers, weight initializers, etc. (no AI assistance used) - IaroslavElistratov/ml-systems-course
ML systems + GPU programming exercise -- build a small (but non-toy) DL stack end-to-end and learn by implementing the internals. rm generated/ * # define Conv-Net and train on GPU # (you can change DEVICE macro to run on CPU instead) nvcc models/conv_net.cu && ./a.out # optionally, visualize model graph cat generated/graph.txt | dot -Tsvg -o generated/conv_net.svg # optionally, run the generated test code python generated/codegen.py MLP rm generated/ * # define MLP and train on CPU # (you can change DEVICE macro to run on GPU instead) nvcc models/mlp.cu && ./a.out # optionally, visualize model graph cat generated/graph.txt | dot -Tsvg -o generated/mlp.svg # optionally, run the generated…from github.com
Does a similar job
all alternatives →
I built a tensor library from scratch in C++/CUDA2025 · github.com · ▲119Hi HN, Over the past few months, I've been building `dsc`, a tensor library from scratch in C++/CUDA. My main focus has been on getting the basics right, prioritizing a clean API, simplicity, and clear observability for running small LLMs locally. The key features are: - C++ core with CUDA support written from scratch. - A familiar, PyTorch-like Python API. - Runs real models: it's complete enough to load a model like Qwen from HuggingFace and run inference on both CUDA and CPU with a single line change[1]. - Simple, built-in observability for both Python and C++. Next on the roadmap is…
Autograd.c – A tiny ML framework built from scratchDec 2025 · github.com · ▲85built a tiny pytorch clone in c after going through prof. vijay janapa reddi's mlsys book: mlsysbook.ai/tinytorch/ perfect for learning how ml frameworks work under the hood :)
I wrote a minimal deep learning library from scratch in Python2021 · github.com · ▲25A minimalist deep learning library written from scratch in Python - sradc/SmallPebble
Run TRELLIS.2 Image-to-3D generation natively on Apple SiliconApr 2026 · github.com · ▲202I ported Microsoft's TRELLIS.2 (4B parameter image-to-3D model) to run on Apple Silicon via PyTorch MPS. The original requires CUDA with flash_attn, nvdiffrast, and custom sparse convolution kernels: none of which work on Mac. I replaced the CUDA-specific ops with pure-PyTorch alternatives: a gather-scatter sparse 3D convolution, SDPA attention for sparse transformers, and a Python-based mesh extraction replacing CUDA hashmap operations. Total changes are a few hundred lines across 9 files. Generates ~400K vertex meshes from single photos in about 3.5 minutes on M4 Pro (24GB). Not as fast as…
Prometeo – a Python-to-C transpiler for high-performance computing2021 · github.com · ▲166An experimental Python-to-C transpiler and domain specific language for embedded high-performance computing - zanellia/prometeo
Dlt – Python library to automate the creation of datasets2023 · colab.research.google.com · ▲114Hi HN, We're Anna, Adrian, Marcin and Matt, developers of dlt. dlt is an open source library to automatically create datasets out of messy, unstructured data sources. You can use the library to move data from about anywhere into most of well known SQL and vector stores, data lakes, storage buckets, or local engines like DuckDB. It automates many cumbersome data engineering tasks and can by handled by anyone who knows Python. Here’s our Github: https://github.com/dlt-hub/dlt Here’s our Colab demo:…
More dev tools this month
the category →

Contribute to oosexgang/hackios-xnu-kernel development by creating an account on GitHub.
Dev tools · 23h ago · github.com

open-source IDE for thoughtful software design. Contribute to devdotfast/whiteboard development by creating an account on GitHub.
Dev tools · 29d ago · github.com

Contribute to reladraw/reladraw development by creating an account on GitHub.
Dev tools · 27d ago · github.com
OpenBot▲362Grok Bot alternative: free, local, open-source, multiplayer
Dev tools · 24d ago · openbot.run
Talanoa▲346Hi HN, I’m a fullstack developer, and honestly, I’ve lost count of how many side projects I’ve worked on over the years. But one idea kept coming back to me: a different kind of email client. It first came to me in 2014: “What if we could handle emails more like conversations?” Every year, I’d revisit this concept in my “Build Notes.” Ten years later, no one had built exactly what I had in mind — so I finally decided to do it myself. That’s how Talanoa was born. I wanted something focused on people, not timelines. I was tired of marking messages as unread just to remember to reply later, or…
Dev tools · 22d ago · talanoa.email
Source: Show HN post ↗
Launched alongside, December 2025
the whole month →- GP
Life & fun · Dec 2025 · dosaygo-studio.github.io

Hi everyone! My name's Luke and I made the original Jmail here alongside Riley Walz. We had a ton of friends collaborate on building out more of the app suite last night in lieue of DOJ's "Epstein files" release. Please AMA!
Life & fun · Dec 2025 · jmail.world

PlanEat AI▲733AI turns your health goals into a 7-day menu & grocery list
AI · Dec 2025 · planeatai.com

Community, All the HN belong to you. This is an archive of hacker news that fits in your browser. When I made HN Made of Primes I realized I could probably do this offline sqlite/wasm thing with the whole GBs of archive. The whole dataset. So I tried it, and this is it. Have Hacker News on your device. Go to this repo (https://github.com/DOSAYGO-STUDIO/HackerBook): you can download it. Big Query -> ETL -> npx serve docs - that's it. 20 years of HN arguments and beauty, can be yours forever. So they'll never die. Ever. It's the unkillable static archive of HN and it's…
Dev tools · Dec 2025 · hackerbook.dosaygo.com
