Allow for lazy loading of npz files, use it in llama to reduce memory usage in the cpu version. (#141)

This commit is contained in:
Laurent Mazare
2023-07-11 20:22:34 +01:00
committed by GitHub
parent 37cad85869
commit fa760759e5
4 changed files with 77 additions and 9 deletions

View File

@ -48,7 +48,7 @@ mod indexer;
mod layout;
#[cfg(feature = "mkl")]
mod mkl;
mod npy;
pub mod npy;
mod op;
pub mod safetensors;
mod shape;