Commit Graph

31 Commits (main)

Author SHA1 Message Date
Jared Van Bortel beaede03fb
repo: remove bindings that have no maintainer (#2429)
The C#, Java, and Go bindings are now removed from the repo.

Signed-off-by: Jared Van Bortel <jared@nomic.ai>
1 day ago
chrisbarrera f8b1069a1c
add min_p sampling parameter (#2014)
Signed-off-by: Christopher Barrera <cb@arda.tx.rr.com>
Co-authored-by: Jared Van Bortel <cebtenzzre@gmail.com>
4 months ago
Jared Van Bortel 059afb8ee8
csharp: update README to reflect new NuGet package
Signed-off-by: Jared Van Bortel <jared@nomic.ai>
4 months ago
Jared Van Bortel 5dd7378db4
csharp: fix NuGet package build (#1951)
Signed-off-by: Jared Van Bortel <jared@nomic.ai>
Signed-off-by: Konstantin Semenenko <mail@ksemenenko.com>
Co-authored-by: Konstantin Semenenko <mail@ksemenenko.com>
4 months ago
Jared Van Bortel 061d1969f8
expose n_gpu_layers parameter of llama.cpp (#1890)
Also dynamically limit the GPU layers and context length fields to the maximum supported by the model.

Signed-off-by: Jared Van Bortel <jared@nomic.ai>
4 months ago
Jared Van Bortel 03a9f0bedf
csharp: update C# bindings to work with GGUF (#1651) 5 months ago
Jared Van Bortel d1c56b8b28
Implement configurable context length (#1749) 6 months ago
cebtenzzre 79a5522931 fix references to old backend implementations 8 months ago
cebtenzzre e90263c23f
make scripts executable (#1555) 8 months ago
cebtenzzre 017c3a9649
python: prepare version 2.0.0rc1 (#1529) 8 months ago
cebtenzzre fd3014016b
docs: clarify Vulkan dep in build instructions for bindings (#1525) 8 months ago
mvenditto 8a31239e90 bump version 11 months ago
mvenditto 7efb43c2e4 copy metal kernels on macos builds 11 months ago
mvenditto 991b7468c9 fix native lib loader tests 11 months ago
mvenditto c92c1af697 nuget pack and push 11 months ago
mvenditto 4b7b9975c5 add lib loading tests + remove dummy test 11 months ago
mvenditto c3ad76dcd1 update deps for test project 11 months ago
mvenditto 1d570bfe76 bump test to net 7 11 months ago
mvenditto d3831f7dbe first attempt to store test results 11 months ago
mvenditto 5fe4f25d64 fix curr working directory 11 months ago
mvenditto 7c67134b8c try to sort out ci only error on build related to CA2101 11 months ago
mvenditto 2cbe791e5c add a SkipOnCI trait fore tests 11 months ago
Tim Miller 797891c995
Initial Library Loader for .NET Bindings / Update bindings to support newest changes (#763)
* Initial Library Loader

* Load library as part of Model factory

* Dynamically search and find the dlls

* Update tests to use locally built runtimes

* Fix dylib loading, add macos runtime support for sample/tests

* Bypass automatic loading by default.

* Only set CMAKE_OSX_ARCHITECTURES if not already set, allow cross-compile

* Switch Loading again

* Update build scripts for mac/linux

* Update bindings to support newest breaking changes

* Fix build

* Use llmodel for Windows

* Actually, it does need to be libllmodel

* Name

* Remove TFMs, bypass loading by default

* Fix script

* Delete mac script

---------

Co-authored-by: Tim Miller <innerlogic4321@ghmail.com>
1 year ago
mvenditto 8e89ceb54b
C# Bindings - improved logging (#714)
* added optional support for .NET logging

* bump version and add missing alpha suffix

* avoid creating additional namespace for extensions

* prefer NullLogger/NullLoggerFactory over null-conditional ILogger to avoid errors

---------

Signed-off-by: mvenditto <venditto.matteo@gmail.com>
1 year ago
Tim Miller 87cb3505d3 Fix MSVC Build, Update C# Binding Scripts 1 year ago
mvenditto 9eb81cb549
C# Bindings - Prompt formatting (#712)
* Added support for custom prompt formatting

* more docs added

* bump version
1 year ago
redthing1 63f57635d8 make sample print usage and cleaner 1 year ago
redthing1 dec8546abe create test project and basic model loading tests 1 year ago
redthing1 0cc86d19be ignore rider and vscode dirs 1 year ago
redthing1 4864053a33 make build_linux.sh have +x permission 1 year ago
mvenditto 8119ff4df0
C# bindings (#650)
* First workin version of the C# bindings

* Update README.md

Signed-off-by: mvenditto <venditto.matteo@gmail.com>

* Added more docs + fixed prompt callback signature

* build scripts revision

* Added .editorconfig + fixed style issues

---------

Signed-off-by: mvenditto <venditto.matteo@gmail.com>
1 year ago