This release includes the full source code along with a ready-to-use archive of the library subproject:
📦 llama.csharp-v1.3.0.zip
Supported llama.cpp versions
b9460 and later (up to the latest releases)
You can download the engine files from the official llama.cpp releases: 🔗 llama.cpp releases
Public changes
New features
- Added
ClearSequencemethod in LlamaExecutor for clearing sequence state and cache for any model type. CopySeqPrefixTocan now be used regardless of the source and target sequence states.
Fixed
- Fixed partial copy in
CopySeqPrefixTo: allowed for hybrid models and fixed setting sequence state after copying (previously the sequence state after partial copy was corrupted).
Other
Tests
- Added more partial copy tests for different model types and sequence states.
- Added
ClearSequencetests.