MiMo-7B package-owned Transformers 5 extension

Adapted from XiaomiMiMo/MiMo-7B-RL configuration_mimo.py and modeling_mimo.py,
Hugging Face revision 7c7707596b0ef1032ef82970d7a4a484ca457c4d.
The pinned model card declares license: mit; the checkpoint Python files have
no separate copyright or license headers. The MIT grant is reproduced in
LICENSE with Xiaomi Corporation attribution (the author's spelling from the
official repository) and attribution for ModelCloud's modifications.

The official XiaomiMiMo/MiMo Git repository separately uses Apache-2.0.
(revision 5c806835bb3746808baf99c52040d6d29d58118d; text identical to the
repository root LICENSE); this is distinct from the model card's MIT
declaration, not a relicensing of the checkpoint files.

Native Qwen2 components are imported from the installed Transformers package,
whose Apache-2.0 notices remain supplied by that dependency. The inspected
checkpoint extension itself inherits those exact Qwen2 components, rather
than implementing MiMo-V2-Flash. No checkpoint Python is imported at runtime.

Modifications by ModelCloud.ai, 2026: direct local-loader binding, MTP-count
validation, current attention rotary-pair API, auxiliary weight initialization,
explicit plain-AWQ policy, offline layout/numerical/security/cache/retry tests,
and safetensors qualification.
