2noise / ChatTTS

A generative speech model for daily dialogue.
https://2noise.com
GNU Affero General Public License v3.0
28.12k stars 3.05k forks source link

RuntimeError: FFT_INVALID_DESCRIPTOR with Intel Arc GPU #187

Closed 771991673 closed 2 days ago

771991673 commented 1 month ago

Encounter this issue while infering with Intel Arc 770.

pip install torch==2.1.0.post2 torchvision==0.16.0.post2 torchaudio==2.1.0.post2 intel-extension-for-pytorch==2.1.30+xpu oneccl_bind_pt==2.1.300+xpu --extra-index-url https://pytorch-extension.intel.com/release-whl/stable/xpu/us/

File ~/ChatTTS/venv/lib/python3.10/site-packages/vocos/spectral_ops.py:46, in ISTFT.forward(self, spec) 34 """ 35 Compute the Inverse Short Time Fourier Transform (ISTFT) of a complex spectrogram. 36 (...) 42 Tensor: Reconstructed time-domain signal of shape (B, L), where L is the length of the output signal. 43 """ 44 if self.padding == "center": 45 # Fallback to pytorch native implementation ---> 46 return torch.istft(spec, self.n_fft, self.hop_length, self.win_length, self.window, center=True) 47 elif self.padding == "same": 48 pad = (self.win_length - self.hop_length) // 2

RuntimeError: FFT_INVALID_DESCRIPTOR

klmmlk commented 1 month ago

intel没戏的,我也是intel的,只有看别人玩得开心,别怕,intel战未来 0078E075

771991673 commented 1 month ago

intel没戏的,我也是intel的,只有看别人玩得开心,别怕,intel战未来 0078E075

我把bug提交給了ipex,希望能夠解決。最近ipex好用了好多。https://github.com/intel/intel-extension-for-pytorch/issues/644

klmmlk commented 1 month ago

intel没戏的,我也是intel的,只有看别人玩得开心,别怕,intel战未来 0078E075

我把bug提交給了ipex,希望能夠解決。最近ipex好用了好多。intel/intel-extension-for-pytorch#644

可以自己先试下intel的pytouch扩展,Welcome to Intel® Extension for PyTorch* Documentation看看能不能解决。 反正我的需求不是很高,用cpu也是一样的。况且挂甲骨文的,也没有显卡可用。


哦哦,看漏了,你已经试了嗦,希望能够解决。。

github-actions[bot] commented 2 days ago

This issue was closed because it has been inactive for 15 days since being marked as stale.