Skip to content

Commit

Permalink
sync : ggml (conv 1d + 2d updates, UB fixes) (ggerganov#3468)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
ggerganov authored and yusiwen committed Oct 7, 2023
1 parent b60cae6 commit 2d94a53
Show file tree
Hide file tree
Showing 6 changed files with 628 additions and 282 deletions.
Loading

0 comments on commit 2d94a53

Please sign in to comment.