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

请教一个关于运行效率的问题。 #10

Closed
xhxt2008 opened this issue Sep 27, 2023 · 2 comments
Closed

请教一个关于运行效率的问题。 #10

xhxt2008 opened this issue Sep 27, 2023 · 2 comments

Comments

@xhxt2008
Copy link

xhxt2008 commented Sep 27, 2023

请教一下,我用您的测试数据可以跑得起来,但是执行效率看起来有点低,您是否知道可能是什么问题,如何排查。

  • 998条数据的tic-tac-toe数据集,一个epoch看起来需要5min

image

  • GPU看起来完全没有用起来,使用率一直是0,但是显存被使用了

image

  • Loss看起来也正常在下降,但是效率看起来太低了。
    image

想请教一下您,这样的执行效率是否正常,是否是可能因为环境问题或者配置错误导致的效率低下呢。

@12wang3
Copy link
Owner

12wang3 commented Oct 6, 2023

看描述比较奇怪,tic-tac-toe数据集的话,正常来说400个epoch可能也用不了5min。猜测是torch或者CUDA的版本问题,可以尝试换一个版本。

@xhxt2008
Copy link
Author

xhxt2008 commented Oct 8, 2023

研究了一下,这个问题应该是我这边环境的问题,不是代码本身的问题。

@xhxt2008 xhxt2008 closed this as completed Oct 8, 2023
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