microsoft / nnfusion

A flexible and efficient deep neural network (DNN) compiler that generates high-performance executable from a DNN model description.
MIT License
952 stars 158 forks source link

[BUG] Limitation of the number of arguments in ctypes in NNFusion Python interface #399

Open xysmlx opened 2 years ago

xysmlx commented 2 years ago

🐛 Bug

ctypes limits callback to 1024 arguments in May 2020. commit

Therefore, nnfusion will report the following error in new version of Python.

ctypes.ArgumentError: too many arguments (1125), maximum is 1024