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

PaddleX的seg模型在GPU上推理速度很慢 #1738

Open
sfs-zxd opened this issue Oct 10, 2023 · 1 comment
Open

PaddleX的seg模型在GPU上推理速度很慢 #1738

sfs-zxd opened this issue Oct 10, 2023 · 1 comment
Assignees

Comments

@sfs-zxd
Copy link

sfs-zxd commented Oct 10, 2023

环境PaddleX-release2.1版本+cuda11.7+TensorRT8.4, 在使用TensorRT时创建config进行初始化会报错,所以未使用TensorRT加速推理;在官方multi-gup-model的工程中ppinference_engine.cpp文件的
std::shared_ptr<paddle_infer::Predictor> predictor_;
predictor_->run();运行时间1秒多
输出时调用CopyToCpu耗时7s多
1696899811302

@dyning
Copy link
Collaborator

dyning commented Jan 18, 2024

可以尝试使用PaddleX 新版本的分割模型和部署,https://aistudio.baidu.com/intro/paddlex

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