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

fix past-kv in general LLM exporter #18529

Merged
merged 3 commits into from
Nov 21, 2023
Merged

fix past-kv in general LLM exporter #18529

merged 3 commits into from
Nov 21, 2023

Conversation

wejoncy
Copy link
Contributor

@wejoncy wejoncy commented Nov 21, 2023

Description

For some models, we need to re run model.forward to get past-kv

Motivation and Context

@wejoncy wejoncy merged commit a608c00 into main Nov 21, 2023
87 of 91 checks passed
@wejoncy wejoncy deleted the jicwen/LLM-exporter branch November 21, 2023 11:04
kleiti pushed a commit to kleiti/onnxruntime that referenced this pull request Mar 22, 2024
### Description
<!-- Describe your changes. -->

For some models, we need to re run model.forward to get past-kv

### Motivation and Context
<!-- - Why is this change required? What problem does it solve?
- If it fixes an open issue, please link to the issue here. -->
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