Hasty Briefsbeta

Bilingual

Show HN: Autograd.c – a tiny ML framework built from scratch

4 months ago
  • #machine-learning
  • #autograd
  • #C-programming
  • A minimal reverse mode autograd engine in C
  • Features reference counted tensors and arena allocated function nodes
  • Includes explicit dependency counting and centralized gradient accumulation
  • Supports scalar loss backpropagation
  • Small set of core tensor ops with tightly coupled forward and backward code
  • Demonstrated with CIFAR-10 binary dataset training
  • Training shows progress with loss and accuracy metrics
  • Project described as 'tiny torch, but close to metal'