Repository navigation
Fix RMS norm in GGML - #191
Merged
Merged
Conversation
neverabsolute
approved these changes
Mar 15, 2023
hoangmit
approved these changes
Mar 15, 2023
Contributor
|
thank for fixing the fix |
blackhole89
pushed a commit
that referenced
this pull request
Mar 15, 2023
Seunghhon
pushed a commit
to Seunghhon/llama.cpp
that referenced
this pull request
Apr 26, 2026
phuongncn
pushed a commit
to phuongncn/llama.cpp-gx10-dgx-sparks-deepseekv4
that referenced
this pull request
Apr 28, 2026
Co-authored-by: Iwan Kawrakow <[email protected]>
ljubomirj
pushed a commit
to ljubomirj/llama.cpp
that referenced
this pull request
May 6, 2026
kainlan
added a commit
to kainlan/llama.cpp-intel-optimizations
that referenced
this pull request
Aug 26, 2026
The lease-preserve test aborts in unified_cache::shutdown_resources() on GGML_ASSERT(in_use_count == 0 && "cache shutdown with an external weight lease"). The assert is right and stays: a live lease at cleanup is a leaked reference or a stale owner, and the fix is always to find that owner, never to reap the entry. But the bare assert says only THAT one exists -- not which entry, how many leases, or who took the last one -- so every occurrence costs an investigation from zero. The entry already records the answer (debug_last_lease_site plus the acquire/release ring, written on every acquire_entry_lease). Print it, then abort exactly as before. At ERROR deliberately: GGML_LOG_INFO is dropped below the default verbosity threshold and GGML_SYCL_DEBUG needs an env var nobody sets on the run that actually aborts, so a diagnostic at either level is invisible precisely when it is needed. Same reasoning for provenance itself: census 5 could not answer "did minting fire?" because nothing it emitted survives default verbosity. Add two one-shot raw-stderr WARNs -- one when the first buffer owner is minted, one when the first tensor is registered under one. Minting and USING an owner are different events and only the second proves the gate can open, so both are reported. One-shot, so a census gains two lines. Scope note: the abort is NOT caused by the provenance commit. Only the first (pre-existing) case ran -- no tagged owner id appears anywhere in the log and only one test header printed -- so the two new cases never executed and ruling (b) is unverified rather than failed. The assert did not exist when this test last passed (2026-08-10, ggml-org#191 Passed); it was added 2026-08-13 by 582fee6, which predates this branch. Refs llama.cpp-f8ws Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_012PWqLcXa9SZoxz6TffBbLw
pwilkin
pushed a commit
to pwilkin/llama.cpp
that referenced
this pull request
Oct 22, 2026
qwen4exp : gather the PLE rows of the next ubatch on a worker thread
pwilkin
added a commit
to pwilkin/llama.cpp
that referenced
this pull request
Oct 22, 2026
Brings in PRs ggml-org#185, ggml-org#187-ggml-org#194, ggml-org#200 and ggml-org#207. Two conflicts in qwen4exp set_input, both with the asynchronous PLE gather of ggml-org#191, and one in models.h, where ggml-org#194 adds fields next to the EXL3 n-gram table fields (both kept). ggml-org#191 moves the host gather into qwen4exp_ple_host_gather and the on-disk one behind qwen4exp_ple_gather_sync, which a worker thread now also calls one ubatch ahead. The EXL3 n-gram decode moves there: the sync gather builds one row decoder (same head lookup, bias and decoder as before) and hands it to llama_ple_disk (lazy) or to the host gather (resident). The bias and head offsets are copied per call instead of held in the graph input, since two threads may gather at once. ggml-org#194's f16 activation paths (GDN output norm, MoE experts, hc mixed stream) hand an f16 B to matmuls that EXL3 linears take only in f32: a qwen4exp EXL3 model with its layers on the GPU aborted in ggml_exl3_mul_mat while the context probed the fused ops. These paths now skip EXL3 weights, as they skip bf16 ones. Assisted-by: Claude Opus 5.5
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #190