README.md 344 Bytes
Newer Older
Tri Dao's avatar
Tri Dao committed
1
This CUDA extension implements fused dropout + residual + LayerNorm, based on
2
3
Apex's [FastLayerNorm](https://github.com/NVIDIA/apex/tree/master/apex/contrib/layer_norm).
We add dropout and residual, and make it work for both pre-norm and post-norm architecture.
4
5
6

It has only been tested on A100s.

7
8
9
```sh
cd csrc/layer_norm && pip install .
```