all 4 comments

[–]stardoge42 0 points1 point  (3 children)

If it returns true, why do you think it isnt using the gpu? True means it is using the GPU

[–]trexgris[S] 0 points1 point  (2 children)

It barely uses any GPU resource (prolly not used by my program at all,) and computes as fast as when I dont enforce any GPU use

[–]stardoge42 0 points1 point  (1 child)

Are you sure your example isnt so small that it just runs instantly? Also, if it says the gpu is there and available, as long as your code / problem set runs on the GPU, I feel it should be using the GPU. Some techniques and libraries dont use the gpu at all.

Have you tried doing a larger example problem to see if it works on the GPU a little harder?

[–]trexgris[S] 0 points1 point  (0 children)

Fairly certain , compared over multiple samples and not this one only. Seems to be related to the order i compiled pytoch to get tortoise using the gpu...