immanuelpeter/MoonViT-K2.6

Model

MoonViT K2.6

0

2 commits

1 linked in READMEs

updated Aug 30, 2026

See the code

README

MoonViT K2.6

This repository packages the Kimi K2.6 MoonViT Tower and Projector as a self-contained Transformers model. It does not download the full 64-shard checkpoint or fetch architecture code from another repository at runtime.

Contents

FileTensorsWhat it holds
model.safetensors329MoonViT Tower
projector.safetensors6Kimi K2.6 Projector
projector_config.json, projector.pyProjector shapes and loader
config.json, configuration_moonvit.py, modeling_moonvit.pyStandalone Transformers model
preprocessor_config.json, kimi_k25_vision_processing.py, media_utils.pyImage preprocessing

Architecture

ComponentDetails
Tower27 layers, 1152 hidden, 16 heads, 4304 intermediate, patch size 14
Token compression2x2 spatial regrouping plus temporal pooling, no learned parameters
ProjectorLayerNorm(1152), flatten four patches, Linear(4608, 4608), GELU, Linear(4608, 7168)

The Tower loads through AutoModel.from_pretrained(..., trust_remote_code=True). The processor accepts the standard images=... interface, and projector.py maps the merged tokens to the Kimi K2.6 language width.

Usage

See examples/inference.py for image-to-projected-features inference.

Validation

The release tests compare all 335 packaged tensors with shards 63 and 64 of the pinned Moonshot checkpoint using torch.equal. Fixed-image merged and projected outputs also match the parent implementation bit-for-bit on CPU and in BF16 on an NVIDIA A100.

Reproduction

The export script splits the BF16 weights published by exolabs/Kimi-K2.6-vision into separate Tower and Projector files. It derives a vision-only loader and processor from the pinned Moonshot implementation.

Credits

Moonshot AI released Kimi K2.6 and its modeling code. Exolabs published the combined vision-only weight file used by the exporter.

License

Kimi K2.6 License, the same license as the source model. The upstream third-party notices are included.

custom_code
feature-extraction
image-feature-extraction
moonvit_k26
safetensors
transformers
vision

Contributors

immanuelpeter

2 commits

immanuelpeter/MoonViT-K2.6

Model

MoonViT K2.6

0

2 commits

1 linked in READMEs

updated Aug 30, 2026

See the code

README

MoonViT K2.6

This repository packages the Kimi K2.6 MoonViT Tower and Projector as a self-contained Transformers model. It does not download the full 64-shard checkpoint or fetch architecture code from another repository at runtime.

Contents

FileTensorsWhat it holds
model.safetensors329MoonViT Tower
projector.safetensors6Kimi K2.6 Projector
projector_config.json, projector.pyProjector shapes and loader
config.json, configuration_moonvit.py, modeling_moonvit.pyStandalone Transformers model
preprocessor_config.json, kimi_k25_vision_processing.py, media_utils.pyImage preprocessing

Architecture

ComponentDetails
Tower27 layers, 1152 hidden, 16 heads, 4304 intermediate, patch size 14
Token compression2x2 spatial regrouping plus temporal pooling, no learned parameters
ProjectorLayerNorm(1152), flatten four patches, Linear(4608, 4608), GELU, Linear(4608, 7168)

The Tower loads through AutoModel.from_pretrained(..., trust_remote_code=True). The processor accepts the standard images=... interface, and projector.py maps the merged tokens to the Kimi K2.6 language width.

Usage

See examples/inference.py for image-to-projected-features inference.

Validation

The release tests compare all 335 packaged tensors with shards 63 and 64 of the pinned Moonshot checkpoint using torch.equal. Fixed-image merged and projected outputs also match the parent implementation bit-for-bit on CPU and in BF16 on an NVIDIA A100.

Reproduction

The export script splits the BF16 weights published by exolabs/Kimi-K2.6-vision into separate Tower and Projector files. It derives a vision-only loader and processor from the pinned Moonshot implementation.

Credits

Moonshot AI released Kimi K2.6 and its modeling code. Exolabs published the combined vision-only weight file used by the exporter.

License

Kimi K2.6 License, the same license as the source model. The upstream third-party notices are included.

custom_code
feature-extraction
image-feature-extraction
moonvit_k26
safetensors
transformers
vision

Contributors

immanuelpeter

2 commits