Skip to content

Commit

Permalink
sync: use ggml upstream master branch (#115)
Browse files Browse the repository at this point in the history
  • Loading branch information
PABannier committed Sep 30, 2023
1 parent 07e6516 commit ee2a597
Show file tree
Hide file tree
Showing 12 changed files with 75 additions and 21,430 deletions.
39 changes: 3 additions & 36 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,9 @@ jobs:
steps:
- name: Clone
id: checkout
uses: actions/checkout@v1
uses: actions/checkout@v2
with:
submodules: true

- name: Dependencies
id: depends
Expand Down Expand Up @@ -69,41 +71,6 @@ jobs:
cd build
ctest --verbose --timeout 900
ubuntu-latest-cmake-sanitizer:
runs-on: ubuntu-latest

continue-on-error: true

strategy:
matrix:
sanitizer: [ADDRESS, THREAD, UNDEFINED]
build_type: [Debug, Release]

steps:
- name: Clone
id: checkout
uses: actions/checkout@v1

- name: Dependencies
id: depends
run: |
sudo apt-get update
sudo apt-get install build-essential
- name: Build
id: cmake_build
run: |
mkdir build
cd build
cmake .. -DBARK_SANITIZE_${{ matrix.sanitizer }}=ON -DCMAKE_BUILD_TYPE=${{ matrix.build_type }}
cmake --build . --config ${{ matrix.build_type }}
- name: Test
id: cmake_test
run: |
cd build
ctest --verbose --timeout 900
macOS-latest-make:
runs-on: macos-latest

Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ encodec
main
toy
quantize
ggml

*.plist
*.wav
Expand Down
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "ggml"]
path = ggml
url = https://github.com/ggerganov/ggml.git

0 comments on commit ee2a597

Please sign in to comment.