mirror of
https://github.com/rasbt/LLMs-from-scratch.git
synced 2026-04-11 02:11:40 +08:00
| .. | ||
| memory-efficient-state-dict.ipynb | ||
| previous_chapters.py | ||
| README.md | ||
Memory-efficient Model Weight Loading
This folder contains code to illustrate how to load model weights more efficiently
- memory-efficient-state-dict.ipynb: contains code to load model weights via PyTorch's
load_state_dictmethod more efficiently