-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* wip * add modify_offload_module * update docs * WIP * cleanup functions, begin depreciation Signed-off-by: Kyle Sayers <kylesayrs@gmail.com> * remove extra space Signed-off-by: Kyle Sayers <kylesayrs@gmail.com> * revert get_offloaded_device Signed-off-by: Kyle Sayers <kylesayrs@gmail.com> * update to align_module_device Signed-off-by: Kyle Sayers <kylesayrs@gmail.com> * add requires skip for accelerate * fix per token initialization * remove align_module_device * respond to nits Signed-off-by: Kyle Sayers <kylesayrs@gmail.com> * Accelerate Utilities Follow-up (#224) * rename * implement recursive case * remove print * support OffloadedWeightsLoader * add lifecycle docstring * implement offload_to_weights_map with recursive definition Signed-off-by: Kyle Sayers <kylesayrs@gmail.com> * add docstring Signed-off-by: Kyle Sayers <kylesayrs@gmail.com> * fix type hint * add check_accelerate guard Signed-off-by: Kyle Sayers <kylesayrs@gmail.com> * make device used by clearer Signed-off-by: Kyle Sayers <kylesayrs@gmail.com> * update update_prefix_dict Signed-off-by: Kyle Sayers <kylesayrs@gmail.com> * reuse fixture Signed-off-by: Kyle Sayers <kylesayrs@gmail.com> * use apply rather than recursion Signed-off-by: Kyle Sayers <kylesayrs@gmail.com> * clearer delete_from_weights_map * add offload_device argument (#228) Signed-off-by: Kyle Sayers <kylesayrs@gmail.com> --------- Signed-off-by: Kyle Sayers <kylesayrs@gmail.com>
- Loading branch information
Showing
5 changed files
with
708 additions
and
91 deletions.
There are no files selected for viewing
This file contains 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 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.