Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LLM: Fix update_kv_cache in Pipeline-Parallel-Serving for glm4-9b model #11537

Merged
merged 1 commit into from
Jul 9, 2024

Conversation

xiangyuT
Copy link
Contributor

@xiangyuT xiangyuT commented Jul 9, 2024

Description

3. Summary of the change

self.past_key_values_dict.get(cur_id, None) is not None for partial prefilling so it should not use this condition to check whether to update_kv_cache.

4. How to test?

@xiangyuT xiangyuT marked this pull request as ready for review July 9, 2024 03:00
Copy link
Contributor

@gc-fu gc-fu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@xiangyuT xiangyuT merged commit a1cede9 into intel-analytics:main Jul 9, 2024
1 check passed
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.

2 participants