This commit is contained in:
George Hotz
2021-06-17 16:20:56 -07:00
parent c1d469d440
commit e8eb7d1b7e
2 changed files with 2 additions and 1 deletions

View File

@@ -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

View File

@@ -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 = {}