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

GPU usage #8

Open
XilunZhangRobo opened this issue Apr 28, 2024 · 2 comments
Open

GPU usage #8

XilunZhangRobo opened this issue Apr 28, 2024 · 2 comments

Comments

@XilunZhangRobo
Copy link

Hi thanks for the amazing codebase. I am wondering does the code use gpu during training? I did not find anything relevant on setting the device for training in the code.

@mayhorizon
Copy link

Hi,
Yes I think it does. Otherwise you can set the training with multi cores and it doesn't run that slowly (20 minutes for 10,000 epochs with 32 cores)

@SvenGronauer
Copy link
Owner

Hi,

the training code examples are implemented for CPU usage. However, with some PyTorch code adjustments you can run the code also on a GPU.

Best, Sven

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