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

模型加载速度太慢 #2503

Open
sanersbug opened this issue Aug 5, 2024 · 1 comment
Open

模型加载速度太慢 #2503

sanersbug opened this issue Aug 5, 2024 · 1 comment
Assignees

Comments

@sanersbug
Copy link

fastdeploy有像paddlelite一样的config.add_discarded_pass("__xpu__multi_encoder_fuse_pass") 函数吗,C++里怎么做,目前加载一个模型的时间感觉太长了,我用的是yolov8 c++版本,一致找不到add_discarded_pass这个方法

@Jiang-Jia-Jun
Copy link
Collaborator

现在确实没有。 但你可以试下在FastDeploy的Paddle-Lite后端增加这个接口(应该是修改在fastdeploy/runtime/backend/lite/option.h里面)

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