Files
tinygrad/extra
JaSpa99 491e85597a Run onnx commavq model (#1537)
* try to run commavq

* fix 0 dim, start implementing new ops

- Implement EmbedLayerNormalization
- Implement Attention

* SkipLayerNormalization and FastGelu

* use original torch model, cast inputs

* fix some ops:

- properly do Cast
- Attention: bi- and unidirectional
- FastGelu: add bias before gelu

* cleanup onnx_ops.py

* add validation option to benchmark

* cleanup imports

* add checks incase onnx2torch implements ops in future

* run onnx instead of original torch

* just skip gpu on m1

* reactivate the other models

* check for strange params & squash whitespace

* cleanup

* fix causal mask Attention

* Range doesn't need int cast

* embedding vocab_counter same dtype as input

* no need to cast

* always validate, fix PosixPath ort

---------

Co-authored-by: George Hotz <george@comma.ai>
2023-08-16 12:24:40 -07:00
..
2023-08-08 15:13:24 -07:00
2023-08-11 10:22:07 -07:00
2023-08-09 06:54:15 -07:00
2023-05-26 19:28:51 -07:00
2023-08-09 06:54:15 -07:00
2023-05-03 19:34:17 +00:00
2023-07-05 15:36:22 -07:00
2023-03-18 14:40:23 -07:00
2023-03-11 07:50:07 -08:00
2023-03-04 07:49:25 -08:00
2023-08-16 12:24:40 -07:00
2023-08-16 12:24:40 -07:00
2023-07-18 19:59:30 -07:00