-
Notifications
You must be signed in to change notification settings - Fork 1.3k
xpu enablement on left cases #3654
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
Conversation
…d profiler example to xpu Signed-off-by: YAO Matrix <[email protected]>
Signed-off-by: YAO Matrix <[email protected]>
src/accelerate/launchers.py
Outdated
| To use this function absolutely zero calls to a CUDA device must be made in the notebook session before calling. If | ||
| any have been made, you will need to restart the notebook and make sure no cells use any CUDA capability. | ||
| To use this function absolutely zero calls to an accelerator must be made in the notebook session before calling. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
NIT: I would maybe try to find better wording as accelerator - maybe device. Since the whole accelerate is built on top Accelerator class. If you had the same naming convention even before, we can keep it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@S1ro1 indeed, especially in context that the src code already uses Accelerator instance. Done, thx.
Signed-off-by: YAO Matrix <[email protected]>
S1ro1
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM from me, let's wait for Marc, he should be back wednesday and can merge. Thank you!
|
@SunMarc , could you pls take a look? thx very much. |
SunMarc
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks !
|
The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update. |
|
@bot /style |
|
Style bot fixed some files and pushed the changes. |
* 1. enable xpu for launcher 2. expand cuda only ds uts to xpu 3. expand profiler example to xpu Signed-off-by: YAO Matrix <[email protected]> * fix style Signed-off-by: YAO Matrix <[email protected]> * rename Signed-off-by: YAO Matrix <[email protected]> * Update profiler.py * Apply style fixes --------- Signed-off-by: YAO Matrix <[email protected]> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
@SunMarc , pls help review, thx.