George Hotz
53157fb876
add back scale
2020-11-09 10:20:56 -08:00
George Hotz
3ffbd47335
Revert "Revert "pygame is fine, cv2 can also do the trick ( #79 )" ( #85 )"
...
This reverts commit 6b982621f8
.
2020-11-09 10:18:48 -08:00
George Hotz
6b982621f8
Revert "pygame is fine, cv2 can also do the trick ( #79 )" ( #85 )
...
This reverts commit e7f2f43331
.
2020-11-09 10:03:38 -08:00
dustcollector12
e7f2f43331
pygame is fine, cv2 can also do the trick ( #79 )
...
* pygame is fine, cv2 can also do the trick
* retimg and copy constructor not needed
* shape is missing without copy constructor
* retimg put back
* addressing capture buffering
2020-11-09 10:02:06 -08:00
Ryan Neph
7e515308a5
label op subtests by params ( #83 )
2020-11-09 06:25:06 -08:00
Ryan Neph
5bedf566d1
tests should use rtol unless special case ( #82 )
2020-11-08 17:25:11 -08:00
Ryan Neph
04b9312a34
Fix GPU Pooling bug at boundary + better Pooling test coverage ( #81 )
...
* fixed Pooling bug
* Clarify Pooling tests
2020-11-08 17:25:01 -08:00
niclaswue
c57b1b9e7d
deleted unnecessary import in utils ( #78 )
2020-11-08 15:55:16 -08:00
Ryan Neph
b0c0c5d0d6
strided Pool funcs ( #74 )
...
* *Pool2D GPU forward supports stride
* kernel_size from ctx instead of saved_tensors
* *Pool2D CPU forward supports stride
* update ctx.stride properly
2020-11-08 11:45:55 -08:00
George Hotz
06504a5824
bump version
2020-11-08 09:34:07 -08:00
ziofil
db3eccc16b
implemented backward for Pad2D & test ( #73 )
2020-11-07 21:58:42 -08:00
George Hotz
75d69e956f
readme more
2020-11-07 21:58:20 -08:00
Dimitar Vagalinski
35a5c82a2a
done as he said ( #71 )
2020-11-07 18:28:39 -08:00
Ryan Neph
5265f6c578
add AvgPool2D backward pass on GPU ( #68 )
2020-11-07 12:27:29 -08:00
George Hotz
ce6c408d78
readmee
2020-11-07 12:26:57 -08:00
George Hotz
3ab8fb2189
oops, timing
2020-11-07 12:15:52 -08:00
George Hotz
e4c5fb0219
webcam support
2020-11-07 12:15:16 -08:00
George Hotz
5486135f2d
readme
2020-11-07 11:41:27 -08:00
George Hotz
9b8fefe4e3
fix broadcast bugggg
2020-11-07 11:38:56 -08:00
George Hotz
b1ca4dd327
who loves speeeeed
2020-11-07 11:36:52 -08:00
George Hotz
e6c8321e5b
enet is running on GPU
2020-11-07 11:33:46 -08:00
George Hotz
30442a086a
some broadcasting, pool test is fail
2020-11-07 11:29:42 -08:00
Ryan Neph
7c630ca355
GPU {Avg,Max}Pool2D forward pass ( #66 )
2020-11-07 11:13:24 -08:00
George Hotz
40c538c299
fix reshape
2020-11-07 11:10:29 -08:00
George Hotz
19c2950310
refactor ops to prepare for broadcasting
2020-11-07 11:02:45 -08:00
George Hotz
94d44c97bf
add pad2d on GPU
2020-11-07 10:46:36 -08:00
George Hotz
fbff6ab2e5
fix strided convs, GPU env var for enet
2020-11-07 10:26:37 -08:00
George Hotz
ec03eb44bd
tinygrad does forward pass convs on GPU
2020-11-07 10:15:56 -08:00
Manjeet Singh
23c39d9f52
fetch() 'ran out of input' fix ( #65 )
...
If requests.get fails during a download, the incomplete file is passed
without a size check. This causes errors during image/model loading.
Not sure if this is a problem on all systems.
2020-11-07 09:45:10 -08:00
George Hotz
bc7758cc5b
getting convs to work on gpu
2020-11-07 09:17:57 -08:00
George Hotz
3302286e68
yayay test_sgd_gpu passes
2020-11-07 08:48:17 -08:00
Ryan Neph
98d1a4f740
GPU Selection works when len(answers)>ngpus ( #64 )
...
Fixes TypeError: sequence item 0: expected str instance, int found
triggered by https://github.com/inducer/pyopencl/blob/v2020.2.2/pyopencl/__init__.py#L1500
in pyopencl v2020.2.2
2020-11-07 08:06:59 -08:00
George Hotz
ce0c80e1bd
ugh, corrupt downloads. when did this break?
2020-11-07 08:04:43 -08:00
George Hotz
9332fe1989
weee, logsoftmax on GPU. very slow
2020-11-07 07:59:37 -08:00
George Hotz
38e112cccd
logsoftmax test
2020-11-07 07:26:53 -08:00
George Hotz
237bbe3625
sigmoid on GPU
2020-11-07 07:23:46 -08:00
Rakib Fiha
f40dbd791c
Use --upgrade since its in active dev ( #63 )
2020-11-07 07:15:05 -08:00
Rene Delgado
cd54697fd8
fix gpu sum forward ( #61 )
...
* ignore venv
* add sum test
* fix sum forward
2020-11-05 21:59:16 -08:00
gallanoe
aea1069f63
Div on CPU ( #58 )
...
* Added Div on CPU
* Removed eps. value
* Fixed tabs
2020-11-05 21:58:37 -08:00
NeuralLink
cc605da36d
Stable Sigmoid op ( #59 )
...
* 🔨 Added stable sigmoid
* ✅ added sigmoid test
* 🔧 suppressed overflow warning
* 🔧 clean up
2020-11-05 21:57:50 -08:00
George Hotz
cc852efa64
make OpenCL work elsewhere
2020-11-05 07:59:55 -08:00
Ryan Neph
22a5f9975d
pow+div on GPU ( #57 )
2020-11-05 07:49:45 -08:00
adamritter
b16fadc5c6
Speed up sum backward pass ( #54 )
...
Co-authored-by: holonomicjl <58403584+holonomicjl@users.noreply.github.com>
2020-11-04 19:55:45 -08:00
George Hotz
0be3d2cdba
install pyopencl
2020-11-04 11:22:11 -08:00
George Hotz
3efb4f4df4
chicken.jpg
2020-11-04 11:20:22 -08:00
Marcel Bischoff
c69582744d
Update efficientnet.py ( #53 )
...
from https://github.com/lukemelas/EfficientNet-PyTorch/blob/master/efficientnet_pytorch/utils.py
```
blocks_args = [
'r1_k3_s11_e1_i32_o16_se0.25',
'r2_k3_s22_e6_i16_o24_se0.25',
'r2_k5_s22_e6_i24_o40_se0.25',
'r3_k3_s22_e6_i40_o80_se0.25',
'r3_k5_s11_e6_i80_o112_se0.25',
'r4_k5_s22_e6_i112_o192_se0.25',
'r1_k3_s11_e6_i192_o320_se0.25',
]
```
now it's a persian cat.
2020-11-04 09:36:27 -08:00
Marcel Bischoff
c40862241d
Revert "choose aspect ration dependent on landscape or portrait ( #48 )" ( #51 )
...
This reverts commit 2808411421
.
2020-11-02 19:31:07 -08:00
Anders Aaen Springborg
2808411421
choose aspect ration dependent on landscape or portrait ( #48 )
2020-11-02 18:10:22 -08:00
Marcel Bischoff
d24363f421
Update setup.py ( #49 )
...
I think `:=` in tinygrad/test/test_mnist.py actually needs 3.8
2020-11-02 18:09:31 -08:00
George Hotz
940e14c6ca
more readme
2020-11-02 08:33:48 -08:00