nemo_automodel.components.models.deepseek_v41.fsdp
nemo_automodel.components.models.deepseek_v41.fsdp
FSDP policy for V4.1’s shared V4 vision tower.
Module Contents
Functions
API
Reuse V4’s vision norm policy while preserving ordinary language FSDP.
Parameters:
module
Module to shard in place; vision towers/blocks retain FP32 norms.
mesh
Runtime FSDP device mesh.
mp_policy
Mixed-precision policy for the module’s non-norm parameters.
offload_policy
Parameter/gradient offload policy.
reshard_after_forward
PyTorch FSDP resharding setting.
ignored_params
Parameter tensors of arbitrary shapes already managed outside this FSDP unit, retaining their existing DTensor placements.
Returns: nn.Module
The input module with FSDP applied.