Skip to content

Implementation of Karpathy's micrograd in Mojo 🔥

Notifications You must be signed in to change notification settings

g8392/mojograd_g83

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

🔥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 🔥

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%