119 Commits

Author SHA1 Message Date
George Hotz
271446e3eb set requires_grad to None (#387)
* set requires_grad to None

* some things need gradients

* hmm, why was get_parameters filtering
2022-09-21 11:16:02 -04:00
George Hotz
0516359af8 fix stupid OPENCL=1 OOM 2022-09-06 14:29:23 -07:00
George Hotz
682dc64430 works at work 2022-09-06 08:06:11 -07:00
George Hotz
0ba6179de7 stable diffusion in readme 2022-09-05 18:51:56 -07:00
George Hotz
b132de677d tinygrad.nn (#367)
* tinygrad.nn

* flake8

* working on pylint

* more pylint

* more pylint

* pylint passes

* networkx

* mypy can't infer that type

* junk
2022-08-18 07:41:00 -07:00
George Hotz
bdfdbc8f8d broken amfi patch 2022-08-13 10:41:25 +02:00
George Hotz
01de17eeb8 amfi note 2022-08-08 13:17:36 +02:00
George Hotz
3c4565fa21 SLICE -> PAD,SHRINK 2022-07-17 11:33:59 -07:00
George Hotz
f6ea7c022a Revert "EXPAND -> REPEAT"
This reverts commit 115d2eadf5.
2022-07-17 08:42:10 -07:00
George Hotz
115d2eadf5 EXPAND -> REPEAT 2022-07-17 08:38:54 -07:00
George Hotz
df16b455a7 make lazy the default (#352)
* make lazy the default

* always float32

* while the lazy framework should be default, lazyness itself shouldn't be (for now)

* bugfixes

* remove the need for the ops class

* fxn_for_op

* hmm, my contiguous asserts went away

* move small shape thing

* refactor reduce

* remove the weird unused new functions

* only that install works

* thats broken

* unused imports, should be good if it passes
2022-07-03 11:40:27 -07:00
George Hotz
a11deb5150 shapetracker check for noop 2022-06-16 16:29:18 -07:00
George Hotz
ff648e9510 remove convt and compute dx with conv 2022-06-15 19:54:15 -07:00
George Hotz
6d98366214 move CONVDW out of llops 2022-06-15 12:05:11 -07:00
George Hotz
e057ca23bb add flip 2022-06-14 17:28:43 -07:00
George Hotz
dcbca4fdf1 Expand Operator (#327)
* replace broadcasting with expand

* Tensor, not self

* remove broadcasting from mlops

* delete useless A operator

* expand, not repeat

* remove A op

* expand on gpu

* binary_op doesn't broadcast anymore

* expand is still total junk, but the tests should pass
2022-06-12 12:31:48 -07:00
George Hotz
fc7eabb86f processing op 2022-06-11 08:12:02 -07:00
George Hotz
72186ebd5a movement ops, reshape is a copy now 2022-06-10 20:01:47 -07:00
George Hotz
c8bacd0d8e rename transpose to permute 2022-06-10 19:41:50 -07:00
George Hotz
462f1ce0da Remove Matmul (#323) 2022-06-10 19:26:23 -07:00
George Hotz
30ab2249eb match order 2022-06-08 11:46:51 -07:00
George Hotz
4a9882d495 hlops 2022-06-08 11:46:09 -07:00
George Hotz
e046a2fd9f readme fix typos 2022-06-08 11:43:05 -07:00
George Hotz
4b09ca90a1 readme: still WIP 2022-06-08 11:41:19 -07:00
George Hotz
f0fe37bd34 simpler graph demo 2022-06-05 12:40:12 -07:00
George Hotz
89acf6742d more graph docs 2022-06-05 12:16:50 -07:00
George Hotz
88de42fb6e document graph mode 2022-06-05 12:13:05 -07:00
George Hotz
d8d19ed468 wikimedia wasn't returning 200 2022-01-15 19:09:29 -08:00
George Hotz
a95ef16c8c sub 1000 lines 2021-10-30 19:48:24 -07:00
George Hotz
844540a5ed yolo in readme 2021-10-30 19:47:34 -07:00
George Hotz
121d5a17ee use tinynn for Conv2d 2021-10-30 19:40:44 -07:00
George Hotz
114f6ca3fd more readme cleanup 2021-10-30 16:51:25 -07:00
George Hotz
effd0dc833 update readme 2021-10-30 16:34:00 -07:00
George Hotz
2e71ae33f6 max op works 2021-06-17 17:01:21 -07:00
George Hotz
e8eb7d1b7e max op 2021-06-17 16:20:56 -07:00
George Hotz
c1d469d440 sum op 2021-06-17 16:19:35 -07:00
George Hotz
ff3fdc58e5 risk -> cherry 2021-06-16 09:59:48 -07:00
George Hotz
1e62e45d67 better todo 2021-06-15 10:30:16 -07:00
George Hotz
9ca4388695 debug 2021-06-15 10:24:21 -07:00
George Hotz
3d44aab52c more 2021-06-15 10:23:57 -07:00
George Hotz
4850d6eb43 update todo 2021-06-15 10:22:39 -07:00
George Hotz
508ced114c readme 2021-06-13 17:17:44 -07:00
George Hotz
77ba198b57 Revert "Update README.md (#259)" (#260)
This reverts commit 5a69c5db6d.
2021-06-04 14:41:41 -07:00
Gabriel Rojas
5a69c5db6d Update README.md (#259) 2021-06-04 14:41:07 -07:00
George Hotz
0702e0c763 nah, no sign, it's not what you want. use relu 2021-01-03 09:30:33 -08:00
George Hotz
c2eeb6950b add support for sign. technically relu can be second class now 2021-01-03 08:29:57 -08:00
George Hotz
92abe43683 reduce before binary because of unbroadcasting 2020-12-31 09:49:52 -05:00
George Hotz
de7fe085de no read out of bounds 2020-12-31 09:41:36 -05:00
George Hotz
30f8132646 reorder ops in ops cpu 2020-12-30 11:00:01 -05:00
George Hotz
e5b2803b5d ops in readme 2020-12-30 10:48:55 -05:00