- 27 Apr, 2019 2 commits
-
-
jjsjann123 authored
* Persistent group batchnorm added Added persistent grouped batch norm for performance run on strong scaling case: currently only supporting: 1. nhwc layout 2. fp16 3. synchronization only within a node! Environment variable is used to tune LAUNCH_MARGIN that limits the CTAs usage by the persistent kernel. Documentation and examples will follow. * updating type().scalarType() to scalar_type() * moving launch margin to be defined at layer creation, adding a knob cap max ctas per sm * fixing the cta computation * review comment: set device_id through cudaGetDevice() move cudaMemset to cudaMemsetAsync updated __threadfence() to __threadfence_system() inter device write
-
Michael Carilli authored
-
- 26 Apr, 2019 7 commits
-
-
Michael Carilli authored
-
Michael Carilli authored
-
Michael Carilli authored
-
Michael Carilli authored
-
ptrblck authored
* change .type().ScalarType() to .scalar_type() + at::ScalarType::X to at::kX * revert scalar_type() to type() for AT_DISPATCH_FLOATING_TYPES_AND_HALF * revert scalar_type() to type() in AT_DISPATCH_FLOATING_TYPES * revert scalar_type() to type() for AT_DISPATCH_FLOATING_TYPES_AND_HALF in welford.cu * revert scalar_type() to type() in layer_norm_cuda_kernel.cu * revert at::kType to at::ScalarType::Type * use DISPATCH_FLOAT_AND_HALF to get rid of warnings * add dispatch mechanisms for double+float and double+float+half
-
Michael Carilli authored
-
Michael Carilli authored
-
- 25 Apr, 2019 3 commits
-
-
Michael Carilli authored
-
Michael Carilli authored
-
Michael Carilli authored
-
- 24 Apr, 2019 4 commits
-
-
Michael Carilli authored
-
Michael Carilli authored
-
Michael Carilli authored
-
Michael Carilli authored
-
- 23 Apr, 2019 2 commits
-
-
Michael Carilli authored
-
ptrblck authored
-
- 22 Apr, 2019 1 commit
-
-
Michael Carilli authored
-
- 18 Apr, 2019 4 commits
-
-
Michael Carilli authored
-
Michael Carilli authored
-
ptrblck authored
-
Glenn Jocher authored
-
- 17 Apr, 2019 1 commit
-
-
Michael Carilli authored
-
- 16 Apr, 2019 5 commits
-
-
Michael Carilli authored
-
Michael Carilli authored
-
Michael Carilli authored
-
Michael Carilli authored
-
Michael Carilli authored
-
- 15 Apr, 2019 3 commits
-
-
Michael Carilli authored
-
Michael Carilli authored
-
Michael Carilli authored
-
- 12 Apr, 2019 1 commit
-
-
Michael Carilli authored
-
- 11 Apr, 2019 7 commits
-
-
Michael Carilli authored
-
Michael Carilli authored
-
Michael Carilli authored
-
Michael Carilli authored
-
henrymai authored
The main use of these functions (e.g.: `torch.{conv*, prelu}`) is via their `torch.nn` wrapping layers. The `torch.nn` layers are what contain the weights and call into these lower level functions with the weights as a parameter in their `forward()` method. The `torch.conv*` functions are already in the `FP16_CASTS` list due to amp's philosophy of casting the parameters rather than the model/layer weights. Conceptually `torch.prelu` is the same as the `torch.conv*` case, where its weight parameter is passed in from its wrapper layer `torch.nn.PReLU`. -
Michael Carilli authored
-
Michael Carilli authored
-