nemo_automodel.components.models.muse_glimmer.model
nemo_automodel.components.models.muse_glimmer.model
Native AutoModel implementation of the complete dense MuseGlimmer VLM.
The parameter hierarchy intentionally matches the checkpoint’s Hugging Face
implementation. Text attention is backend-native: PyTorch SDPA is used for the
ordinary backend and Transformer Engine’s DotProductAttention is constructed
directly for TE BSHD/THD execution.
Module Contents
Classes
Functions
Data
API
Bases: Module
MuseGlimmer GQA with Q/K RMSNorm, optional RoPE, output gate, SDPA, and TE.
Bases: GradientCheckpointingLayer
One MuseGlimmer language decoder layer.
Bases: Module
RMSNorm whose checkpoint weight stores the actual output gain.
Bases: HFCheckpointingMixin, MuseGlimmerPreTrainedModel, GenerationMixin
Native complete MuseGlimmer VLM with causal language-modeling head.
Switch native TE modules between ordinary and packed CP transport.
Record real lengths and validate the TE p2p path when CP is active.
Select native MuseGlimmer CP preparation for BSHD or packed TE THD.
Bases: Module
Bias-free SwiGLU language MLP.
Bases: MuseGlimmerPreTrainedModel
Complete MuseGlimmer vision-language backbone.
Bases: PreTrainedModel
Hugging Face-compatible base class for native MuseGlimmer.
Bases: Module
RMSNorm whose checkpoint weight stores an offset from one.
Bases: Module
MuseGlimmer split-half rotary embedding matching the canonical HF implementation.
Bases: Module
Parameter-free RMSNorm used for embedding and Q/K normalization.
Align full or already-sharded position IDs with model-owned CP embeddings.
Apply split-half RoPE to native BSHD or THD tensors.
Repeat B,Hkv,S,D keys/values to query-head count.