Skip to content

Running on GPU? #982

Answered by AntonioCarta
ghost asked this question in Q&A
Discussion options

You must be logged in to vote

Strategies have an argument device. Example:

strat = Naive(..., device='cuda')  # model will run on GPU

To verify that the model is actually using the GPU I would just check nvidia-smi.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by vlomonaco
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
Training Related to the Training module
1 participant
Converted from issue

This discussion was converted from issue #981 on April 13, 2022 17:03.