You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(cache): add safety guards to checkpoint restore and optimize API calls
- Replaced direct `llama_cpp` API calls with cached function pointers (`self._get_size_ext`, etc.) for better performance and consistency.
- Added sequence ID validation with verbose error logging to prevent cross-sequence contamination.
- Added strict state size validation before restoration to prevent buffer overflows and backend segmentation faults.
0 commit comments