]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commit
sync : ggml (conv 1d + 2d updates, UB fixes) (#3468)
authorGeorgi Gerganov <redacted>
Wed, 4 Oct 2023 12:29:58 +0000 (15:29 +0300)
committerGitHub <redacted>
Wed, 4 Oct 2023 12:29:58 +0000 (15:29 +0300)
commitf93af02488179b9c52d0d391b08ae4c4d891b8d3
treef5dec5ce7e832e4c5a6d40bb76ef9865e27488ac
parentf72f8f22c9cb60465b2e79df2767e4ba9604e576
sync : ggml (conv 1d + 2d updates, UB fixes) (#3468)

* sync : ggml (conv 1d + 2d updates)

ggml-ci

* ggml : fix UB in q5_0 and q5_1 quantize code

ggml.c:1033:39: runtime error: left shift of 1 by 31 places cannot be represented in type 'int'
SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior

ggml.c:1081:39: runtime error: left shift of 1 by 31 places cannot be represented in type 'int'
SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior

ggml-ci

* tests : fix UB in test-quantize-perf
ggml.c
ggml.h
k_quants.c
tests/test-grad0.cpp
tests/test-opt.cpp
tests/test-quantize-perf.cpp