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
..
2023-11-13 20:18:40 -08:00
2024-07-12 18:50:55 -07:00
2024-09-06 12:38:35 +08:00
2024-09-21 14:19:25 +08:00
2024-05-14 19:30:02 -07:00
2024-09-13 21:01:33 +03:00
2024-09-13 21:01:33 +03:00
2024-08-12 14:08:35 -07:00
2024-01-26 18:27:49 -08:00
2023-11-25 12:27:54 -08:00
2024-08-14 20:20:35 +03:00
2024-09-21 01:26:43 -04:00
2024-08-10 14:41:09 -04:00
2024-09-17 19:27:09 +08:00
2024-09-20 18:02:40 +08:00
2024-09-20 11:28:01 +08:00
2024-01-01 14:58:48 -08:00
2023-08-30 10:41:08 -07:00
2024-06-21 11:36:51 +03:00
2023-11-16 21:21:11 -08:00
2024-05-10 22:43:09 -07:00
2024-05-22 20:43:21 -04:00
2023-07-05 15:36:22 -07:00
2024-01-26 12:44:19 -08:00
2024-05-10 11:22:31 -07:00
2024-04-25 14:42:28 -04:00
2024-08-16 22:09:00 +03:00
2023-12-07 17:07:05 -08:00
2024-09-08 09:12:39 +08:00
2024-08-17 19:54:20 -04:00
2024-09-11 18:16:28 +08:00
2024-01-19 23:34:30 -05:00
2023-11-30 17:07:16 -08:00
2024-08-28 19:26:11 -07:00
2024-08-28 22:26:50 +03:00
2024-06-22 14:45:06 -04:00
2024-01-17 16:44:15 +00:00