Files
tinygrad/docs
chenyu 83f39a8ceb env var to change default float (#3902)
* 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
2024-03-24 20:33:57 -04:00
..
2023-06-16 18:55:19 -07:00
2023-09-23 11:27:36 +08:00
2024-02-12 18:56:30 +01:00
2020-10-26 18:12:49 +01:00
2023-12-05 13:05:36 -05:00

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.

Resources

Environment Variables

env_vars.md

Adding New Accelerators

adding_new_accelerators.md

Community

tinygrad discord