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

Dataflow compiler layer type support #98

Open
Parradox27 opened this issue Jun 5, 2024 · 5 comments
Open

Dataflow compiler layer type support #98

Parradox27 opened this issue Jun 5, 2024 · 5 comments

Comments

@Parradox27
Copy link

Hi,
I am currently attempting to convert my own CNN models in ONNX to Hailo supported format (HEF). However, many operations that are used in vast majority of my networks are currently not supported, including transpose, reshape or squeeze. Is there any possibility for adding these operations for the dataflow parser? Or is there any plan on doing so in future releases of the software suite? The pretrained models in the zoo do contain these operations, so the AI accelerator must understand them. Thank you for your reply in advance.

@nadaved1
Copy link

nadaved1 commented Jun 9, 2024

Hi @Parradox27,
You're right not all ops are supported, mainly since it's not efficient for the Hailo HW. In most cases running your graph through a tool like onnx-simplifier can greatly help. If after this there are still unsupported ops, usually these are concentrated at the end of the net, you can just run this seperate from Hailo as these ops has low compute capacity.

@Parradox27
Copy link
Author

Hi @Parradox27, You're right not all ops are supported, mainly since it's not efficient for the Hailo HW. In most cases running your graph through a tool like onnx-simplifier can greatly help. If after this there are still unsupported ops, usually these are concentrated at the end of the net, you can just run this seperate from Hailo as these ops has low compute capacity.

Hi @nadaved1,
thank you for your reply. I have tried using onnx simplifier, however none of the unsupported operations have been removed in the nets that I have tested. Some of them are not concentrated at the end nor the beginning, so removing them is not an option. You said that those operations are not efficient on Hailo HW, but not unsupported and since the hailo model zoo contains models with those operations, there must be a way to generate a HEF file from them. Without being able to compile our own nets, we will not be able to proceed with the AI accelerator. I would appreciate any assistance in this matter.

@nadaved1
Copy link

nadaved1 commented Jun 10, 2024 via email

@havingfu
Copy link

Is there a list of all supported ops? so I'll know if my model is supported?
Also, I'm new to ML. Can you explain why it's not efficient for the Hailo HW?

Thanks,

@nadaved1
Copy link

nadaved1 commented Sep 24, 2024 via email

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

3 participants