mirror of
https://github.com/rasbt/LLMs-from-scratch.git
synced 2024-11-25 16:22:50 +08:00
cd2753a36d
Some checks failed
Code tests (Linux) / test (push) Has been cancelled
Code tests (macOS) / test (push) Has been cancelled
Test PyTorch 2.0 and 2.4 / test (2.0.1) (push) Has been cancelled
Test PyTorch 2.0 and 2.4 / test (2.4.0) (push) Has been cancelled
Code tests (Windows) / test (push) Has been cancelled
Check hyperlinks / test (push) Has been cancelled
Spell Check / spellcheck (push) Has been cancelled
PEP8 Style checks / flake8 (push) Has been cancelled
|
||
---|---|---|
.. | ||
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_dict
method more efficiently