nemo_automodel.components.models.step3p7
nemo_automodel.components.models.step3p7
Submodules
nemo_automodel.components.models.step3p7.configuration_step3p7nemo_automodel.components.models.step3p7.modelnemo_automodel.components.models.step3p7.mtpnemo_automodel.components.models.step3p7.processing_step3nemo_automodel.components.models.step3p7.state_dict_adapternemo_automodel.components.models.step3p7.vision_encoder
Package Contents
Classes
API
Bases: PretrainedConfig
Top-level configuration for Step3.7 vision-language checkpoints.
Bases: HFCheckpointingMixin, Module, MoEFSDPSyncMixin
Native Step3.7 VLM implementation for MedPix fine-tuning with EP and PP.
Return a sharder-only CP backend; embed + splice + shard happen in forward.
Embedding and the vision multimodal scatter now run inside forward
per microbatch (see the CP branch that calls get_multimodal_embeddings
prepare_inputs_embeds+shard_sequence_for_cp_round_robin). The returnedContextParallelSharderround-robin-shards only the no-grad aux streams (labels/position_ids/loss_mask/padding_mask) and leavesinput_idsand the media inputs full-length for the forward. Step3.7 uses plain 1-D positions, so noposition_idsare computed here (the aux shard injects and slices them).
Parameters:
The full-sequence batch (with input_ids [batch, sequence]); left intact.
Accepted for hook-signature parity; unused (round-robin CP).
Bases: PretrainedConfig
Configuration for the Step3.7 language backbone.
Bases: PretrainedConfig
Configuration for the Step robotics vision encoder.