MCPcopy Create free account
hub / github.com/InternLM/InternBootcamp / McoreModuleWrapperConfig

Class McoreModuleWrapperConfig

verl/verl/utils/megatron_utils.py:164–170  ·  view source on GitHub ↗

Configuration for Mcore module wrapper.

Source from the content-addressed store, hash-verified

162
163@dataclass
164class McoreModuleWrapperConfig:
165 """Configuration for Mcore module wrapper."""
166
167 is_value_model: bool = False
168 share_embeddings_and_output_weights: bool = False
169 wrap_with_ddp: bool = True
170 use_distributed_optimizer: bool = True
171
172
173def make_megatron_module(

Callers 4

_build_rm_modelMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected