pymllm.models ============= .. py:module:: pymllm.models .. autoapi-nested-parse:: Model registry for pymllm. Maps HuggingFace ``config.architectures[0]`` strings to pymllm model classes. Models are imported lazily via ``importlib`` so that heavy dependencies (torch, numpy, etc.) are only loaded when a model is actually requested. Submodules ---------- .. toctree:: :maxdepth: 1 /autoapi/pymllm/models/qwen3_5/index /autoapi/pymllm/models/qwen3_moe/index /autoapi/pymllm/models/qwen3_vl/index Attributes ---------- .. autoapisummary:: pymllm.models.logger Functions --------- .. autoapisummary:: pymllm.models.get_model_class Package Contents ---------------- .. py:data:: logger .. py:function:: get_model_class(architecture) Look up a pymllm model class by HuggingFace architecture string. Returns ``None`` if the architecture is not registered or cannot be imported. The caller is responsible for raising an appropriate error.