Commit Graph

101 Commits

Author SHA1 Message Date
Jason Couture 9cfbd22499 Fix github variable name
I am not on my game today 🤦
2024-01-30 13:35:54 -05:00
Jason Couture 30e448d2d5 Use event input directly
GHA doesn't seem to load the value into the enviroment variable first, so the workflow always runs on master.
2024-01-30 13:35:54 -05:00
Jason Couture 64cb697bbf Checkout specific ref for llamacpp when building native libs 2024-01-30 13:10:13 -05:00
Jason Couture db7e1e88f8 Use llama instead of libllama in `[DllImport]`
This results in windows users not needing to rename the DLL. This allows native llama builds to be dropped in, even on windows.

I also took the time to update the documentation, removing references to renaming the files, since the names now match.

Fixes #463
2024-01-30 02:40:13 -05:00
Martin Evans 02f6c064fb Added the final nuget push back into the workflows 2024-01-06 01:19:32 +00:00
Martin Evans 5a4e6d8e07 Fixed copy path for binaries 2024-01-06 01:13:26 +00:00
Martin Evans 4d1e73b6d1 Test PR with unimportant change to test the fixed auto-release pipeline 2024-01-06 01:08:39 +00:00
Martin Evans fef9c9f3f2 Temporarily disabled nuget push, for testing 2024-01-06 01:07:00 +00:00
edgett b6dec83ca9
Update compile.yml to fix not building for windows
This fixes the build step: Compile (Windows) (avx512, -DLLAMA_AVX512=ON -LLAMA_AVX512_VBMI=ON -DLLAMA_AVX512_VNNI=ON)

There is a typo in the cmake command: `cmake .. -DLLAMA_NATIVE=OFF -DLLAMA_BUILD_TESTS=OFF -DLLAMA_BUILD_EXAMPLES=OFF -DLLAMA_BUILD_SERVER=OFF -DBUILD_SHARED_LIBS=ON -DLLAMA_AVX512=ON -LLAMA_AVX512_VBMI=ON -DLLAMA_AVX512_VNNI=ON
  cmake --build . --config Release -j ${env:NUMBER_OF_PROCESSORS}`

-LLAMA_AVX512_VBMI
Should be
-DLLAMA_AVX512_VBMI
2023-12-24 17:20:46 -05:00
Martin Evans 1b13f7c717 Improved support for AVX512:
- Enabled more features in build process (VBMI and VNNI)
 - Added runtime checking for this features
 - Improved runtime checking to no longer require dotnet8.0
2023-12-16 15:46:28 +00:00
Martin Evans 0b8422ea7f Added AVX and AVX2 to MacOS x86_64 builds 2023-12-13 14:46:43 +00:00
Martin Evans 241b72e6f5 - Fixed uploading metal for x64
- Removed leftover metal file upload
2023-11-19 02:41:33 +00:00
Martin Evans ef6a8890e2 - Fixed MacOS files missing from build pipeline
- Removed inputs (they never worked anyway)
 - Put all deps into one final zip file
2023-11-19 02:19:19 +00:00
Martin Evans 4359752d94
Merge pull request #297 from martindevans/ubuntu-20.04
Ubuntu 20.04 Compile
2023-11-17 01:30:59 +00:00
Martin Evans 9121670b83 Removed codeQL (broken under dotnet8.0 at the moment) 2023-11-16 13:59:20 +00:00
Martin Evans dc8c2309b6 Fixed conditionals 2023-11-15 21:15:50 +00:00
Martin Evans b52422a028 Moved compile job to run on `ubuntu-20.04`, hopefully picking up an older version of glibc with broader support. 2023-11-15 19:23:41 +00:00
Martin Evans fe03e6ad35 Added 8.0 to version installation 2023-11-15 01:40:27 +00:00
Yaohui Liu 460f507898
ci: update ci workflows. 2023-11-12 14:54:43 +08:00
SignalRT 0a2b0abb61 Correct improper rename 2023-11-12 00:27:53 +01:00
SignalRT 7691f83516 Test build and nuget packages 2023-11-11 13:12:07 +01:00
jlsantiago bfeaa575e7
Let master branch in the CI test execution 2023-11-07 00:05:45 +01:00
jlsantiago 0045606bf7
Do not copy metal on MacOS x86_64 Build 2023-11-07 00:04:18 +01:00
jlsantiago e941513180
Disable metal con x86_64 2023-11-06 23:31:10 +01:00
jlsantiago d0856fbbf1
Include MacOS Build 2023-11-06 23:17:58 +01:00
jlsantiago cfe03cd265
Change to execute test 2023-11-06 23:12:01 +01:00
jlsantiago 2efc4e111a
Include MacOS Intel test 2023-11-06 23:10:34 +01:00
jlsantiago 47ad7f1f30
MacOS Intel Build 2023-11-06 22:03:24 +01:00
Martin Evans ebeb6afc4e Removed old targets from matrix 2023-11-05 20:10:47 +00:00
Martin Evans 8762175bc8 Removed unnecessary white space 2023-11-05 20:08:32 +00:00
Martin Evans e9a06cc147 Removed some CI targets 2023-11-05 20:02:25 +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
Rinne 1712664424
build: add codeql workflow 2023-11-04 01:17:10 +08:00
Martin Evans 0255aa2c6e Disabled march=native in github builds! 2023-10-30 22:29:58 +00:00
Martin Evans 4436ea4715 Modified CI to use dotnet 7.0 only, hopefully more stable! 2023-10-25 20:49:00 +01:00
Martin Evans b72b253549 removed OOM killer step (not allowed on GitHub actions) 2023-10-25 18:05:04 +01:00
Martin Evans a769ab3a40 Logging out events from the OOM killer 2023-10-25 17:59:33 +01:00
Martin Evans 8b582a4cc8 Added `if: always()` to force logs to be written even if earlier steps fail 2023-10-25 16:30:22 +01:00
Martin Evans b4e57f7966 Added extra diagnostics to test runner 2023-10-25 16:22:40 +01:00
Yaohui Liu 4b86bc8d9d ci: try to fix error of pushing package. 2023-10-25 01:07:55 +08:00
Yaohui Liu 27b21cf136 ci: try to fix error of pushing package. 2023-10-25 01:03:04 +08:00
Yaohui Liu 0f6408f60a ci: try to fix error of pushing package. 2023-10-25 00:58:20 +08:00
Yaohui Liu c6c478f52b ci: try to fix error of pushing package. 2023-10-25 00:52:38 +08:00
Yaohui Liu a5e66b31dc ci: fix typo. 2023-10-25 00:45:49 +08:00
Yaohui Liu 20d8cb1e84 ci: try to fix error of pushing package. 2023-10-25 00:44:44 +08:00
Yaohui Liu e04c2c51ab ci: try to fix error of pushing package. 2023-10-25 00:27:51 +08:00
Yaohui Liu 99ecfd3e5b ci: try to fix error of pushing package. 2023-10-25 00:11:06 +08:00
Yaohui Liu 0fbca6a38f ci: try to fix error of pushing package. 2023-10-25 00:08:06 +08:00
Yaohui Liu 74e16966fe ci: try to fix error of pushing package. 2023-10-25 00:06:41 +08:00