Skip to content

Update README.md - #2147

Merged
ggerganov merged 1 commit into
masterfrom
unknown repository
Jul 9, 2023
Merged

ggerganov merged 1 commit into
masterfrom
unknown repository

Conversation

@ghost

@ghost ghost commented Jul 8, 2023

Copy link
Copy Markdown

The file pathing is significant when running models inside of Termux on Android devices. llama.cpp performance is improved with loading a .bin from the $HOME directory.

As the readme currently stands, a person will navigate to the downloads folder and move the bin to another folder inside the downloads folder, which is incorrect.

The file pathing is significant when running models inside of Termux on Android devices. llama.cpp performance is improved with loading a .bin from the $HOME directory.
@ggerganov
ggerganov merged commit 18780e0 into ggml-org:master Jul 9, 2023
Seunghhon pushed a commit to Seunghhon/llama.cpp that referenced this pull request Apr 26, 2026
The file pathing is significant when running models inside of Termux on Android devices. llama.cpp performance is improved with loading a .bin from the $HOME directory.
phuongncn pushed a commit to phuongncn/llama.cpp-gx10-dgx-sparks-deepseekv4 that referenced this pull request Apr 28, 2026
The file pathing is significant when running models inside of Termux on Android devices. llama.cpp performance is improved with loading a .bin from the $HOME directory.
ljubomirj pushed a commit to ljubomirj/llama.cpp that referenced this pull request May 6, 2026
The file pathing is significant when running models inside of Termux on Android devices. llama.cpp performance is improved with loading a .bin from the $HOME directory.
AlexiAlp pushed a commit to minghaop/llama.cpp that referenced this pull request Jun 2, 2026
The file pathing is significant when running models inside of Termux on Android devices. llama.cpp performance is improved with loading a .bin from the $HOME directory.
AlexiAlp pushed a commit to minghaop/llama.cpp that referenced this pull request Jun 2, 2026
The file pathing is significant when running models inside of Termux on Android devices. llama.cpp performance is improved with loading a .bin from the $HOME directory.
bong-water-water-bong pushed a commit to bong-water-water-bong/llama.cpp that referenced this pull request Sep 8, 2026
…oom kernels exist (only the fused qwen MoE-router registration covers them); orphaned prefill-batch nodes landed in HRX splits with no dispatch = graph compute -1 (qwen3moe 30B, ggml-org#2147). Follows the file convention for ARGSORT/GLU/GET_ROWS/ROPE/SOFT_MAX. Regression: zaya decode unchanged; qwen3-0.6B HRX decode OK (tok0=12095 canary). (agent-f49062)
bong-water-water-bong pushed a commit to bong-water-water-bong/llama.cpp that referenced this pull request Sep 8, 2026
…]==1) so prefill-batch ADDs split to CPU (cherry-picked from c5ac20 lane 5601a1a12)

qwen3moe-30B prefill orphaned ADD f32[2048,seq>1] nodes: claimed via the
attention-residual/routed-ffn-reduce predicates but no registration matched at
prefill batch shapes - same eager-claim-vs-registration gap as the SUM_ROWS
fix (8000c09). Verified by c5ac20: 5/8/16-token prefill plan stages pass,
ADD orphan gone. Author: round28 (agent-c5ac20 lane).
bong-water-water-bong pushed a commit to bong-water-water-bong/llama.cpp that referenced this pull request Sep 8, 2026
…es (ne[1]==1) so prefill-batch ADDs split to CPU (cherry-picked from c5ac20 lane 5601a1a12)"

This reverts commit 20b43a7.
bong-water-water-bong pushed a commit to bong-water-water-bong/llama.cpp that referenced this pull request Sep 8, 2026
…replaces the blanket ADD exclusion

- dense-qwen3 residual ADDs directly consume mm outputs -> claimed -> roster
  decode restored: qwen3-0.6B tg128 227.8 +/- 1.8 t/s (was 48.9 excluded,
  242.9 full-allow) - the per-layer ADDs merge the subgraph splits.
- zaya residual ADDs consume rescaled MUL products (inputs cross the CPU conv
  islands) -> not claimed -> stay CPU -> decode stays oracle-exact (tok0=9079,
  6.1 t/s).
- qwen3moe VIEW-wrapped residual ADDs have no direct mm src -> stay CPU (no
  dispatch orphans, ggml-org#2147). GGML_HRX_ALLOW_ADD=1 kept as the A/B instrument.
(agent-f49062)
bong-water-water-bong pushed a commit to bong-water-water-bong/llama.cpp that referenced this pull request Sep 8, 2026
… (offset-rebind)

Batched (ne3>1) decode-split flash matcher: per-(stream,row) dispatches with
per-stream s*nb[3] offset rebinding of the EXISTING kernel — no kernel change
(BATCHED-FLASH-OFFSET-PROPOSAL.md). Contiguity-gated stream dim; per-dispatch
partial/counter transients (sharing one set at offset 0 raced the
online-softmax reduce).

Verified on strixhalo (zaya q4nx-c43, np2):
- the batched node is CLAIMED (was 'unsupported HRX node FLASH_ATTN_EXT
  f32[128,8,4,2]' graph -1)
- per-position logits: stream 0 ≈ CPU-exact (9079/236761/107/4906 argmax
  order, small fp deltas) — the flash attention math itself is correct
- residual bug (downstream, not this matcher): the q8 alternate consumer
  reads stream 1 one row stale (B's logits = A's previous-step logits) —
  batched q8 row indexing in the consuming dispatch

Separate finding recorded on the issues: this branch's device decode is not
oracle-correct with a REAL continuation (dense qwen3 + 30B collapsed; zaya
diverges at tok 4) — the ggml-org#2147 decode-norm reorder fix is on
fix/qwen3-decode-norm, not this lineage. Earlier 'token-identical' claims
from the rt_tok harness were measured on a degenerate continuation (harness
bug, corrected on ggml-org#2117/ggml-org#2116/ggml-org#2145).
bong-water-water-bong pushed a commit to bong-water-water-bong/llama.cpp that referenced this pull request Sep 8, 2026
…U boundary on lm_head input

Program-dump-verified: the batched flash matcher bindings are correct
(per-stream strides, per-dispatch transients) and stream-0 logits are
CPU-exact. The np2 B-stream staleness is the CPU-side lm_head (zaya vocab
262272 > 262144 device cap) reading the final hidden [2048,2] across the
HRX->CPU boundary with a mis-mapped row 1 — the round-16e boundary class on
the device->CPU direction. Corroborated by MUL_MAT->CPU making both streams
garbage. Fix = scheduler boundary copy for batched tensors (or device lm_head
coverage); also requires the ggml-org#2147 decode-norm lineage for any decode-quality
validation.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant