-
Notifications
You must be signed in to change notification settings - Fork 59
enhance auto device map and support XPU #961
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
Changes from all commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
f0cc131
enhance auto device map and support XPU
xin3he a582d46
remove mem_per_param_scale
xin3he 7c598ba
consider enable_act_quant and optimize device map logic
xin3he 6508b74
clear_memory for XPU
xin3he cd5f685
refine device map logic
xin3he 649ffee
update per review comments
xin3he 40d634c
clear_memory only xpu and remove block.to(device)
xin3he 135339d
fix bug and refine additional memory calcu logic
xin3he 488eec1
consider output_device when setting device_map
xin3he 42b1453
fix bug
xin3he 194ac27
clear_memory_if_reached_threshold
xin3he ddb20ed
add warning for XPU additional memory
xin3he 015331b
unify code
xin3he 43c642c
Merge remote-tracking branch 'origin/main' into xinhe/fix
xin3he 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
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.