A Torch toy in the browser. Demo at https://srush.github.io/g9py/
This is a shameless copy of g9.js, written in Python. This prototype shows off some of the cool things you can do with Pyodide for running Python demos in the browser.
- You now can run Python in the browser.
- This lets us run MiniTorch (a pure Python torchlike with a numpy backend) in the browser.
- With Python autodifferentiation in the browser, its easy to build mathy toys.