Memory efficient weight loading (#401)

* memory efficient weight loading

* remove unused code
This commit is contained in:
Sebastian Raschka
2024-10-14 10:30:25 -05:00
committed by GitHub
parent 59a5c83726
commit 3d54af20f5
5 changed files with 1043 additions and 0 deletions

View File

@@ -0,0 +1,5 @@
# Memory-efficient Model Weight Loading
This folder contains code to illustrate how to load model weights more efficiently
- [memory-efficient-state-dict.ipynb](memory-efficient-state-dict.ipynb): contains code to load model weights via PyTorch's `load_state_dict` method more efficiently