Convert model to ONNX with CUDA C++ custom code

Hi all,
I try to convert pytorch model to ONNX but my onnx model only output a const. In pytorch model have some layer using CUDA c++ function build by pybind11. have any one have same issue?
Can you help me in this case
Thank all,