An open API service indexing awesome lists of open source software.

https://github.com/srush/g9py


https://github.com/srush/g9py

Last synced: about 1 year ago
JSON representation

Awesome Lists containing this project

README

          

# g9.py - Torch interactive graphics

A Torch toy in the browser. Demo at https://srush.github.io/g9py/



This is a shameless copy of [g9.js](https://github.com/bijection/g9), written in Python. This prototype shows off some of the cool things you can do with Pyodide for running Python demos in the browser.

## What is this?

* You now can run [Python in the browser](https://pyodide.org/en/stable/index.html).
* 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.