Skip to content
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

Xpu support #407

Merged
merged 10 commits into from
Nov 23, 2024
Merged

Xpu support #407

merged 10 commits into from
Nov 23, 2024

Conversation

mgrabban
Copy link
Collaborator

Summary

Replica of #396
Adds xpu support so all tests, benchmarks etc. run on XPUs or Intel GPUs.

Details

infer_device() function is moved to a separate file and in any file where previously "cuda" was needed, infer_device is imported and "cuda" is replaced with return value of a call to infer_device()

Testing Done

A100 80GB PCIe, RTX 3060, Intel Data Center GPU Max 1550

  • Hardware Type:
  • run make test to ensure correctness
  • run make checkstyle to ensure code style
  • run make test-convergence to ensure convergence

@mgrabban mgrabban mentioned this pull request Nov 22, 2024
3 tasks
@ByronHsu
Copy link
Collaborator

can you fix the checkstyle?

@mgrabban
Copy link
Collaborator Author

can you fix the checkstyle?

done now.

@ByronHsu ByronHsu merged commit 7e3683e into main Nov 23, 2024
3 checks passed
@ByronHsu ByronHsu deleted the xpu_support branch November 23, 2024 04:03
@austin362667 austin362667 mentioned this pull request Nov 29, 2024
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants