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 2c35c75c950075d38c9fb8572f14640fe8235f74.

* red test_pickle_define_var
2024-09-21 14:19:25 +08:00
..
.gitignore gitignore open-images-v6TEST 2024-05-01 13:55:38 +00:00
__init__.py remove numpy from ops_torch (#3124) 2024-01-14 22:46:57 -05:00
coco.py move to new cached fetch (#2493) 2023-11-28 17:36:55 -08:00
fake_imagenet_from_mnist.py tinytqdm.set_description and tinytrange (#5101) 2024-06-22 14:45:06 -04:00
imagenet.py resnet mlperf logging (#4361) 2024-05-02 00:00:04 -04:00
imagenet_download.py move to new cached fetch (#2493) 2023-11-28 17:36:55 -08:00
kits19.py UNet3D MLPerf (#3470) 2024-09-10 04:37:28 -04:00
librispeech.py Update file paths (#1179) 2023-07-07 18:41:58 -07:00
openimages.py download openimages by running it (#5396) 2024-07-11 16:06:13 -07:00
preprocess_imagenet.py move dtypes to dtype.py (#2964) 2024-01-01 14:58:48 -08:00
sops.gz UOps.VALID try 2 (#6623) 2024-09-21 14:19:25 +08:00
squad.py move to new cached fetch (#2493) 2023-11-28 17:36:55 -08:00
wikipedia.py New BERT dataloader (#5881) 2024-08-02 15:12:23 -04:00
wikipedia_download.py update pylint path to check indent/space for all (#6022) 2024-08-10 14:41:09 -04:00