Skip to content

Conversation

@hyeongyun0916
Copy link
Contributor

@hyeongyun0916 hyeongyun0916 commented Nov 24, 2025

Summary

The signature of the GetPodScores function has been updated to align with the changes introduced in llm-d-kv-cache-manager PR #163. This is an essential refactoring to maintain compatibility between KV Cache Manager components.


Motivation

The upstream interface for GetPodScores was modified to receive additional message array information. This change is necessary to resolve the API mismatch and secure the stability of the system when interacting with the updated KV Cache Manager.

Detailed Changes

The preprocessing.RenderJinjaTemplateRequest argument has been added to the GetPodScores function signature.

  • AS-IS:
    GetPodScores(ctx context.Context, prompt, modelName string, podIdentifiers []string) (map[string]int, error)

  • TO-BE:
    GetPodScores(ctx context.Context, renderReq *preprocessing.RenderJinjaTemplateRequest, prompt, modelName string, podIdentifiers []string) (map[string]float64, error)

Co-authored-by: bongwoobak <bongwoobak@gmail.com>
Co-authored-by: Hyeonki Hong <hyeonki.hong@moreh.io>
Signed-off-by: HyunKyun Moon <mhg5303@gmail.com>
@nirrozenbaum
Copy link
Collaborator

@hyeongyun0916 thanks for the PR.
This seems like a dup of #467.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants