-
Notifications
You must be signed in to change notification settings - Fork 216
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enable CPU Offload for Intel GPU (#1324)
* feat(cpu-offload): enable CPU Offload for XPU Signed-off-by: dbyoung18 <[email protected]> * test(cpu-offload): enable benchmark_low_bit_adam for XPU Signed-off-by: dbyoung18 <[email protected]> * fix(cpu-offload): auto-detect ProfilerActivity Signed-off-by: dbyoung18 <[email protected]> * fix(cpu-offload): replace if-else w/ getattr for device API calls Signed-off-by: dbyoung18 <[email protected]> * fix(cpu-offload): add auto-detect available devices to utils Signed-off-by: dbyoung18 <[email protected]> * fix(cpu-offload): improve auto-detect ProfilerActivity Signed-off-by: dbyoung18 <[email protected]> * fix(cpu-offload): improve device assert Signed-off-by: dbyoung18 <[email protected]> * fix(cpu-offload): fix auto-detect mps Signed-off-by: dbyoung18 <[email protected]> * fix(cpu-offload): fix import order Signed-off-by: dbyoung18 <[email protected]> * refactor(cpu-offload): use ruff format Signed-off-by: dbyoung18 <[email protected]> * doc(cpu-offload): modify README to cover XPU Signed-off-by: dbyoung18 <[email protected]> --------- Signed-off-by: dbyoung18 <[email protected]>
- Loading branch information
Showing
5 changed files
with
151 additions
and
72 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
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.