| ▲ | Show HN: High speed graphics rendering research with tinygrad/tinyJIT(github.com) | ||||||||||||||||||||||
| 25 points by quantbagel 8 hours ago | 8 comments | |||||||||||||||||||||||
I saw a tweet that tinygrad is so good that you could make a graphics library that wraps tg. So I’ve been hacking on a gtinygrad, and honestly it convinced me it could be used for legit research. The JIT + tensor model ends up being a really nice way to express light transport all in simple python, so I reimplemented some new research papers from SIGGRAPH like REstir PG and SZ and it just works. instead of complicated cpp its just a 200 LOC of python. | |||||||||||||||||||||||
| ▲ | nl 6 hours ago | parent | next [-] | ||||||||||||||||||||||
Why is this a fork of tinygrad and not just something that imports it? | |||||||||||||||||||||||
| |||||||||||||||||||||||
| ▲ | sxp 6 hours ago | parent | prev | next [-] | ||||||||||||||||||||||
Claude didn't follow your "Every line must earn its keep. Prefer readability over cleverness. We believe that if carefully designed, 10 lines can have the impact of 1000." from https://github.com/quantbagel/gtinygrad/blob/master/AGENTS.m... given how bloated this demo is. https://blog.evjang.com/2019/11/jaxpt.html is a better demo of how to render the Cornell Box on a TPU using differentiable path tracing. | |||||||||||||||||||||||
| |||||||||||||||||||||||
| ▲ | suhacker256 6 hours ago | parent | prev [-] | ||||||||||||||||||||||
so cool! id love to read a blog post about this. | |||||||||||||||||||||||