chenyu
3eb3c74675
metal ci tests everything ( #2499 )
...
* metal ci tests everything
* pretty good
* METAL
2023-11-29 12:04:37 -05:00
George Hotz
5629fc368c
Use Buffer.STORE at the end of ASTs ( #2494 )
...
* work
* store broken
* interpreteds work
* this passes
* symbolic cpu
* fix tests
* fix opt tests
* images fail
* fix InterpretedFlopCounter
* stupid hack for images
2023-11-28 20:11:37 -08:00
George Hotz
ab5d14d4ba
MEM -> LOAD ( #2492 )
...
* MEM -> LOAD
* keep legacy working
2023-11-28 16:46:37 -08:00
Christopher Mauri Milan
7f01dd04f0
Apply ruff linting rules to tests ( #2473 )
...
* everything except F821
* enable F821 with noqa
* dumb fix
* fix remaining imports and (former) lambdas
* replace _ with noqa to avoid gc
2023-11-27 21:24:06 -08:00
George Hotz
9e07824542
move device to device.py ( #2466 )
...
* move device to device.py
* pylint test --disable R,C,W,E --enable E0611
* fix tests
2023-11-27 11:34:37 -08:00
chenyu
511310737e
test_linearizer_failures to run on all backends ( #2443 )
...
* test_linearizer_failures to run on all backends
* test ubuntu and cuda
* failed only in CUDA CI
* move asserts
2023-11-26 01:17:29 -05:00
chenyu
d0f966b320
add a segfault linearizer test case ( #2383 )
...
* add a segfault linearizer test case
* another interesting one
2023-11-21 15:06:41 -05:00
nimlgen
c5f429a40a
Fix linearizer cache ( #2371 )
...
* fix linearizer cache
* better comments
* a bit cleaner
2023-11-21 07:58:35 -08:00
chenyu
6e44a798df
update fixed linearizer test ( #2347 )
...
* update fixed linearizer test
* except CLANG
2023-11-17 23:46:37 -05:00
chenyu
fac8633ba8
explicit opts for test_linearizer_failures ( #2299 )
...
* explicit opts for test_linearizer_failures
* typo
* update the invalid check
2023-11-14 11:52:38 -05:00
nimlgen
960535dfb8
get_linearizer_actions does not return illegal actions ( #2287 )
...
* fix some linearizer failures
* linter happy
* no new test class
2023-11-13 11:48:54 -05:00
chenyu
75f6e9ab54
one more fuzz linearizer failed example ( #2260 )
2023-11-10 09:17:37 -05:00
George Hotz
80bf0b8586
proper wmma ( #2245 )
...
* proper wmma
* hip cast
* bugfixes
* bugfix
* that bug is fixed
---------
Co-authored-by: George Hotz <george@tinygrad.org >
2023-11-09 15:15:18 -08:00
chenyu
10d642e174
fuzz linearizer transformation ( #2188 )
...
* fuzz linearizer transformation
* no standard normal for fp16
* work
* Interpreted start
* CPU and TORCH work
* fix MemBuffer with same idx
* id for failed kernels
* no image and variable for Interpreted
* symbolic shape
* IMAGE only for GPU
* Interpreted almost all good
* cleanup
* fix bufs_from_lin
* zero size
* some failed examples
* just Exception
* just test not pass
2023-11-09 08:03:27 -08:00
George Hotz
41bfeb2c1e
start work on auto opt ( #2034 )
...
* start work on auto opt
* lin failure
* not beating hcopt
* greedy
* timing is fast
* codegen.search
* greedy search in handcode_opt
* track running gflops
* clean up those files
* no failure
2023-10-11 12:54:53 -07:00