Commit Graph

138 Commits

Author SHA1 Message Date
jlsantiago 3b2836eac4
Llava api (#563)
* Add llava_binaries, update all binaries to make the test

* Llava API + LlavaTest

Preliminary

* First prototype of Load + Unit Test

* Temporary run test con branch LlavaAPI

* Disable Embed test to review the rest of the test

* Restore Embedding test

* Use BatchThread to eval image embeddings

Test Threads default value to ensure it doesn´t produce problems.

* Rename test file

* Update action versions

* Test only one method, no release embeddings

* Revert "Test only one method, no release embeddings"

This reverts commit 264e176dccc9cd0be318b800ae5e102a4635d01c.

* Correct API call

* Only test llava related functionality

* Cuda and Cblast binaries

* Restore build policy

* Changes related with code review

* Add SafeHandles

* Set overwrite to upload-artifact@v4

* Revert to upload-artifact@v3

* revert to upload-artifact@v3
2024-03-13 22:10:44 +00:00
Rinne 884641f751
ci: add dependabot.yml 2024-03-11 21:39:40 +08:00
jlsantiago ef24196444
Build Llava binaries (#556)
* Include llava binaries in the build

* Temporary comment

* Temporary do not remove artifacts

* Update upload version

* Remove artifacts
2024-03-01 13:41:09 +00:00
Martin Evans 69a74bb053 Commented back in the line that pushes to nuget 2024-02-15 14:38:00 +00:00
Martin Evans 418345cbaf limited parallelism of CI jobs 2024-02-07 03:07:23 +00:00
Jason Couture a101224c34 Disable SHA256 check 2024-02-05 17:02:45 -05:00
Jason Couture 1f45bae2cf
Update compile.yml
Fix SHA256 hash path
2024-02-05 13:35:40 -05:00
Jason Couture c963b051e2 Add nuspec for OpenCL (CLBLAST) 2024-02-05 12:21:07 -05:00
Martin Evans d468df08d6
Merge pull request #487 from jasoncouture/clblast_linux
CLBlast for linux
2024-02-05 16:17:50 +00:00
Jason Couture bfe3ad50aa Only allow one build in parallel per ref 2024-02-05 06:07:46 -05:00
Jason Couture f7a6eaa49f Cancel previous builds when a new build is started, due to how expensive this build is. 2024-02-05 06:06:11 -05:00
Jason Couture 277175af4d CLBlast for linux
This builds CLBLAST support for linux, and makes sure to copy the
clblast shared library on both windows and linux to the artifacts.
2024-02-05 06:06:11 -05:00
Martin Evans b5674ead97 Updated download-artifact to v4 2024-02-01 19:00:54 +00:00
Martin Evans 2df7e35c81 Updated compile.yml to use `Jimver/cuda-toolkit@v0.2.14` 2024-02-01 14:40:49 +00:00
Martin Evans d8ed875a2a Updated compile.yml to use `actions/upload-artifact@v4` 2024-02-01 14:31:49 +00:00
Martin Evans ae40d993c4 Updated compile.yml to use checkout v4 2024-02-01 14:26:32 +00:00
Jason Couture 52a85c35e6 Add missing CMAKE prefix 2024-01-30 13:59:26 -05:00
Jason Couture 689ddf0d08 Add missing T to defines for CLBLAST 2024-01-30 13:59:26 -05:00
Jason Couture face505588 Fix syntax error in CLBLAST if statement 2024-01-30 13:59:26 -05:00
Jason Couture ce5fbf0658 Copy clblast dependencies 2024-01-30 13:59:26 -05:00
Jason Couture ad3f895eb3 Make build-deps depend on compile-clblast 2024-01-30 13:59:25 -05:00
Jason Couture 2347a7aa09 Add build job for CLBLAST 2024-01-30 13:59:25 -05:00
Jason Couture 34ca5ff6eb Simplifiy directory creation in build-deps
using bash expansion expression, combined with mkdir -p (--parents), allows us to create all of the directories at once.

`deps/{avx,avx2,avx512,osx-arm64,osx-x64,cu11.7.1,cu12.1.0,clblast}`
expands to: deps/avx deps/avx2 deps/avx512 deps/osx-arm64 deps/osx-x64 deps/cu11.7.1 deps/cu12.1.0 deps/clblast
2024-01-30 13:59:25 -05:00
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
Martin Evans 2166c2dbcf Formatting of error return 2024-01-06 01:04:07 +00:00
Martin Evans 072873a8a1 Added -e flag, to terminate prepare_release script if there are any errors 2024-01-06 00:58:12 +00:00
Martin Evans c38bc0a342 Fixed prepare_release.sh script so it can properly copy all of the binary deps 2024-01-06 00:52:09 +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
Rinne 35624d688c
ci: fix error in auto-release. 2023-11-29 01:06:55 +08: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 0336f6fbfb
Backend.Metal is not needed any more 2023-11-07 22:07:08 +01:00
jlsantiago bfeaa575e7
Let master branch in the CI test execution 2023-11-07 00:05:45 +01:00