- 22 Apr, 2020 2 commits
-
-
Deyu Fu authored
-
Vinicius Reis authored
The LARC optimizer wraps an underlying optimizer and then needs to be passed to amp.initialize for mixed precision. There were 3 different crashes happening in this situation, fix all of them and add a unit test. I don't know if the 'LARC' in sys.modules check ever worked. In my setup, the entry in sys.modules is 'apex.parallel.LARC'. Checking if the variable is defined seems more reliable though.
-
- 20 Apr, 2020 2 commits
- 13 Apr, 2020 1 commit
-
-
Mannat Singh authored
-
- 05 Apr, 2020 2 commits
- 03 Apr, 2020 4 commits
- 02 Apr, 2020 1 commit
-
-
Kexin Yu authored
-
- 01 Apr, 2020 2 commits
- 31 Mar, 2020 2 commits
-
-
Kexin Yu authored
-
Jeff Bowles authored
-
- 25 Mar, 2020 1 commit
-
-
msbaines authored
The cuda kernel used by fused-adam was using the default stream on the default device. The kernel needs use the same device as the parameter tensor. Fixed by using context manager to set correct default device. For the use_mt case, raised an error. Alternatively, the use_mt case could launch one kernel per cuda device. The non-contrib version will also need to be fixed. Co-authored-by:Mandeep Singh Baines <msb@fb.com>
-
- 23 Mar, 2020 2 commits
- 21 Mar, 2020 2 commits
- 20 Mar, 2020 3 commits
- 17 Mar, 2020 2 commits
- 11 Mar, 2020 2 commits
-
-
ptrblck authored
* disable ninja for multihead_attn * fix getCurrentStream in multihead_attn Co-authored-by:pbialecki <pbialecki@nvidia.com>
-
Tomasz Grel authored
* Do not unscale the gradients if loss scale equal to 1 * Disable unscaling loss scale == 1 only for static scaling
-
- 02 Mar, 2020 1 commit
-
- 27 Feb, 2020 1 commit
-
-
mcarilli authored
* NHWC support for multi tensor apply * compilation fix for version<=1.4
-
- 25 Feb, 2020 3 commits
-
-
ptrblck authored
-
ptrblck authored
-
Saransh Karira authored
-
- 24 Feb, 2020 1 commit
-
-
Kevin Stephano authored
* Adding C++ Multihead Attention implementation to contrib. * Add reference test that at least works for forward. * Remove CublasLt support from multihead attention. * Add new Python version of self attention. * Update python model of MHA with backward pass. * Fixed Output Linear connection in MHA. * Clean up compiles and add documentation to PySelfAttention. * Add Encdec Python version of multihead attention. Cleanup files. * Tests for self and encdec multihead attention. * Add reference pytorch implementation of attention with norm and add. * Add cutlass branch definition. * Add cutlass download to compile. * Add norm/add tests. * Add biases to pytorch python versions. * Add tests and fix issues with python version of attention masking. * Create README.md * Update README.md * Update README.md * Update perf test parameters. * Update README.md * Update README.md * Update README.md * Add files via upload * Update README.md * Update README.md * Update README.md * Fix matmul1 output tensor size. Fix tests that missed issue. * Allow for Z dimensions of 64K and greater on batched GEMMs. * remove redundant imports * general cleanup, remove deprecated or unused functions
-
- 15 Feb, 2020 1 commit
-
-
Deyu Fu authored
-
- 10 Feb, 2020 1 commit
-
-
Ayla Khan authored
Actual flag is --opt_level and copy pasting the example results in an unrecognized arguments error.
-
- 06 Feb, 2020 1 commit
-
-
Kevin Stephano authored
* Adding C++ Multihead Attention implementation to contrib. * Add reference test that at least works for forward. * Remove CublasLt support from multihead attention. * Add new Python version of self attention. * Update python model of MHA with backward pass. * Fixed Output Linear connection in MHA. * Clean up compiles and add documentation to PySelfAttention. * Add Encdec Python version of multihead attention. Cleanup files. * Tests for self and encdec multihead attention. * Add reference pytorch implementation of attention with norm and add. * Add cutlass branch definition. * Add cutlass download to compile. * Add norm/add tests. * Add biases to pytorch python versions. * Add tests and fix issues with python version of attention masking. * Create README.md * Update README.md * Update README.md * Update perf test parameters. * Update README.md * Update README.md * Update README.md * Add f...
-
- 05 Feb, 2020 3 commits
-
-
Kexin Yu authored
* updated apex.contrib.optimizers.FP16_Optimizer and FusedSGD * fix attribute name mismatch in state_dict() and load_state_dict()
-
Kexin Yu authored
-
https://github.com/NVIDIA/apexKexin Yu authored
-