nemo_automodel.components.models.step5.vision
nemo_automodel.components.models.step5.vision
Step perception encoder with shared, configuration-derived rotary tables.
Module Contents
Classes
API
Bases: StepRoboticsVisionEncoder
Reuse the Step encoder while owning derived-state initialization.
Encode images, optionally completing projection inputs inside the FSDP owner.
Parameters:
Images of shape [images, channels, height, width].
Apply both checkpoint-owned stride-2 convolutions before FSDP reshards the vision module’s parameters.
Returns: torch.Tensor
Patch features [images, patches, width], or downsampled features
Initialize every vision parameter after allocation from meta.
Bases: Module
Share one derived table across vision layers; never serialize or cast it.
Apply the source encoder’s interleaved 2D RoPE.
Parameters:
Tensor [images, heads, image_tokens, head_dim].
Tensor with q’s shape and dtype.
Patch-grid height and width; image_tokens includes the optional leading class token.
Returns: torch.Tensor
Rotated Q and K with their original shape and dtype. Frequencies