tinygrad
tinygrad copied to clipboard
Uop symbolics rewrite rules
- [x] test_lt
- [x] test_ge
- [x] test_lt_remove
- [x] test_ge_remove
- [x] test_ge_divides
would like to get this mergeable and meanwhile continue in new draft
See chenyu's comment above, you can't put NumNode into UOp
Changes
Name Lines Diff Tokens/Line Diff
------------------------ ------- ------ ------------- ------
tinygrad/codegen/uops.py 420 +37 20.7 +0.2
total lines changes: +37
See chenyu's comment above, you can't put NumNode into UOp
so I just remove NumNode completely how's that
could remove Node and Variable too only TempVar would be annoying to remove until refactor of how we use Variable Uops more generally
done in master