Skip to content

Disable buffer sharing for config only - #1028

Merged
kunal-vaishnavi merged 1 commit into
mainfrom
kvaishnavi/config-only-buffer-sharing
Nov 1, 2024
Merged

Disable buffer sharing for config only#1028
kunal-vaishnavi merged 1 commit into
mainfrom
kvaishnavi/config-only-buffer-sharing

Conversation

@kunal-vaishnavi

Copy link
Copy Markdown
Contributor

Description

This PR sets past_present_share_buffer = False by default for users who run the model builder with --extra_options config_only=true.

Motivation and Context

This allows ONNX models produced from other sources that don't support past-present buffer sharing to run with ONNX Runtime GenAI.

@kunal-vaishnavi
kunal-vaishnavi merged commit c9ffcb9 into main Nov 1, 2024
@kunal-vaishnavi
kunal-vaishnavi deleted the kvaishnavi/config-only-buffer-sharing branch November 1, 2024 23:37
aciddelgado pushed a commit that referenced this pull request Nov 5, 2024
### Description

This PR sets `past_present_share_buffer = False` by default for users
who run the model builder with `--extra_options config_only=true`.

### Motivation and Context

This allows ONNX models produced from other sources that don't support
past-present buffer sharing to run with ONNX Runtime GenAI.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants