Expand description
Weight loading from various formats Core Weight Loading Abstraction
This module provides unified weight loading that converts any supported weight format into our core tensor abstraction.
Structs§
- Config
Loader - Model configuration loader - loads config.json files
- GGUF
Model Config - Configuration extracted from GGUF metadata
- GGUF
Special Tokens - Special token IDs extracted from GGUF
- GGUF
Tokenizer - Tokenizer data extracted from GGUF metadata
- GGUF
Weight Loader - GGUF weight loader
- Model
Loader - Complete model loading pipeline
- PyTorch
Weight Loader - PyTorch weight loader
- Safe
Tensors Weight Loader - SafeTensors weight loader
- Unified
Weight Loader - Unified weight loader that dispatches to appropriate format loaders
Traits§
- Weight
Loader - Core weight loader trait - abstracts loading from different formats
Functions§
- loader
- Get global model loader