SciSharp / LLamaSharp

A C#/.NET library to run LLM (🦙LLaMA/LLaVA) on your local device efficiently.
https://scisharp.github.io/LLamaSharp
MIT License
2.7k stars 349 forks source link

Fixed `ChatSession.LoadSession` #976

Closed martindevans closed 1 week ago

martindevans commented 1 week ago

Fixed usage of UnmanagedMemoryStream by explicitly stating if read or write mode is needed. This was causing LoadSession to fail.