Skip to content

Commit f607e53

Browse files
committed
reset to upstream/master
1 parent e438257 commit f607e53

18 files changed

+159
-467
lines changed

.github/workflows/build.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ jobs:
7272
id: cmake_test
7373
run: |
7474
cd build
75-
ctest -L main --verbose --timeout 900
75+
ctest --verbose --timeout 900
7676
7777
ubuntu-latest-cmake-sanitizer:
7878
runs-on: ubuntu-latest
@@ -107,7 +107,7 @@ jobs:
107107
id: cmake_test
108108
run: |
109109
cd build
110-
ctest -L main --verbose --timeout 900
110+
ctest --verbose --timeout 900
111111
112112
ubuntu-latest-cmake-mpi:
113113
runs-on: ubuntu-latest
@@ -141,7 +141,7 @@ jobs:
141141
id: cmake_test
142142
run: |
143143
cd build
144-
ctest -L main --verbose
144+
ctest --verbose
145145
146146
# TODO: build with LLAMA_NO_METAL because test-backend-ops fail on "Apple Paravirtual device" and I don't know
147147
# how to debug it.
@@ -202,7 +202,7 @@ jobs:
202202
id: cmake_test
203203
run: |
204204
cd build
205-
ctest -L main --verbose --timeout 900
205+
ctest --verbose --timeout 900
206206
207207
macOS-latest-cmake-ios:
208208
runs-on: macos-latest
@@ -394,7 +394,7 @@ jobs:
394394
if: ${{ matrix.build != 'clblast' && (matrix.build != 'avx512' || env.HAS_AVX512F == '1') }} # not all machines have native AVX-512
395395
run: |
396396
cd build
397-
ctest -L main -C Release --verbose --timeout 900
397+
ctest -C Release --verbose --timeout 900
398398
399399
- name: Test (Intel SDE)
400400
id: cmake_test_sde
@@ -406,7 +406,7 @@ jobs:
406406
7z x "-o${env:RUNNER_TEMP}" $env:RUNNER_TEMP/sde.tar
407407
$sde = $(join-path $env:RUNNER_TEMP sde-external-${env:SDE_VERSION}-win/sde.exe)
408408
cd build
409-
& $sde -future -- ctest -L main -C Release --verbose --timeout 900
409+
& $sde -future -- ctest -C Release --verbose --timeout 900
410410
411411
- name: Determine tag name
412412
id: tag

.github/workflows/python-check-requirements.yml

Lines changed: 0 additions & 27 deletions
This file was deleted.

.gitignore

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,3 +86,19 @@ examples/jeopardy/results.txt
8686

8787
poetry.lock
8888
poetry.toml
89+
90+
# Test binaries
91+
/tests/test-grammar-parser
92+
/tests/test-llama-grammar
93+
/tests/test-double-float
94+
/tests/test-grad0
95+
/tests/test-opt
96+
/tests/test-quantize-fns
97+
/tests/test-quantize-perf
98+
/tests/test-sampling
99+
/tests/test-tokenizer-0-llama
100+
/tests/test-tokenizer-0-falcon
101+
/tests/test-tokenizer-1-llama
102+
/tests/test-tokenizer-1-bpe
103+
/tests/test-rope
104+
/tests/test-backend-ops

Makefile

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@ TEST_TARGETS = \
1010
tests/test-quantize-fns tests/test-quantize-perf tests/test-sampling tests/test-tokenizer-0-llama \
1111
tests/test-tokenizer-0-falcon tests/test-tokenizer-1-llama tests/test-tokenizer-1-bpe tests/test-rope \
1212
tests/test-backend-ops
13-
# # TODO(crasm): determine how to run tests that depend on openllama model files with make
14-
# tests/test-model-load-cancel
1513

1614
# Code coverage output files
1715
COV_TARGETS = *.gcno tests/*.gcno *.gcda tests/*.gcda *.gcov tests/*.gcov lcov-report gcovr-report
@@ -732,5 +730,3 @@ tests/test-c.o: tests/test-c.c llama.h
732730

733731
tests/test-backend-ops: tests/test-backend-ops.cpp ggml.o $(OBJS)
734732
$(CXX) $(CXXFLAGS) $(filter-out %.h,$^) -o $@ $(LDFLAGS)
735-
736-
tests/test-model-load-cancel: tests/test-model-load-cancel.cpp ggml.o llama.o $(OBJS)

check-requirements.sh

Lines changed: 0 additions & 156 deletions
This file was deleted.

0 commit comments

Comments
 (0)