]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commit
add basic tensor data validation function (#6884)
authorslaren <redacted>
Fri, 26 Apr 2024 16:39:58 +0000 (18:39 +0200)
committerGitHub <redacted>
Fri, 26 Apr 2024 16:39:58 +0000 (18:39 +0200)
commit017e6999b5184234370b22a2f868e1be911e8d88
tree2a29b4d5bf7cfc6965ce895abee9e889b6529ade
parente2764cd7ca1112d9303eba9e81c9935ee67352ff
add basic tensor data validation function (#6884)

* add basic tensor data validation function

* add --check-tensors command line argument

tensor validation is disabled by default and can be enabled by adding
`--check-tensors` to the command line arguments.

quantize always validates tensors.
common/common.cpp
common/common.h
ggml-quants.c
ggml.h
llama.cpp
llama.h