We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
checkout master@4b7e245, this is the first commit causing the error.
$ make test Running tests... Test project /home/wesley/Work/projects/chatgpt/llama.cpp/build Start 1: test-quantize-fns 1/4 Test #1: test-quantize-fns ................ Passed 0.01 sec Start 2: test-quantize-perf 2/4 Test #2: test-quantize-perf ............... Passed 0.01 sec Start 3: test-sampling 3/4 Test #3: test-sampling ....................Child aborted***Exception: 0.05 sec Start 4: test-tokenizer-0 4/4 Test #4: test-tokenizer-0 ................. Passed 0.03 sec 75% tests passed, 1 tests failed out of 4 Total Test time (real) = 0.10 sec The following tests FAILED: 3 - test-sampling (Child aborted) Errors while running CTest
assert(candidates_p.size == expected_probs.size()); assertion failed, expect 1 but candidates_p.size is 5.
assert(candidates_p.size == expected_probs.size());
1
candidates_p.size
The text was updated successfully, but these errors were encountered:
just run the first test case of test_tfs:
test_tfs
int main(void) { ggml_time_init(); test_tfs({0.1, 0.15, 0.2, 0.25, 0.3}, {0.3}, 0.25); printf("OK\n"); }
in test_tfs:
DUMP(&candidates_p); llama_sample_tail_free(nullptr, &candidates_p, z, 1); DUMP(&candidates_p);
output is:
/home/wesley/Work/projects/chatgpt/llama.cpp/tests/test-sampling.cpp:85 (test_tfs) 0: 0.000000 (-2.302585) 1: 0.000000 (-1.897120) 2: 0.000000 (-1.609438) 3: 0.000000 (-1.386294) 4: 0.000000 (-1.203973) - /home/wesley/Work/projects/chatgpt/llama.cpp/tests/test-sampling.cpp:87 (test_tfs) 4: 0.300000 (-1.203973) 3: 0.250000 (-1.386294) 2: 0.200000 (-1.609438) 1: 0.150000 (-1.897120) 0: 0.100000 (-2.302585) -
Sorry, something went wrong.
No branches or pull requests
checkout master@4b7e245, this is the first commit causing the error.
assert(candidates_p.size == expected_probs.size());
assertion failed, expect1
butcandidates_p.size
is 5.The text was updated successfully, but these errors were encountered: