-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Address Lora shortcomings #28801
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
Merged
Merged
Address Lora shortcomings #28801
Changes from 5 commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
245ffaf
Address a lifespan issue for the adapter parameters
1fcdbee
Reject string tensors in AdapterFormat.export_adapter
3bae4a4
Merge branch 'main' into yuslepukhin/lora_msrc
9d58ed7
Make sure Load() has strong exception safety
5f71cc1
Fix def_property keep_alive and FinishWithSpan ordering
d253019
Propagate adapter keep-alive through Python AdapterFormat wrapper
22cf53c
Fix string-tensor regression test: construct OrtValue via Constant model
d410c81
Drop unworkable C-level dict keep_alive; rely on Python wrapper
fab4390
Address pybind life time concerns
b20e2c5
Validate tensor type and CPU location in export_adapter; mark holders…
79c175b
Fix behavioral regression: setter must clear loaded_adapter_
608f198
Document two-source architecture rationale in PyAdapterFormatReaderWr…
d42f91a
Enforce read/write mode separation: reject set_parameters on read ins…
5f17f6c
Replace two-source architecture with capsule-based single source
57de8ec
Fix leak on capsule allocation failure (review feedback from tianleiwu)
fa401e3
Address remaining PR review comments
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.