Understanding Automatic Differentiation in 30 lines of Python

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • micrograd

    A tiny scalar-valued autograd engine and a neural net library on top of it with PyTorch-like API

  • GPU-Puzzles

    Solve puzzles. Learn CUDA.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • Tensor-Puzzles

    Solve puzzles. Improve your pytorch.

  • picoGPT

    An unnecessarily tiny implementation of GPT-2 in NumPy.

  • In that case, you might also enjoy https://jaykmody.com/blog/gpt-from-scratch/

    (here's the raw code: https://github.com/jaymody/picoGPT/blob/main/gpt2.py)

  • mercury-ad

    Mercury library for automatic differentiation

  • I wrote a purely functional AD library in Mercury [0], which adapts a general approach from [1]. I believe that Owl provides a similar approach [2].

    [0] https://github.com/mclements/mercury-ad

  • AD-Rosetta-Stone

    Examples of Automatic Differentiation (AD) in many different languages and systems

  • [1] https://github.com/qobi/AD-Rosetta-Stone/

  • owl

    Owl - OCaml Scientific Computing @ https://ocaml.xyz

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • SmallPebble

    Minimal deep learning library written from scratch in Python, using NumPy/CuPy.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts