g8392 / mojograd_g83

Implementation of Karpathy's micrograd in Mojo :fire:

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

🔥grad

Note: It's still a WIP with some ops missing and memory errors but getting there ;-)

mojograd is a Mojo implementation of micrograd.

Using

Make sure to setup Modular package manager and Mojo in your machine (for now only Linux is supported).

Then run:

mojo mojograd.🔥

Or to compile:

mojo build mojograd.🔥
./mojograd

Changelog

  • 2023.09.05
    • Starting from scratch based on suggestions from Jack Clayton
    • Topological sort works but I'm messing something with memory handling, the gradients are not getting updated
  • 2023.07.04
    • Ported Neuron, Layer and MLP
    • Back to use yakupc55's List (need register_passable data struct)
  • 2023.06.30
    • Finally got it working! Only missing pow ops and review it

Author

Vilson Vieira vilson@void.cc

About

Implementation of Karpathy's micrograd in Mojo :fire:


Languages

Language:Python 100.0%