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

self play is exceptionally slow on GPU #293

Open
dberma15 opened this issue Jan 18, 2023 · 2 comments
Open

self play is exceptionally slow on GPU #293

dberma15 opened this issue Jan 18, 2023 · 2 comments

Comments

@dberma15
Copy link

I'm using the code as is on Othello in tensoeflow and I'm finding it to be an order of magnitude slower on GPU compared to cpu. Is there a reason for this?

@nullne
Copy link

nullne commented Feb 6, 2024

GPU isn't used when self play

@zjusbo
Copy link

zjusbo commented Nov 10, 2024

The time might be wasted when copying the data from CPU memory to GPU and then copy it back.

The NN forward uses GPU, other operations use CPU in the selfplay.

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