src/pygpukit/llm/
└── loader.py (1015 lines - all formats)
src/pygpukit/llm/loaders/
├── __init__.py (unified load interface)
├── base.py (BaseLoader)
├── safetensors.py (SafeTensors loader)
├── gguf.py (GGUF loader - future)
├── hf_hub.py (HuggingFace Hub download)
└── weight_map.py (weight name mapping)
Problem
src/pygpukit/llm/loader.pyis 1015 lines handling multiple model formats.Current State
Proposed Structure
Benefits
API
Related