* Chunk tinygrad pkl below GitHub max size
* pull that out
* rm glob
* make work
* Single name def
* unused comment
* more cleanups
* revert that
* 10MB overhead
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* Revert "Revert tgwarp again (#37161)"
This reverts commit 45099e7fcd.
* Weird uv sizes
* Fix interleaving
* Fix on CPU
* make CPU safe
* Prevent corruption without clone
* Claude knows speeed
* fix interleaving
* less kernels
* blob caching
* This is still slightly faster
* Comment for blob cache
Hi! The point of this pr is to make the model run easier to read. On the latest tinygrad numpy().flatten() empirically does the same thing as the internal contiguous().realize().uop.base.buffer.numpy(). numpy() is also documented (docstrings), which can assist new contributors in learning what each potential execution does. Torq_boi or yassine, I know you want proof in the code base, so here it is. As of tinygrad commit 2f55005:
in tinygrad_repo/tinygrad/tensor.py
Lines 316-318 (def _buffer): ensure the tenso is contiguous() and realized() before accessing the raw buffer.
Line 378 (def numpy): Wraps the buffer access and adds a reshape to match the tensor shape.
self._buffer() is what executes contiguous().realize() and returns the buffer object.
Calling numpy() on that buffer object returns a 1D array (defined in tinygrad/device.py:193 via np.frombuffer).
The reshape(self.shape) at the end of Tensor.numpy() then adds dimensions to that 1D array. The added .flatten() removes those dimensions, flattening it back to a 1D array. Effectively the same as what is currently done, but less complex.
* Revert "revert tg calib and opencl cleanup (#37113)"
This reverts commit 51312afd3d.
* power draw is a lil higher
* just don't miss a cycle
* fix warp targets
* fix tinygrad dep
* Revert "Remove all the OpenCL (#37105)"
This reverts commit d5cbb89d84.
* Revert "rm common/mat.h"
This reverts commit 4ce701150a.
* Revert "Calibrate in tg (#36621)"
This reverts commit 593c3a0c8e.
* Update Python packages
* not available anymore
* also this
* also this
* maybe?
* version
* try
* Revert "version"
This reverts commit 9ac4401b9ca59677b82736faff8baf66861df5f2.
* revert
* cffi
* issue
* comment
---------
Co-authored-by: Vehicle Researcher <user@comma.ai>
Co-authored-by: Maxime Desroches <desroches.maxime@gmail.com>
* Use in modeld
* Use in torqued
* Do not use default value in torqued
* Add liveDelay in process replay
* update ref
---------
Co-authored-by: Bruce Wayne <harald.the.engineer@gmail.com>
* 690b01c3 seems ok
* correct temporal
* push
* inplace
* bs
* what thw
* is this wrong
* frames are skipped
* new models
* simplify decimation
* clean up
* clean up modelframe
* need attr
* lint
* 0
* use all samples
* this should break - Revert "use all samples"
This reverts commit 6c0d7943ac5fbb7ae60af1a1201e2423e4c3c105.
* add lc probs
* Revert "this should break - Revert "use all samples""
This reverts commit ca38c54333555266a0d2c885c28af28941841431.
* Reapply "this should break - Revert "use all samples""
This reverts commit a3f0246f209f85f06b9090d9492bfba32ed8cfed.
* Revert "Reapply "this should break - Revert "use all samples"""
This reverts commit 7fd3d2a191b688e5ef7b4dcc8f5379e900af10f8.
* new fish
* e07ce1de-bdea-463e-b5bc-a38ce8d43f4f/700
---------
Co-authored-by: Comma Device <device@comma.ai>
* 690b01c3 seems ok
* correct temporal
* push
* inplace
* bs
* what thw
* is this wrong
* frames are skipped
* new models
* simplify decimation
* clean up
* clean up modelframe
* need attr
* lint
* 0
* use all samples
* this should break - Revert "use all samples"
This reverts commit 6c0d7943ac5fbb7ae60af1a1201e2423e4c3c105.
* add lc probs
* Revert "this should break - Revert "use all samples""
This reverts commit ca38c54333555266a0d2c885c28af28941841431.
* Reapply "this should break - Revert "use all samples""
This reverts commit a3f0246f209f85f06b9090d9492bfba32ed8cfed.
* Revert "Reapply "this should break - Revert "use all samples"""
This reverts commit 7fd3d2a191b688e5ef7b4dcc8f5379e900af10f8.
---------
Co-authored-by: Comma Device <device@comma.ai>