mirror of
https://github.com/tinygrad/tinygrad.git
synced 2026-01-08 14:43:57 -05:00
max op
This commit is contained in:
@@ -160,6 +160,7 @@ PYTHONPATH="." DEBUG=1 CHERRY=1 python3 examples/efficientnet.py https://upload.
|
||||
```
|
||||
|
||||
* ~~Add reduce ops to CHERRY, and fully support forward pass. See `extra/ops_risk.py` and `extra/risk.py`~~
|
||||
* Fix max op
|
||||
* Switch convolution backward pass to CHERRY instead of the numpy placeholder
|
||||
* Confirm EfficientNet backward pass fully uses CHERRY instructions
|
||||
* Benchmark that and transformers
|
||||
|
||||
@@ -38,7 +38,7 @@ from collections import defaultdict
|
||||
# <empty> <output> <input> <weight>
|
||||
# <weight> <input> <empty> <output>
|
||||
|
||||
SZ = 4
|
||||
SZ = 32
|
||||
SLOTSIZE = 1024*1024*2 # 5MB, for 20MB total. 8M elements
|
||||
sram = np.zeros((SLOTSIZE*4), dtype=np.float32)
|
||||
regfile = {}
|
||||
|
||||
Reference in New Issue
Block a user