Intel® Optimized AI Frameworks
Receive community support for questions related to PyTorch* and TensorFlow* frameworks.
94 Discussions

Pytorch FFT RuntimeError: FFT_INVALID_DESCRIPTOR

jedcheng
Débutant
4 307 Visites

Hi all

 

I am working on a scientific solver based on pytorch. The software worked perfectly on Nvidia GPUs and Arm/x86 CPUs. 

 

However, there was an error related to the FFT function when I ran it on an Intel GPU. 

The error is down to the inverse real FFT call:

 

x = torch.rand(1000,1000,1,3).to(torch.device("xpu"))

torch.fft.irfftn(x)

 

which returns the error:

RuntimeError: FFT_INVALID_DESCRIPTOR

jedcheng_0-1702112038966.png

 

Étiquettes (1)
0 Compliments
1 Solution
Alex_H_Sin
Modérateur
3 816 Visites

Hi Jed Cheng,


This issue is not reproducible on IPEX version 2.1. Please retry and let me know if the issue persists.


Thanks for confirming on the GitHub issue: https://github.com/intel/intel-extension-for-pytorch/issues/479


Voir la solution dans l'envoi d'origine

0 Compliments
5 Réponses
AthiraM_Intel
Modérateur
4 287 Visites

Hi,



Thank you for posting in Intel Communities.


Could you please share the below details:


1. OS and Hardware details

2. Torch and IPEX version



Thanks


0 Compliments
AthiraM_Intel
Modérateur
4 216 Visites

Hi,


We have not heard back from you. Could you please give us an update?



Thanks


0 Compliments
jedcheng
Débutant
4 201 Visites

My apologies. I received the previous reply while having dinner and then completely forgot the issue.

 

I did open an issue on the intel GitHub repo.

https://github.com/intel/intel-extension-for-pytorch/issues/479

 

 

I ran it on the jupyter dev cloud.

It seems that I can't simply post the log generated by the environment script on the forum directly (it was flagged as html)

 

Please refer to this reply 

https://github.com/intel/intel-extension-for-pytorch/issues/479#issuecomment-1851202928

 

0 Compliments
AthiraM_Intel
Modérateur
4 086 Visites

Hi,


Thank you for the response. We are checking on this internally.



Thanks


0 Compliments
Alex_H_Sin
Modérateur
3 817 Visites

Hi Jed Cheng,


This issue is not reproducible on IPEX version 2.1. Please retry and let me know if the issue persists.


Thanks for confirming on the GitHub issue: https://github.com/intel/intel-extension-for-pytorch/issues/479


0 Compliments
Répondre