megatron.model.module#
Description
Megatron Module
Classes
|
|
|
Megatron specific extensions of torch Module with support for pipelining. |
Functions
|
Apply conversion to val. |
|
Convert fp16/bf16 val to fp32 |
|
Convert fp32 val to fp16/bf16 |
|
Description
Megatron Module
Classes
|
|
|
Megatron specific extensions of torch Module with support for pipelining. |
Functions
|
Apply conversion to val. |
|
Convert fp16/bf16 val to fp32 |
|
Convert fp32 val to fp16/bf16 |
|