mirror of
https://github.com/tinygrad/tinygrad.git
synced 2026-01-09 15:08:02 -05:00
* env var to change default float to fp16 or bf16
looking for standard names for these. we have FLOAT16 that does something to IMAGE and HALF to convert weights.
working on default bf16 too.
```
RuntimeError: compile failed: <null>(6): error: identifier "__bf16" is undefined
__bf16 cast0 = (nv_bfloat16)(val0);
```
remove that in cifar
* DEFAULT_FLOAT
* default of default
* unit test
* don't check default
* tests work on linux
Welcome to the tinygrad documentation!
Here you will find documentation for tinygrad, as well as some examples and tutorials.
Getting Started
Read the quick start guide here.
Or if you want to jump right in to how tinygrad works, you can read the abstraction stack documentation.
Or if you want to see some examples, you can look at the examples in the examples directory.
Or if you just want to see some of the things tinygrad can do, check out the showcase.
API
This is currently a big work in progress.
