Skip to content

(5/6) Adopt inference caching in MT-Bench - #98

Open
ErlisLushtaku wants to merge 5 commits into
cache-stack/03-runtime-adoptionfrom
cache-stack/04-mt-bench-adoption
Open

(5/6) Adopt inference caching in MT-Bench#98
ErlisLushtaku wants to merge 5 commits into
cache-stack/03-runtime-adoptionfrom
cache-stack/04-mt-bench-adoption

Conversation

@ErlisLushtaku

Copy link
Copy Markdown
Collaborator

Description

Adopts the do_inference cache in MT-Bench and removes the remaining legacy runtime cache paths.

  • Caches both completion turns and pairwise judge outputs.
  • Includes category-specific temperature in the model descriptor.
  • Keeps local backend reuse across temperature groups while full cache hits remain lazy.
  • Removes ignore_cache, cache_function_dataframe and the global LangChain cache setup.

This is stacked on #97.

Tests: uv run pytest; uv run ruff check .; uv run ruff format --check ..

Preserve category-specific sampling in cache descriptors, route multi-turn generation and judging through do_inference, and remove the remaining legacy runtime cache controls.
Select completion and judgement behavior through concrete cache types instead of role strings.
…-bench-adoption

Preserve MT-Bench temperature descriptors and custom model factories while carrying provider-wide cache identity into the next stack layer.

Includes-AI-Code: true
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