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

Added intel XPU support #735

Merged
merged 3 commits into from
Jan 22, 2025
Merged

Added intel XPU support #735

merged 3 commits into from
Jan 22, 2025

Conversation

DDXDB
Copy link
Contributor

@DDXDB DDXDB commented Jan 19, 2025

Support for Intel Gpus via pytorch+xpu

Inference there was no problem

Getting Started on Intel GPU

https://pytorch.org/docs/main/notes/get_start_xpu.html

Intel® Deep Learning Essentials or Intel® oneAPI Base Toolkit must be installed

Version 2025.0.1 has been verified

verify device:

Intel ARC A-Series A770 16G

Intel ARC A-Series A750

The code may work equally well for Intel Extension for PyTorch(IPEX), but the environment is deployed differently

@ZhikangNiu
Copy link
Collaborator

You can follow https://github.com/SWivid/F5-TTS?tab=readme-ov-file#development to solve workflow conflict

@ZhikangNiu
Copy link
Collaborator

And only infer in XPU?Why only change finetune.py (why don't have train.py?

@DDXDB
Copy link
Contributor Author

DDXDB commented Jan 21, 2025

And only infer in XPU?Why only change finetune.py (why don't have train.py?

I only made changes to the parts that currently use CUDA.
So far I have only verified the Inference that it works perfectly, and the training has yet to be verified.

DDXDB added 2 commits January 22, 2025 03:36
# Conflicts:
#	src/f5_tts/api.py
#	src/f5_tts/infer/speech_edit.py
#	src/f5_tts/infer/utils_infer.py
#	src/f5_tts/socket_server.py
#	src/f5_tts/train/finetune_gradio.py
@DDXDB
Copy link
Contributor Author

DDXDB commented Jan 21, 2025

You can follow https://github.com/SWivid/F5-TTS?tab=readme-ov-file#development to solve workflow conflict

9640640 fixed

@ZhikangNiu ZhikangNiu merged commit 129014c into SWivid:main Jan 22, 2025
1 check passed
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