Skip to content

WIP: (5/7) Adopt inference caching in MT-Bench - #98

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

WIP: (5/7) Adopt inference caching in MT-Bench#98
ErlisLushtaku wants to merge 6 commits into
cache-stack/03-runtime-adoptionfrom
cache-stack/04-mt-bench-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 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.

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
…-bench-adoption

# Conflicts:
#	judgearena/inference.py
@ErlisLushtaku ErlisLushtaku changed the title (5/6) Adopt inference caching in MT-Bench (5/7) Adopt inference caching in MT-Bench Aug 14, 2026
@ErlisLushtaku ErlisLushtaku changed the title (5/7) Adopt inference caching in MT-Bench WIP: (5/7) Adopt inference caching in MT-Bench 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