transformers
ced4adf1
- StaticCache: create cumulative_length on the device (a 0-d .to() synced every layer on MPS: -18 ms per generate)
Go
Login via GitHub
Home
FAQ
Install
Login
via GitHub
Commit
View On
GitHub
Commit
4 days ago
StaticCache: create cumulative_length on the device (a 0-d .to() synced every layer on MPS: -18 ms per generate)
References
#50997 - [distributed] Stream MoE experts from the checkpoint through a device slot cache
#51066 - [distributed] experts offload: read misses with safetensors' Reader
Author
ArthurZucker
Parents
25462e59
Loading