Community extraction of model.visual.* from MatterWaveAI/grt-30m-omni at revision c69d1331739458fd92b1d3038ed685a13840a545. It contains the six-layer rotational vision tower, patch embedding and 2×2 spatial merger; the language model, other modalities and generative heads are not included. Tensor names, shapes, dtypes and values are preserved. Source-range comparison and extraction metadata are included.
The original implementation is bundled from the author's Transformers fork, pinned at 829cdd0948f908467dd423cfbc2597fc341b7a36. These files are Apache-2.0; see LICENSE. The source checkpoint declares Apache-2.0. This implementation requires compatible Transformers internals and was tested with Transformers 5.21.1, PyTorch, safetensors, Pillow and NumPy.
Download the repository and call component.load_model(directory). Use the included preprocessor_config.json with transformers.CLIPImageProcessor and pass its pixel_values to the model. Both last_hidden_state and pooler_output are returned. The loader imports the bundled code as transformers.models.grt; loading another GRT code directory into the same Python process is not supported.
The CPU smoke test uses a COCO image with the upstream CLIP image-processor configuration: [1, 3, 224, 224] input produces [1, 64, 256] merged features. Both outputs were finite and repeated execution was identical. See validation.json. This component-only smoke test does not establish full-model quality or end-to-end source equivalence.