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

预测速度很慢 #3

Open
Biaocsu opened this issue Apr 28, 2022 · 5 comments
Open

预测速度很慢 #3

Biaocsu opened this issue Apr 28, 2022 · 5 comments

Comments

@Biaocsu
Copy link

Biaocsu commented Apr 28, 2022

您好,请问您那边训练模型时,机器配置怎样的,预测时速度又怎样?
我这边使用4张卡(每张卡16G显存),max_enc_len=512,其余参数未变,batch_size最大只能设置到3。因为数据量很大,训练数据有40多万条,这导致训练很慢。
预测时,因为对显存要求较低,batch_size=30,发现预测速度平均1.8673982858657836s/条。这很不合理,请问你那边当初有这样的问题吗?或者可能导致的原因在哪,多谢

@tianzuishiwo
Copy link

你好,能提供一下带数据的完整demo吗?或者只提供项目数据,谢谢啦

@Biaocsu
Copy link
Author

Biaocsu commented Nov 14, 2022

我没有这个比赛的数据。我用的内部数据

@tianzuishiwo
Copy link

tianzuishiwo commented Nov 14, 2022 via email

@Biaocsu
Copy link
Author

Biaocsu commented Nov 14, 2022

我后面项目中没有借鉴这个,因此初期调研代码删掉了。很简单的,你花点时间自己检查下应该没问题,这个项目好像没有bug

@tianzuishiwo
Copy link

tianzuishiwo commented Nov 14, 2022 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

2 participants