Skip to content

readme : document the ANEForge encoder backend - #4073

Merged
danbev merged 3 commits into
ggml-org:masterfrom
sbryngelson:docs/aneforge-encoder
Sep 18, 2026
Merged

danbev merged 3 commits into
ggml-org:masterfrom
sbryngelson:docs/aneforge-encoder

Conversation

@sbryngelson

@sbryngelson sbryngelson commented Sep 18, 2026 •

Copy link
Copy Markdown
Contributor

#3905 added the ANEForge encoder backend but no docs, so the only way to find it is to notice the
getenv("ANEFORGE_ENCODER") in whisper_init_state. This adds a short section after Core ML.

Setup is heavier than Core ML's -- the bundle is compiled ahead of time and is tied to the machine
that produced it, so it is generated locally rather than downloaded. Only the Encoder runs on the
ANE. Both are stated in the section.

The 2x figure is against the Core ML encoder from tiny to medium, with the benchmarks linked for
the numbers and their caveats.

Every command was run against the current master backend: the openai/whisper-base bundle loads
through whisper_aneforge_init and its output matches the PyTorch reference at cosine 0.999961.

No code changes.

Reworded sentences for clarity and improved readability in the ANEForge section.
Reformat ANEForge section for better readability.
@danbev
danbev merged commit 7a2ceef into ggml-org:master Sep 18, 2026
bygreencn added a commit to bygreencn/whisper.cpp that referenced this pull request Sep 23, 2026
* ggerganov/master: (81 commits)
  fix(yt-wsp): Resolve script path without GNU realpath (ggml-org#4072)
  cli : load backends after validating input files (ggml-org#4069)
  ci : update android-actions to v4.0.4 (ggml-org#4074)
  docs : clarify VAD mode timestamps and CWD model path errors (ggml-org#4019)
  readme : document the ANEForge encoder backend (ggml-org#4073)
  whisper : optional ANEForge encoder backend (Apple Neural Engine) (ggml-org#3905)
  whisper : fix int overflow in whisper_full_parallel chunk offsets (ggml-org#4044)
  sync : ggml
  ggml : bump version to 0.24.0 (ggml/1627)
  tests(s390x): add non-vxe build to tests (llama/28776)
  sycl: rfc: Use radix select for top_k (llama/28670)
  ggml-cpu : disable PCH and fix CACHE_LINE_SIZE ambiguity to fix heap corruption (llama/28882)
  sycl : fix oneDNN scratchpad breaking the pool free order (llama/28704)
  ggml-cuda: fallback to F32 on device without BF16 hardware acceleration (llama/28846)
  ggml-cpu(s390x): guard VXE-only repack helpers (llama/28775)
  sycl : Fix get mem error (llama/28227)
  vulkan: workaround NV queuesubmit driver bug (llama/28830)
  opencl: apply the noshuffle row-alignment rule to q4_K, q5_K and q8_0, not just q6_K (llama/28575)
  ggml-cuda: hip add specific config table for AMD GCN (llama/27841)
  syscl : Handle (fail gracefully) unsupported tq1_0 quants (llama/28681)
  ...
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.

2 participants