80 Commits (rinne-dev)

Author SHA1 Message Date
  Rinne 4e83e48ad1
Merge pull request #122 from martindevans/gguf 2 years ago
  Martin Evans bcf06e2652 Added some comments on various native methods 2 years ago
  Martin Evans a70c7170dd - Created a higher level `Grammar` class which is immutable and contains a list of grammar rules. This is the main "entry point" to the grammar system. 2 years ago
  Mihai 0bd495276b Add initial tests + fix bugs. Still WIP since the test is failing. 2 years ago
  Martin Evans 2022b82947 Added binaries generated by this action: https://github.com/SciSharp/LLamaSharp/actions/runs/6002797872/job/16279896150 2 years ago
  Martin Evans 31287b5e6e Rewritten TokenToSpan/TokenToString to better fit the new way it's done in llama.cpp with a few different options: 2 years ago
  Martin Evans 0c98ae1955 Passing ctx to `llama_token_nl(_ctx)` 2 years ago
  Martin Evans 6ffa28f964 Removed `LLAMA_MAX_DEVICES` (not used) 2 years ago
  Martin Evans 2056078aef Initial changes required for GGUF support 2 years ago
  Martin Evans cf4754db44 Removed unnecessary parameters from some low level sampler methods 2 years ago
  Martin Evans f70525fec2 Two small improvements to the native sampling API: 2 years ago
  Martin Evans a911b77dec Various minor changes, resolving about 100 ReSharper code quality warnings 2 years ago
  Martin Evans ebacdb666d - Moved the lower level state get/set methods onto SafeLLamaContextHandle 2 years ago
  Martin Evans 829f32b27d - Added `Obsolete` attributes to the entire `OldVersion` namespace, so they can be removed in the future 2 years ago
  zombieguy 45b01d5a78 Improved type conversion 2 years ago
  Martin Evans 2830e5755c - Applied a lot of minor R# code quality suggestions. Lots of unnecessary imports removed. 2 years ago
  Martin Evans 4b7d718551 Added native symbol for CFG 2 years ago
  Martin Evans 759ae26f36
Merge branch 'master' into grammar_basics 2 years ago
  Martin Evans a9e6f21ab8 - Creating and destroying contexts in the stateless executor, saving memory. It now uses zero memory when not inferring! 2 years ago
  Martin Evans ae8ef17a4a - Added various convenience overloads to `LLamaContext.Eval` 2 years ago
  Martin Evans 64416ca23c - Created a slightly nicer way to create grammar (from `IReadOnlyList<IReadOnlyList<LLamaGrammarElement>>`) 2 years ago
  Martin Evans 0294bb1303 Some of the basics of the grammar API 2 years ago
  Rinne 62331852bc
Merge pull request #90 from martindevans/proposal_multi_context 2 years ago
  zombieguy 10f88ebd0e
Potential fix for .Net Framework issues (#103) 2 years ago
  Martin Evans 6c84accce8 Added `llama_sample_classifier_free_guidance` method from native API 2 years ago
  Martin Evans 479ff57853 Renamed `EmbeddingCount` to `EmbeddingSize` 2 years ago
  Martin Evans d0a7a8fcd6 - Cleaned up disposal in LLamaContext 2 years ago
  Martin Evans f3511e390f WIP demonstrating changes to support multi-context. You can see this in use in `TalkToYourself`, along with notes on what still needs improving. 2 years ago
  Martin Evans d7f971fc22 Improved `NativeApi` file a bit: 2 years ago
  Martin Evans 841cf88e3b
Merge pull request #96 from martindevans/minor_quantizer_improvements 2 years ago
  Martin Evans ce325b49c7 Rewritten comments 2 years ago
  sa_ddam213 726987b761 Add native logging output 2 years ago
  Martin Evans acd91341e6 Added lots of comments to all the LLamaFtype variants 2 years ago
  Martin Evans 2b2d3af26b Moved `Eval` out of `Utils` and into `SafeLLamaContextHandle` 2 years ago
  Martin Evans 0e5e00e300 Moved `TokenToString` from Utils into `SafeLLamaContextHandle` (thin wrappers around the same method in `SafeLlamaModelHandle`) 2 years ago
  Martin Evans 2d811b2603 - Moved `GetLogits` into `SafeLLamaContextHandle` 2 years ago
  Martin Evans cd3cf2b77d - Moved tokenization from `Utils.Tokenize` into `SafeLLamaContextHandle.Tokenize`, one less thing in `Utils`. 2 years ago
  Rinne bfe9cc8961
Merge pull request #78 from SciSharp/rinne-dev 2 years ago
  Yaohui Liu bb46a990d0
fix: add bug info for native api. 2 years ago
  sa_ddam213 372894e1d4 Expose some native classes 2 years ago
  SignalRT 348f2c7d72 Update llama.cpp binaries to 5f631c2 and align the context to that version 2 years ago
  Rinne 8d37abd787
Merge pull request #68 from martindevans/sampling_improvements 2 years ago
  Martin Evans add3d5528b Removed `MarshalAs` on array 2 years ago
  Martin Evans 2245b84906
Update LLamaContextParams.cs 2 years ago
  sa_ddam213 3e252c81f6 LLamaContextParams epsilon and tensor split changes 2 years ago
  Martin Evans ec49bdd6eb - Most importantly: Fixed issue in `SamplingApi`, `Memory` was pinned, but never unpinned! 2 years ago
  Martin Evans 6985d3ab60 Added comments on two properties 2 years ago
  Martin Evans c974c8429e Removed leftover `using` 2 years ago
  Martin Evans afb9d24f3a Added model `Tokenize` method 2 years ago
  Martin Evans 369c915afe Added TokenToString conversion on model handle 2 years ago