Files
tinygrad/extra/datasets
qazal 982086f54c UOps.VALID try 2 (#6623)
* make UOps.VALID compile

* fixable tests

* bufs dedup

* cleanup the CONST spec

* regenerate dataset with graph_rewrite

```py
def rewrite_const(const:UOp, st_src:UOp) -> UOp:
  st: ShapeTracker = st_src.arg
  return UOp(UOps.VALID, dtypes.bool, (st.to_uop(),)).where(UOp.const(const.dtype, const.arg), UOp.const(const.dtype, 0))
pm = PatternMatcher([(UPat(UOps.CONST, name="const", src=(UPat(UOps.SHAPETRACKER, name="st_src"),)), rewrite_const)])
```

* rm arg

* remove arg

* revert arg removal

This reverts commit 2c35c75c95.

* red test_pickle_define_var
2024-09-21 14:19:25 +08:00
..
2024-05-01 13:55:38 +00:00
2023-11-28 17:36:55 -08:00
2024-05-02 00:00:04 -04:00
2024-09-10 04:37:28 -04:00
2023-07-07 18:41:58 -07:00
2024-09-21 14:19:25 +08:00
2023-11-28 17:36:55 -08:00
2024-08-02 15:12:23 -04:00