Skip to content

Use torch.accelerator API in GAT example #1335

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 1 commit into from
Apr 30, 2025

Conversation

jafraustro
Copy link
Contributor

Refactor GAT example to utilize torch.accelerator API torch.accelerator API allows to abstract some of the accelerator specifics in the user scripts. By leveraging this API, the code becomes more adaptable to various hardware accelerators.

Refactor GAT example to utilize `torch.accelerator` API `torch.accelerator` API allows to abstract some of the accelerator specifics
in the user scripts. By leveraging this API, the code becomes more adaptable to various hardware accelerators.

Signed-off-by: jafraustro <[email protected]>
Copy link

netlify bot commented Apr 29, 2025

Deploy Preview for pytorch-examples-preview canceled.

Name Link
🔨 Latest commit 437a165
🔍 Latest deploy log https://app.netlify.com/sites/pytorch-examples-preview/deploys/68115a48d0ff400008237f62

@msaroufim msaroufim merged commit 2c435c7 into pytorch:main Apr 30, 2025
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants