Skip to content

chore(acestep-cpp): bump pin to ed53caf and adapt wrapper to new API#9908

Merged
mudler merged 1 commit into
masterfrom
fix/acestep-cpp-bump-ed53caf
May 20, 2026
Merged

chore(acestep-cpp): bump pin to ed53caf and adapt wrapper to new API#9908
mudler merged 1 commit into
masterfrom
fix/acestep-cpp-bump-ed53caf

Conversation

@localai-bot
Copy link
Copy Markdown
Collaborator

Summary

Supersedes / fixes #9874 (the auto-bump PR that failed to compile after the upstream API changed).

The new ace-step.cpp revision (ed53caf) refactors how model contexts are initialized:

  • Backend init is now done inside each *_load function — the separate dit_ggml_init_backend, qwen3_init_backend, and cond_ggml_init_backend helpers no longer exist.
  • dit_ggml_load no longer takes a separate DiTGGMLConfig argument. The config now lives on DiTGGML::cfg and is populated from GGUF metadata at load time.

This PR adapts the C++ wrapper accordingly: drops the three *_init_backend calls, simplifies the dit_ggml_load call, removes the now-unused g_dit_cfg static, and rewrites its remaining readers as g_dit.cfg.

Upstream change range: https://github.com/ace-step/acestep.cpp/compare/e0c8d75a672fca5684c88c68dbf6d12f58754258..ed53caf164e4492a5620b2e3f2264629cf66da24

Test plan

The new ace-step.cpp revision moves backend initialization inside each
`*_load` call and drops the separate `DiTGGMLConfig` argument from
`dit_ggml_load` (config now lives in `DiTGGML::cfg`, populated from GGUF
metadata at load time). Drop the now-removed `*_init_backend` calls and
replace `g_dit_cfg` accesses with `g_dit.cfg`.

Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
Assisted-by: Claude:claude-opus-4-7 [Claude Code]
@mudler mudler enabled auto-merge (squash) May 20, 2026 20:51
@mudler mudler merged commit f515168 into master May 20, 2026
64 checks passed
@mudler mudler deleted the fix/acestep-cpp-bump-ed53caf branch May 20, 2026 21:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants