Skip to content

ipex 2.7.10+xpu run CosyVoice2-0.5B on xpu is much slower than cpu #830

Open
@wenkema

Description

@wenkema

Describe the issue

Describe the issue
Recently, refer to ipex example, we have made CosyVoice2-0.5B (same like a Qwen2-0.5B model) run on xpu.
this is my change to use xpu
but the performance is poor compared to cpu.
Our environment is as follows:
OS: ubuntu 24.04
kernel:6.8.0-59-generic
CPU:Intel(R) Xeon(R) w5-3425
GPU: Intel ARC A770
Setup up steps:
1 install Ubuntu 24.04.
2 refer to Client GPU driver install A770 driver
3 refer to ipex install guide to install torch 2.7.0 and ipex 2.7.10+xpu
4 install conda and run cosyvoice test on xpu

this is perfermance data:

Time(s) Llm model Flow model Hift model Full inference
cpu 8.75 4.70 0.43 14.18
xpu 66.91 5.62 1.32 74.19

From this data, the performance of xpu is obviously worse than cpu.
Is there something wrong with my os/kernel/driver/dependencies?
Can you give us some suggestions?

Activity

self-assigned this
on May 30, 2025
huiyan2021

huiyan2021 commented on Jun 5, 2025

@huiyan2021

Hi @wenkema , thanks for reporting this issue. For Arc770, please use Data Center driver instead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    ipex 2.7.10+xpu run CosyVoice2-0.5B on xpu is much slower than cpu · Issue #830 · intel/intel-extension-for-pytorch