chenyu
d0eb1540d5
helpers.diskcache_clear ( #4436 )
...
drop all tables in diskcache. added a unit test but disabled it by default because it will drop all cache...
2024-05-05 14:19:01 -04:00
Marcin Słowik
f90caa4b92
Escape table name in diskcache queries. ( #3543 )
...
Some devices create cache table names with non-alphanumerical characters, e.g. "compile_hip_gfx1010:xnack-_12".
This commit escapes the table name in single quotes s.t. sqlite works (see https://github.com/tinygrad/tinygrad/issues/3538 ).
2024-02-29 13:04:21 -08:00
George Hotz
a464909d79
fast resnet eval ( #3135 )
...
* fast resnet eval
* fix HIP multidevice graph
* neater expression for devices
* lines
* add decorator test
2024-01-15 14:15:18 -08:00
chenyu
3c88af5071
use unique table name for each disk_cache test ( #2184 )
2023-10-30 13:49:49 -07:00
George Hotz
cea2bc7964
Add dictionary keys to reduce db size ( #2131 )
...
* work
* ignore beam cache
* dictionary keys are generic
* minor db cleanups
* fix baseline and extract dataset
* fix training
* log likelihood
2023-10-24 10:49:22 -04:00
George Hotz
6dc8eb5bfd
universal disk cache ( #2130 )
...
* caching infra for tinygrad
* nons tr key
* fix linter
* no shelve in beam search
* beam search caching
* check tensor cores with beam too
* pretty print
* LATEBEAM in stable diffusion
2023-10-22 10:56:57 -07:00