Skip to content

WIP: (4/7) Adopt inference caching in core workflows - #97

Draft
ErlisLushtaku wants to merge 6 commits into
cache-stack/02b-hosted-providersfrom
cache-stack/03-runtime-adoption
Draft

WIP: (4/7) Adopt inference caching in core workflows#97
ErlisLushtaku wants to merge 6 commits into
cache-stack/02b-hosted-providersfrom
cache-stack/03-runtime-adoption

Conversation

@ErlisLushtaku

@ErlisLushtaku ErlisLushtaku commented Aug 8, 2026

Copy link
Copy Markdown
Collaborator

Description

Note

WIP: This cache stack is on hold until the task-YAML stack ending in #93 merges. The current implementation is not final and may change when it is adapted to the merged task runtime.

Adopts the inference cache in the core generation and judging workflows.

  • Adds --store_root to configure completion and judgement caches.
  • Routes generate-and-evaluate, Elo and base generation through the do_inference cache.
  • Keeps dataset-provided completions as direct inputs because they do not run inference.
  • Removes the workflow-specific identity cache paths replaced by the unified cache.

This is stacked on #96.

Route generate-and-evaluate, fluency, and ELO through the content-addressed do_inference boundary while removing their pass-level and identity-keyed cache orchestration.
Construct completion and judgement cache contexts explicitly so workflow call sites no longer pass role strings.
@ErlisLushtaku ErlisLushtaku changed the title (4/6) Adopt inference caching in core workflows (4/7) Adopt inference caching in core workflows Aug 14, 2026
@ErlisLushtaku ErlisLushtaku changed the title (4/7) Adopt inference caching in core workflows WIP: (4/7) Adopt inference caching in core workflows Aug 14, 2026
@ErlisLushtaku
ErlisLushtaku marked this pull request as draft August 14, 2026 12:08
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