Martin Evans
b5674ead97
Updated download-artifact to v4
2 years ago
Martin Evans
2df7e35c81
Updated compile.yml to use `Jimver/cuda-toolkit@v0.2.14`
2 years ago
Martin Evans
d8ed875a2a
Updated compile.yml to use `actions/upload-artifact@v4`
2 years ago
Martin Evans
ae40d993c4
Updated compile.yml to use checkout v4
2 years ago
Jason Couture
52a85c35e6
Add missing CMAKE prefix
2 years ago
Jason Couture
689ddf0d08
Add missing T to defines for CLBLAST
2 years ago
Jason Couture
face505588
Fix syntax error in CLBLAST if statement
2 years ago
Jason Couture
ce5fbf0658
Copy clblast dependencies
2 years ago
Jason Couture
ad3f895eb3
Make build-deps depend on compile-clblast
2 years ago
Jason Couture
2347a7aa09
Add build job for CLBLAST
2 years ago
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
2 years ago
Jason Couture
9cfbd22499
Fix github variable name
I am not on my game today 🤦
2 years ago
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.
2 years ago
Jason Couture
64cb697bbf
Checkout specific ref for llamacpp when building native libs
2 years ago
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
2 years ago
Martin Evans
02f6c064fb
Added the final nuget push back into the workflows
2 years ago
Martin Evans
5a4e6d8e07
Fixed copy path for binaries
2 years ago
Martin Evans
4d1e73b6d1
Test PR with unimportant change to test the fixed auto-release pipeline
2 years ago
Martin Evans
fef9c9f3f2
Temporarily disabled nuget push, for testing
2 years ago
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
2 years ago
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
2 years ago
Martin Evans
0b8422ea7f
Added AVX and AVX2 to MacOS x86_64 builds
2 years ago
Martin Evans
241b72e6f5
- Fixed uploading metal for x64
- Removed leftover metal file upload
2 years ago
Martin Evans
ef6a8890e2
- Fixed MacOS files missing from build pipeline
- Removed inputs (they never worked anyway)
- Put all deps into one final zip file
2 years ago
Martin Evans
4359752d94
Merge pull request #297 from martindevans/ubuntu-20.04
Ubuntu 20.04 Compile
2 years ago
Martin Evans
9121670b83
Removed codeQL (broken under dotnet8.0 at the moment)
2 years ago
Martin Evans
dc8c2309b6
Fixed conditionals
2 years ago
Martin Evans
b52422a028
Moved compile job to run on `ubuntu-20.04`, hopefully picking up an older version of glibc with broader support.
2 years ago
Martin Evans
fe03e6ad35
Added 8.0 to version installation
2 years ago
Yaohui Liu
460f507898
ci: update ci workflows.
2 years ago
SignalRT
0a2b0abb61
Correct improper rename
2 years ago
SignalRT
7691f83516
Test build and nuget packages
2 years ago
jlsantiago
bfeaa575e7
Let master branch in the CI test execution
2 years ago
jlsantiago
0045606bf7
Do not copy metal on MacOS x86_64 Build
2 years ago
jlsantiago
e941513180
Disable metal con x86_64
2 years ago
jlsantiago
d0856fbbf1
Include MacOS Build
2 years ago
jlsantiago
cfe03cd265
Change to execute test
2 years ago
jlsantiago
2efc4e111a
Include MacOS Intel test
2 years ago
jlsantiago
47ad7f1f30
MacOS Intel Build
2 years ago
Martin Evans
ebeb6afc4e
Removed old targets from matrix
2 years ago
Martin Evans
8762175bc8
Removed unnecessary white space
2 years ago
Martin Evans
e9a06cc147
Removed some CI targets
2 years ago
Martin Evans
32deb56027
Moved common defines into one single env var
2 years ago
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)
2 years ago
Rinne
1712664424
build: add codeql workflow
2 years ago
Martin Evans
0255aa2c6e
Disabled march=native in github builds!
2 years ago
Martin Evans
4436ea4715
Modified CI to use dotnet 7.0 only, hopefully more stable!
2 years ago
Martin Evans
b72b253549
removed OOM killer step (not allowed on GitHub actions)
2 years ago
Martin Evans
a769ab3a40
Logging out events from the OOM killer
2 years ago
Martin Evans
8b582a4cc8
Added `if: always()` to force logs to be written even if earlier steps fail
2 years ago