Commit Graph

4147 Commits

Author SHA1 Message Date
Comma Device
e0a8d0f836 image input works 2022-08-22 16:04:17 -07:00
George Hotz
18340e7d30 remove from_image 2022-08-22 15:52:26 -07:00
Comma Device
1b5f4e52d9 refactor getters 2022-08-22 13:29:08 -07:00
Comma Device
13646ae07a opencl can't optimize that 2022-08-22 10:26:42 -07:00
George Hotz
227937d6d2 fix test maybe 2022-08-22 09:50:14 -07:00
George Hotz
11626053b0 run_thneed with test 2022-08-22 09:45:46 -07:00
kposborne2
ec5d9b355c use functools.partialmethod (#369)
Co-authored-by: Kyle <kposborne@gmail.com>
2022-08-21 12:13:31 -07:00
George Hotz
e7a4cd91ba fix cpu thneed running 2022-08-21 12:11:07 -07:00
George Hotz
0aca848d10 enable the openpilot test 2022-08-21 12:05:48 -07:00
George Hotz
a8734df030 add openpilot tests to tinygrad 2022-08-21 12:03:37 -07:00
George Hotz
7f15779942 t.assign in optim 2022-08-20 14:04:33 -07:00
George Hotz
5c8466f475 tune inter_red 2022-08-20 12:50:26 -07:00
George Hotz
c5433db050 2 stage reduce 2022-08-20 12:42:11 -07:00
George Hotz
b020fc2225 less needless reshaping 2022-08-20 08:43:38 -07:00
George Hotz
ccd539e93e maybe that's a better way to do this 2022-08-20 08:25:12 -07:00
George Hotz
b7d782b921 hmm, with the new reduce, we have to opt 3 for memory usage 2022-08-20 08:16:15 -07:00
George Hotz
e34eb855fe much simpler reduce 2022-08-20 08:12:43 -07:00
George Hotz
1eb12dafbc reduce axis at the end 2022-08-20 07:40:56 -07:00
Comma Device
85453288d7 run_onnx_torch 2022-08-18 08:30:12 -07:00
Comma Device
1f23517d92 fixup run thneed 2022-08-18 08:22:53 -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
783c120a8c rawcpu (#365)
* rawcpu

* add should work when we respect shapetracker

* now that's true

* still have to handle shapetracker

* copyin

* Fix mypy
2022-08-17 11:33:20 +02:00
George Hotz
57e5df9f28 ane: procPath issue. don't waste more time with this, focus on core tinygrad 2022-08-16 10:36:13 +02:00
George Hotz
bdfdbc8f8d broken amfi patch 2022-08-13 10:41:25 +02:00
George Hotz
262efe5784 update readme 2022-08-09 11:08:52 +02:00
George Hotz
6267a3c8c2 notes 2022-08-09 00:42:14 +02:00
George Hotz
f4ff130947 docs 2022-08-09 00:06:24 +02:00
George Hotz
01de17eeb8 amfi note 2022-08-08 13:17:36 +02:00
George Hotz
136706169d fix ane on new mac os x 2022-08-06 19:10:22 +00:00
George Hotz
f300caa486 notes 2022-08-06 15:21:26 +00:00
George Hotz
27f209b80b add time sum 2022-08-06 14:35:21 +00:00
George Hotz
64c0d2dedb add gflop estimate 2022-08-06 14:21:48 +00:00
George Hotz
94d526f8fc fix op estimate 2022-08-06 14:15:50 +00:00
George Hotz
f2847cb710 remove useless init, add ops counter 2022-08-06 14:05:25 +00:00
George Hotz
18fde22dac fix that soon 2022-07-20 09:07:09 -07:00
George Hotz
187d581dc6 fix options on old pyopencl 2022-07-20 08:24:05 -07:00
Comma Device
6da956b9fa that should be right 2022-07-19 19:47:37 -07:00
Comma Device
f4ed837f2f float16 fixups 2022-07-19 19:44:40 -07:00
Comma Device
aa00a3948e needs_load in image correct 2022-07-19 19:25:47 -07:00
Comma Device
314d70ff17 zero out the buffer 2022-07-19 19:17:47 -07:00
Comma Device
b8a67905e5 save weights 2022-07-19 19:14:14 -07:00
George Hotz
46e7dfade1 REQUIRES_SIMPLE_REDUCE 2022-07-19 11:42:14 -07:00
George Hotz
acbeaf0ba9 adam in benchmark_train_efficientnet 2022-07-19 09:33:07 -07:00
George Hotz
ef1100fdff touchups 2022-07-19 09:30:06 -07:00
George Hotz
5d45c6e516 Fold reduce (#362)
* folding reduce

* fold through movementops

* fixup shapes

* was too aggressive

* i knew we needed that

* don't recompute reduce

* working

* fix openpilot compile

* prunegraph openpilot

* types and reduce_shape

* refactor

* cleanups

* neater

* 1009

* 1004

* clean up reduce for 998
2022-07-19 09:24:02 -07:00
Comma Device
2d402d1135 buffer_id is 8 bytes 2022-07-18 20:27:45 -07:00
Comma Device
577c23731e outputs with size 2022-07-18 20:21:33 -07:00
Comma Device
29581b5c85 inputs and outputs 2022-07-18 20:17:26 -07:00
Comma Device
ae30641b0d fix row pitch 2022-07-18 19:48:19 -07:00
Comma Device
02f23e526c output file to disk 2022-07-18 19:23:22 -07:00