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

训练时间过长 #6

Open
yuxuan2015 opened this issue Feb 14, 2022 · 3 comments
Open

训练时间过长 #6

yuxuan2015 opened this issue Feb 14, 2022 · 3 comments

Comments

@yuxuan2015
Copy link

yuxuan2015 commented Feb 14, 2022

当nlu的语料>20000条,训练的时候,如果不用ONNX模型花费的时间为15分钟,使用ONNX模型需要花费2个多小时,即使用GPU也是这样,这个有什么优化方法吗?

企业微信截图_16448316568471

@Dustyposa
Copy link
Owner

可以看一下gpu训练,gpu成功运行没。
不行的话单独运行onnx的训练试试。

@yuxuan2015
Copy link
Author

@Dustyposa 有没有弄过onnxruntime-GPU,我按照文档配置好之后,感觉还是和用CPU的效果一样;
onnxruntime_cuda

@Dustyposa
Copy link
Owner

@Dustyposa 有没有弄过onnxruntime-GPU,我按照文档配置好之后,感觉还是和用CPU的效果一样; onnxruntime_cuda

不好意思 没用过,没GPU还:(
建议看一下 cuda 在训练的时候有没有正常被利用

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

2 participants