Commit Graph

771 Commits

Author SHA1 Message Date
Martin Evans 8762175bc8 Removed unnecessary white space 2023-11-05 20:08:32 +00:00
Martin Evans 6a01d9f81f
Merge pull request #253 from martindevans/reduced_CI_targets
Removed some CI targets
2023-11-05 20:07:07 +00:00
Martin Evans e9a06cc147 Removed some CI targets 2023-11-05 20:02:25 +00:00
Martin Evans 9f80bc8451
Merge pull request #252 from hswlab/patch-1
Update README.md
2023-11-05 19:52:47 +00:00
hswlab 9b96900750
Update README.md 2023-11-05 20:39:31 +01:00
SignalRT e1a89a8b0a Added all binaries from this run: https://github.com/SciSharp/LLamaSharp/actions/runs/6762323560
Add the MacOS binary from the same run
2023-11-05 17:57:21 +01:00
Martin Evans 11d8c55db7 Added all binaries from this run: https://github.com/SciSharp/LLamaSharp/actions/runs/6762323560 (132d25b8a62ea084447e0014a0112c1b371fb3f8) 2023-11-05 16:32:38 +00:00
Martin Evans ec20ab3a07
Merge pull request #245 from martindevans/fix/more_march_native
GitHub Action Pipeline Improvements
2023-11-05 15:59:26 +00:00
SignalRT 46fb472d42 Align with llama.cpp b1488 2023-11-05 16:16:29 +01:00
Rinne a9434c2a55
Merge pull request #248 from AsakusaRinne/kernel_memory_dev
feat(kernel-memory): avoid loading model twice.
2023-11-05 21:36:04 +08:00
Yaohui Liu 46f01bbc94
feat(kernel-memory): avoid loading model twice. 2023-11-05 17:16:50 +08:00
Yaohui Liu 457958435b
build: use semantic-kernel beta1 in examples. 2023-11-05 02:59:41 +08:00
Yaohui Liu 2b0fa42173
Merge branch 'master' of github.com:AsakusaRinne/LLamaSharp into add_kernel_memory_pkg 2023-11-05 02:58:51 +08:00
Yaohui Liu 0f12566f65
build: use only net6.0 with kernel-memory. 2023-11-05 02:55:41 +08:00
Martin Evans 3a4a91bc08
Merge pull request #231 from SciSharp/dependabot/nuget/Microsoft.SemanticKernel-1.0.0-beta4
build(deps): bump Microsoft.SemanticKernel from 1.0.0-beta1 to 1.0.0-beta4
2023-11-04 18:46:46 +00:00
Martin Evans fca189942a
Merge pull request #235 from SciSharp/dependabot/nuget/Swashbuckle.AspNetCore-6.5.0
build(deps): bump Swashbuckle.AspNetCore from 6.2.3 to 6.5.0
2023-11-04 18:11:03 +00:00
Martin Evans 38c0622f3f
Merge pull request #234 from SciSharp/dependabot/nuget/xunit.runner.visualstudio-2.5.3
build(deps): bump xunit.runner.visualstudio from 2.5.0 to 2.5.3
2023-11-04 18:00:14 +00:00
dependabot[bot] b7893317f5
build(deps): bump xunit.runner.visualstudio from 2.5.0 to 2.5.3
Bumps [xunit.runner.visualstudio](https://github.com/xunit/visualstudio.xunit) from 2.5.0 to 2.5.3.
- [Release notes](https://github.com/xunit/visualstudio.xunit/releases)
- [Commits](https://github.com/xunit/visualstudio.xunit/compare/2.5.0...2.5.3)

---
updated-dependencies:
- dependency-name: xunit.runner.visualstudio
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-04 16:54:42 +00:00
Martin Evans 4720009116
Merge pull request #233 from SciSharp/dependabot/nuget/xunit-2.6.1
build(deps): bump xunit from 2.5.0 to 2.6.1
2023-11-04 16:54:06 +00:00
Martin Evans 66986f1e49
Merge pull request #246 from martindevans/codeql_pointer_arithmetic
CodeQL Pointer Arithmetic
2023-11-04 16:46:02 +00:00
Martin Evans a03fdc4818 Using a reference to an array instead of pointer arithmetic. This means it will benefit from bounds checking on the array. 2023-11-04 16:17:32 +00:00
Martin Evans 08c29d52c5 Slightly refactored `SafeLLamaGrammarHandle.Create` to solve CodeQL warning about pointer arithmetic. 2023-11-04 16:02:33 +00:00
Martin Evans 32deb56027 Moved common defines into one single env var 2023-11-04 15:08:05 +00:00
Martin Evans f850380718 - Explicitly added `-DLLAMA_NATIVE=OFF` (i.e. disabling `march=native`)
- Added `COMMON_DEFINE` env var which will contain all common defines for all platforms (experimental)
2023-11-04 15:00:51 +00:00
Yaohui Liu 6a7e74e71b
build: add package for kernel-memory integration. 2023-11-04 22:38:06 +08:00
Rinne c933a71b82
Merge pull request #226 from xbotter/kernel-memory
feat: adapts to SK Kernel Memory.
2023-11-04 22:02:39 +08:00
Rinne 98147d0906
Merge pull request #243 from AsakusaRinne/fix_binary_pkg
docs: add example models for v0.7.0.
2023-11-04 21:52:18 +08:00
Yaohui Liu 0d77b5d269
docs: add some example models for v0.7.0. 2023-11-04 21:51:25 +08:00
Rinne 21507c0aad
Merge pull request #240 from AsakusaRinne/fix_binary_pkg
docs: add related repos.
2023-11-04 18:28:39 +08:00
Yaohui Liu d04bdd5c1a
docs: add related repos. 2023-11-04 03:47:21 +08:00
Rinne 1cca6329e6
Merge pull request #238 from AsakusaRinne/fix_binary_pkg
fix: binary not copied on MAC platform.
2023-11-04 03:40:49 +08:00
Rinne 1712664424
build: add codeql workflow 2023-11-04 01:17:10 +08:00
Yaohui Liu f180811f87
docs: update readme. 2023-11-04 00:13:47 +08:00
Yaohui Liu 73e68f3abd
docs: update readme. 2023-11-03 23:59:45 +08:00
Yaohui Liu 0e139d4ee2
fix: add arm binaries to cpu nuspec. 2023-11-03 23:41:22 +08:00
Yaohui Liu 7ee27d2f99
fix: binary not copied on MAC platform. 2023-11-03 23:28:42 +08:00
dependabot[bot] c9858e8739
build(deps): bump Swashbuckle.AspNetCore from 6.2.3 to 6.5.0
Bumps [Swashbuckle.AspNetCore](https://github.com/domaindrivendev/Swashbuckle.AspNetCore) from 6.2.3 to 6.5.0.
- [Release notes](https://github.com/domaindrivendev/Swashbuckle.AspNetCore/releases)
- [Commits](https://github.com/domaindrivendev/Swashbuckle.AspNetCore/compare/v6.2.3...v6.5.0)

---
updated-dependencies:
- dependency-name: Swashbuckle.AspNetCore
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-03 10:48:53 +00:00
dependabot[bot] b20c3ecda5
build(deps): bump xunit from 2.5.0 to 2.6.1
Bumps [xunit](https://github.com/xunit/xunit) from 2.5.0 to 2.6.1.
- [Commits](https://github.com/xunit/xunit/compare/2.5.0...2.6.1)

---
updated-dependencies:
- dependency-name: xunit
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-03 10:48:48 +00:00
dependabot[bot] 25d6b3ce50
build(deps): bump Microsoft.SemanticKernel
Bumps [Microsoft.SemanticKernel](https://github.com/microsoft/semantic-kernel) from 1.0.0-beta1 to 1.0.0-beta4.
- [Release notes](https://github.com/microsoft/semantic-kernel/releases)
- [Commits](https://github.com/microsoft/semantic-kernel/compare/dotnet-1.0.0-beta1...dotnet-1.0.0-beta4)

---
updated-dependencies:
- dependency-name: Microsoft.SemanticKernel
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-03 10:48:38 +00:00
Rinne 112e33eee8
build: add the dependabot. 2023-11-03 18:48:12 +08:00
xbotter c52e99ac77
update example 2023-11-02 14:03:17 +08:00
xbotter f60c1f1134
Merge branch 'kernel-memory' of https://github.com/xbotter/LLamaSharp into kernel-memory 2023-11-02 13:14:02 +08:00
xbotter 61f47f16c8
use StatelessExecutor 2023-11-02 13:13:50 +08:00
xbotter d0a407efbe
Merge branch 'SciSharp:master' into kernel-memory 2023-11-02 13:12:24 +08:00
Rinne 16d5d5514f
docs: update README.md. 2023-11-02 02:36:46 +08:00
xbotter 8c425b9e57
Merge branch 'master' into kernel-memory 2023-11-01 09:03:37 +08:00
Martin Evans 5a9e13c689
Merge pull request #223 from martindevans/batch_decoding
New Binaries, Improved Sampling API, Batch Decoding Prototype
2023-10-31 13:31:21 +00:00
xbotter 2af686f39c
Merge branch 'SciSharp:master' into kernel-memory 2023-10-31 09:10:40 +08:00
Martin Evans db8f3980ea New binaries from this commit: 207b51900e
Should fix the extreme speed loss.
2023-10-30 23:28:29 +00:00
Martin Evans f8b2c5de3d
Merge pull request #227 from martindevans/fixed_build_process
Fixed GitHub Build Process
2023-10-30 22:31:04 +00:00