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

Update ONNX Runtime GenAI config #115

Merged
merged 2 commits into from
Feb 24, 2024

Conversation

kunal-vaishnavi
Copy link
Contributor

Description

This PR updates the auto-generated JSON config file in the model builder tool by modifying how pad_token_id is calculated and by adding four new entries: past_key_names, past_value_names, present_key_names, present_value_names.

Motivation and Context

The logic to avoid setting the default pad_token_id to null is added back. The past and present KV cache names are added to the JSON config file in case users have models that don't follow the standard Hugging Face naming conventions.

@kunal-vaishnavi kunal-vaishnavi merged commit 25ad555 into main Feb 24, 2024
9 of 10 checks passed
@kunal-vaishnavi kunal-vaishnavi deleted the kvaishnavi/update-genai-config branch February 24, 2024 00:03
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