Skip to content
⌘K

Affiliations

public sources only
No current public affiliations recorded.

Projects

Maintains

No maintained projects recorded.

Contributes to

Talks & podcasts

Talk recordings are matched from conference YouTube channels by exact speaker name.

WG21 papers

Papers are linked from the wg21.link index through curated author names.

Blog posts

No blog feed is tracked for this person.

Other activity

  • Merged PR
    tests : compare only the guaranteed GDN snapshot slots

    Overview The K=5 GATED_DELTA_NET cases added in #32456 fail on backends that use a chunked kernel for long sequences. With n_tokens > K, ggml_gated_delta_net only guarantees snapshot slot 0 (see the comment in ggml.h), but the test…

    llama.cpp#32820 · by am17an
  • Merged PR
    server : fit non-causal batches in one ubatch

    Overview Fixes #32678 With non-causal attention, llama_decode needs the whole batch in one ubatch. For prompts that cannot be split (a decision on a non-causal context), update_slots only checked that the batch stays within n_batch. With…

    llama.cpp#32713 · by am17an
  • Merged PR
    llama : score only the k-pools of the ubatch sequences in QSA

    Overview The QSA indexer gathered, scored and ranked the k-pools of every sequence in a unified cache, and only then masked the pools of the other sequences. set_input_kpool now lays out only the pools of the sequences in the ubatch, so an…

    llama.cpp#32519 · by am17an
  • Merged PR
    llama : move the indexer key rotation choice into the model classes

    Overview Follow-up to #32648. The KV cache forced a Hadamard rotation for the lightning indexer keys based on a list of architectures. The virtual llama_model::lid_k_hdmd() now returns true for the same models: deepseek32, deepseek4,…

    llama.cpp#32653 · by am17an
  • Merged PR
    llama : move the graph node budget into the model classes

    Overview Move the per-architecture graph node budget out of llama_context::graph_max_nodes() and into the model classes, through a new virtual llama_model::graph_nodes_per_tensor() (default 8). This follows the get_rope_params pattern from…

    llama.cpp#32648 · by am17an
  • Merged PR
    llama : reserve graph nodes for the MoE cache

    Overview Fixes #32584. graph_max_nodes() does not account for the nodes the MoE cache adds to each MoE layer: the slot lookup (plus the supports_op probe tensors), and with --moe-cache-cpu-share a second expert path. Archs on the 32x/64x…

    llama.cpp#32636 · by am17an
  • Merged PR
    CUDA: use 64-bit dst offsets in mul_mat_q

    Overview mul_mat_q computes the dst tile offset (jt*J*stride_col_dst, and the same expression in mul_mat_q_stream_k_fixup) in 32-bit int. When the dst has more than 2^31 elements, column tiles that start past INT_MAX / nrows wrap and the…

    llama.cpp#32374 · by am17an
  • Merged PR
    ggml-cpu : use all threads for large GET_ROWS

    Overview ggml_get_n_tasks keeps GET_ROWS on one thread (there is a FIXME about the cost of waking threads with GPU offloading), although every get_rows kernel already splits the rows by ith/nth. This uses all threads once the output has at…

    llama.cpp#32514 · by am17an
  • Merged PR
    qwen4exp : fix graph reallocation from the n-gram table scale

    Overview Fixes the test-llama-context abort on the CUDA and ROCm CI since #32476 (my change): ggml_backend_sched_alloc_splits: unexpected graph reallocation (graph size = 429, nodes = 429, leafs = 107), debug_realloc = 1 #32476 applied…

    llama.cpp#32483 · by am17an
  • Merged PR
    ggml : decode F8_E4M3 to fp32 without ldexpf

    Overview ggml_f8_e4m3_to_fp32 calls ldexpf for every value and branches on the sign. This builds the fp32 bits directly instead: a normal value has exponent field E + 120 and the 3 mantissa bits on top, a subnormal is M * 2^-9, and the…

    llama.cpp#32477 · by am17an
  • Merged PR
    convert : fix FP8 qwen4exp checkpoints (n-gram table scale, block-scaled FP8)

    Overview Fixes converting FP8 qwen4exp checkpoints (Qwen/Qwen3.8-Flash-Next-FP8, nvidia/Qwen3.8-Flash-Next-NVFP4). These checkpoints store the n-gram (PLE) table as 128 F8_E4M3 shards ...ngram_embedding.shard_N.weight with one shared scale…

    llama.cpp#32476 · by am17an
  • Merged PR
    ggml-backend : prefetch only inputs computed by earlier splits

    Overview ggml_backend_sched_prefetch_inputs (#30966) queues reads of the next split's inputs before the current split runs its copy callback. The callback can write tensors that the next split reads: llama_moe_cache::copy uploads missed…

    llama.cpp#32100 · by am17an
  • Merged PR
    cuda : use MMVF for BF16 matrices of few rows at small batch sizes

    For a BF16 matrix with few rows, MMF launches only a few blocks at batch sizes 2-8, so most SMs sit idle. Examples are the qwen4exp indexer projections (128x2560, 512x2560) and hyper-connection projections (320x10240). MMVF launches one…

    llama.cpp#31959 · by am17an
  • Merged PR
    CUDA: skip graph compat check when graph is being reused

    Overview Reduce host-time on big graphs by bypassing this check as it's not required, non-zero matching uids are guaranteed to match. Additional information Requirements I have read and agree with the contributing guidelines AI usage…

    llama.cpp#32004 · by am17an
  • Merged PR
    CUDA: refactor graph and concurrent stream state out of common.cuh

    Refactor common.cuh bit by bit, the end-goal is not have to recompile the project on small changes in common.cuh. This one deals with the graph code. ggml_cuda_graph, ggml_cuda_concurrent_event and ggml_cuda_stream_context are only used by…

    llama.cpp#32001 · by am17an