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

ggml : change ggml_graph_compute() API to not require context #1999

Merged
merged 20 commits into from
Jul 7, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
ci : enable test-grad0
  • Loading branch information
ggerganov committed Jul 6, 2023
commit 1b9994f8098b3bb49e82672ccec40a704769d07f
25 changes: 21 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,10 @@ jobs:
ubuntu-latest-cmake:
runs-on: ubuntu-latest

env:
GGML_NLOOP: 3
GGML_NITER: 1

steps:
- name: Clone
id: checkout
Expand All @@ -64,11 +68,15 @@ jobs:
id: cmake_test
run: |
cd build
ctest --verbose
ctest --verbose --timeout 900

ubuntu-latest-cmake-sanitizer:
runs-on: ubuntu-latest

env:
GGML_NLOOP: 3
GGML_NITER: 1

continue-on-error: true

strategy:
Expand Down Expand Up @@ -99,7 +107,7 @@ jobs:
id: cmake_test
run: |
cd build
ctest --verbose
ctest --verbose --timeout 900

macOS-latest-make:
runs-on: macos-latest
Expand All @@ -123,6 +131,10 @@ jobs:
macOS-latest-cmake:
runs-on: macos-latest

env:
GGML_NLOOP: 3
GGML_NITER: 1

steps:
- name: Clone
id: checkout
Expand All @@ -147,10 +159,15 @@ jobs:
id: cmake_test
run: |
cd build
ctest --verbose
ctest --verbose --timeout 900

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

env:
GGML_NLOOP: 3
GGML_NITER: 1

env:
OPENBLAS_VERSION: 0.3.23
OPENCL_VERSION: 2023.04.17
Expand Down Expand Up @@ -249,7 +266,7 @@ jobs:
if: ${{ matrix.build != 'clblast' && (matrix.build != 'avx512' || env.HAS_AVX512F == '1') }} # Test AVX-512 only when possible
run: |
cd build
ctest -C Release --verbose
ctest -C Release --verbose --timeout 900

- name: Get commit hash
id: commit
Expand Down
2 changes: 1 addition & 1 deletion tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ llama_add_test(test-quantize-fns.cpp)
llama_add_test(test-quantize-perf.cpp)
llama_add_test(test-sampling.cpp)
llama_add_test(test-tokenizer-0.cpp ${CMAKE_CURRENT_SOURCE_DIR}/../models/ggml-vocab.bin)
# llama_add_test(test-grad0.c) # SLOW
llama_add_test(test-grad0.c) # SLOW
# llama_add_test(test-opt.c) # SLOW