Skip to content
Discussion options

You must be logged in to vote

do you suggest that the comment is still true because the index_select is being done on the GPU? Is that the only thing being done on the GPU in the context of sampling?

Yes, and Yes from what I see from the profiler. You can also check it on your own by running my code snippet above.

Thanks for sharing your thoughts. Feel free to send a PR if you have any suggestions around the comment :)

Replies: 2 comments 6 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
6 replies
@liadgerstman
Comment options

@akihironitta
Comment options

@liadgerstman
Comment options

@akihironitta
Comment options

Answer selected by liadgerstman
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants