mirror of
https://github.com/LostRuins/koboldcpp.git
synced 2026-05-14 00:01:30 +00:00
Merge branch 'upstream' into concedo_experimental
# Conflicts: # .devops/musa.Dockerfile # .github/workflows/build.yml # README.md # ci/README.md # docs/docker.md # examples/lookahead/lookahead.cpp # examples/lookup/lookup.cpp # examples/parallel/parallel.cpp # ggml/src/ggml-musa/CMakeLists.txt # ggml/src/ggml-sycl/ggml-sycl.cpp # tests/test-arg-parser.cpp
This commit is contained in:
commit
da7fd4aa57
22 changed files with 270 additions and 384 deletions
|
|
@ -1368,6 +1368,10 @@ ggml_tensor * llm_graph_context::build_attn(
|
|||
|
||||
if (wo) {
|
||||
cur = build_lora_mm(wo, cur);
|
||||
if (arch == LLM_ARCH_GLM4) {
|
||||
// GLM4 seems to have numerical issues with half-precision accumulators
|
||||
ggml_mul_mat_set_prec(cur, GGML_PREC_F32);
|
||||
}
|
||||
}
|
||||
|
||||
if (wo_b) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue