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

Add "xpu" device tag to the device list to support Intel GPU #412

Closed
wants to merge 1 commit into from

Conversation

jgong5
Copy link
Contributor

@jgong5 jgong5 commented Dec 29, 2023

What does this PR do?

"xpu" is the PyTorch device for Intel GPU and is currently supported by Intel Extension for PyTorch (or IPEX for short, https://github.com/intel/intel-extension-for-pytorch). This PR adds the "xpu" device tag into the device support list of safetensors so that the XPU safetensors can be loaded without problem.

@Narsil
Copy link
Collaborator

Narsil commented Jan 18, 2024

Thanks a lot for this PR.

@Narsil
Copy link
Collaborator

Narsil commented Jan 18, 2024

Implemented with #428 (So I could fmt it), you are still co-authored in it.

@Narsil Narsil closed this Jan 18, 2024
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.

2 participants