Roelof van Dijk
Roelof van Dijk
It took a while to get this right. Maybe someone else wants to compile mold on Ubuntu 18.04, if so, this seems to work on a fresh Ubuntu 18.04 docker...
Minor refactor of symbolic.py 1) Simplify node partitioning in `Node.sum` 2) Replace `isinstance` with faster `__class__` check where possible. 3) Replace use of partition helper function with faster oneliner I...
Make most View and Shapetracker methods static. These are mainly pushing tuples around, this should help with caching. View is now a NamedTuple. Ultimately ShapeTracker could become a similar Tuple,...
Makes `View` into `NamedTuple` s Part 1 of https://github.com/geohot/tinygrad/pull/1044 that does not require to modify all the tests using ShapeTracker. Pure refactor.
You can cache the pip download. Not sure if you care, but it's a simple change.
Some unnecessary of `else`/`elif` after returns. Could be a matter of taste. I enabled the pylint option, that is optional,of course.
CI: don't install the recommended packages for the GPU test, saves a GB of installs and a bit more than a minute. Before Install dependencies: 2m 37s ``` Need to...
utils.colorize does not work properly. Line 66 in utils.py is now: `img = value[:, :, :3]` Should probably be: `img = value.squeeze()`
Mac OS, Metal, M3 Macbook Pro, Python 3.12.4 in a `venv`. I think 3929a9dc945e9c00684aa676241908550cf7b697 broke something on Metal, I am hitting an invalid library error on a non-conda environment. This...
``` DEPRECATION: Legacy editable install of tinygrad==0.9.1 from file:///Users/rvd/src/rvd/tinygrad (setup.py develop) is deprecated. pip 25.0 will enforce this behaviour change. A possible replacement is to add a pyproject.toml or enable...