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

Segmentation fault (core dumped) in paddle._pir_ops.fft_c2c #71148

Open
qiqicliff opened this issue Feb 17, 2025 · 1 comment
Open

Segmentation fault (core dumped) in paddle._pir_ops.fft_c2c #71148

qiqicliff opened this issue Feb 17, 2025 · 1 comment

Comments

@qiqicliff
Copy link

qiqicliff commented Feb 17, 2025

The following script lead to a segmentation fault.

import paddle
input_data = paddle.to_tensor([36028797018963968, 36028797018963968], dtype
    ='complex64')
result = paddle._pir_ops.fft_c2c(input_data, n=None, axis=-1, norm=
    'backward', name=None)

After running:

--------------------------------------
C++ Traceback (most recent call last):
--------------------------------------
0   paddle::pybind::eager_api_fft_c2c(_object*, _object*, _object*)
1   paddle::pybind::CastPyArg2Longs(_object*, std::string const&, long)

----------------------
Error Message Summary:
----------------------
FatalError: `Segmentation fault` is detected by the operating system.
  [TimeInfo: *** Aborted at 1739755405 (unix time) try "date -d @1739755405" if you are using GNU date ***]
  [SignalInfo: *** SIGSEGV (@0x8) received by PID 3405992 (TID 0x7fee4696c740) from PID 8 ***]

Segmentation fault (core dumped)

Versions

PaddlePaddle version: 2.6.1

@zhangyuqin1998
Copy link
Contributor

zhangyuqin1998 commented Feb 18, 2025

Try to use result = paddle.fft.fft_c2c(input_data, n=None, axis=-1, norm='backward', forward=None, name=None)

Please note that the _pir_ops APIs are designed for static graph mode and should not be used in dynamic graph mode.

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

No branches or pull requests

2 participants