Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use latest ggml from upstream #177

Merged
merged 13 commits into from
Jul 28, 2024
Merged
11 changes: 6 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ jobs:

strategy:
matrix:
sanitizer: [ADDRESS, THREAD, UNDEFINED]
# THREAD sanitizer is broken here and in llama.cpp
sanitizer: [ADDRESS, UNDEFINED]
build_type: [Debug, Release]

steps:
Expand Down Expand Up @@ -51,7 +52,7 @@ jobs:
id: cmake_test
run: |
cd build
ctest --verbose
ASAN_OPTIONS=detect_odr_violation=0 ctest --verbose

ubuntu-latest-cmake:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -134,7 +135,7 @@ jobs:
run: |
mkdir build
cd build
cmake -DRWKV_AVX2=OFF -DRWKV_FMA=OFF -DCMAKE_OSX_ARCHITECTURES="arm64;x86_64" ..
cmake -DRWKV_AVX2=OFF -DRWKV_FMA=OFF -DRWKV_METAL=ON -DCMAKE_OSX_ARCHITECTURES="arm64;x86_64" ..
cmake --build . --config Release

- name: Test
Expand Down Expand Up @@ -170,7 +171,7 @@ jobs:
rwkv-${{ env.BRANCH_NAME }}-${{ steps.commit.outputs.short }}-bin-${{ steps.system-info.outputs.OS_TYPE }}-${{ steps.system-info.outputs.OS_NAME }}-${{ steps.system-info.outputs.OS_VERSION }}-${{ steps.system-info.outputs.CPU_ARCH }}.zip

windows-latest-cmake:
runs-on: windows-latest
runs-on: windows-2019

continue-on-error: true

Expand All @@ -186,7 +187,7 @@ jobs:
- build: 'cuda12'
defines: '-DRWKV_CUBLAS=ON'
- build: 'rocm5.5'
defines: '-G Ninja -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -DRWKV_HIPBLAS=ON -DCMAKE_BUILD_TYPE=Release -DAMDGPU_TARGETS="gfx1100;gfx1102;gfx1030"'
defines: '-G "Unix Makefiles" -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -DRWKV_HIPBLAS=ON -DCMAKE_BUILD_TYPE=Release -DAMDGPU_TARGETS="gfx1100;gfx1102;gfx1030"'

steps:
- name: Clone
Expand Down
4 changes: 2 additions & 2 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[submodule "ggml"]
path = ggml
url = https://github.com/saharNooby/ggml
branch = increased-node-limit-2023-09-19
url = https://github.com/ggerganov/ggml
branch = master
Loading
Loading