tinygrad/docs
Eli Frigo 801564f31b
Remove POW llop and add SQRT llop (#1104)
* fixed division by zero for fast operations

* made et closer to 0

* replace POW llop with SQRT

* updated mlops to swap SQRT and POW llops

* updated hlops to swap POW and SQRT

* added sqrt llop to cpu runtime

* added sqrt llop to cstyle codegen

* added POW llop to llvm ir codegen

* added SQRT llop to torch runtime

* moved pow from mlops to hlops

* found a better way to do reverse pow

* fixed indentation

* added SQRT llop to triton

* update docs to match new llops

* removed POW operator from assembly codegen

* added sqrt and rsqrt to pow hlop

* rewrote pow function in tensor.py

* Adjust tolerance

* Adjust for adamw

* Reduce for Adam too

* removed accidental leftover code

* removed all of accidental code

* added rsqrt test

* removed pow from mlops again

it was added back when resolving merge conflicts

---------

Co-authored-by: Jacky Lee <jla524@sfu.ca>
2023-07-05 18:07:58 -07:00
..
showcase Add yolov8 implementation (#806) 2023-06-16 18:55:19 -07:00
README.md Add a quick start guide (#900) 2023-06-04 08:51:20 -07:00
abstractions.py Small fix to abstractions.py so it runs on Windows without throwing an AttributeError (#1109) 2023-07-03 13:44:49 -07:00
adding_new_accelerators.md Remove POW llop and add SQRT llop (#1104) 2023-07-05 18:07:58 -07:00
env_vars.md global -> group (#1007) 2023-06-21 11:50:43 -07:00
logo.png adds beautiful and meaningful logo 2020-10-26 18:12:49 +01:00
quickstart.md Refactor nn.optim (#1091) 2023-07-02 15:07:30 -07:00
showcase.md Add yolov8 implementation (#806) 2023-06-16 18:55:19 -07:00

README.md

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

Contributing

The documentation mainly follows the core contributing guidelines in the README.md.

Additionally, we always welcome documentation contributions, especially for features that are currently under documented.