Skip to content

[XPU] XPU FFT operator redundancy cleanup#73785

Merged
HydrogenSulfate merged 1 commit intoPaddlePaddle:developfrom
fangfangssj:xpu_fft
Jul 3, 2025
Merged

[XPU] XPU FFT operator redundancy cleanup#73785
HydrogenSulfate merged 1 commit intoPaddlePaddle:developfrom
fangfangssj:xpu_fft

Conversation

@fangfangssj
Copy link
Contributor

@fangfangssj fangfangssj commented Jul 2, 2025

PR Category

Custom Device

PR Types

Bug fixes

Description

清除了XPU端部分冗余代码,因为XPUFFT没有版本区分,去掉了关于版本的判断的代码
为XPU端的reshape算子注册了complex64类型
为支持XPU端fft算子0-size tensor,添加了fill的0-size支持,还需要pad算子支持0-size
Pcard-75624

for (const auto i : axes) {
_is_fft_axis[i] = true;
}

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这个空行是为了区分开参数的计算和数据的拷贝部分,不是误加的

@fangfangssj
Copy link
Contributor Author

/re-run all-failed

@paddle-bot
Copy link

paddle-bot bot commented Jul 3, 2025

你的PR提交成功,感谢你对开源项目的贡献!
请关注后续CI自动化测试结果,详情请参考Paddle-CI手册
Your PR has been submitted. Thanks for your contribution!
Please wait for the result of CI firstly. See Paddle CI Manual for details.

Copy link
Contributor

@HydrogenSulfate HydrogenSulfate left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@HydrogenSulfate HydrogenSulfate merged commit 94e2150 into PaddlePaddle:develop Jul 3, 2025
72 of 79 checks passed
@fangfangssj fangfangssj deleted the xpu_fft branch August 20, 2025 16:36
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