A seemingly very basic question but I’ve gone through a few tutorials and am still at a loss. :rimshot:
What are the basic rules of thumb for deciding when something should have an if statement with .cuda()?
It almost seems random in some of the tutorials. Parts of model classes have to return .cuda(), other parts don’t. Even when the whole class itself then gets .cuda(). The main tutorial I’ve spent time with is the really good seq2seq 8 one. Initially I downloaded the older version from the github repo that didn’t have the cuda options already included. So I spent some time changing random things to .cuda() until it worked. There must be a more sensible way of understanding what needs .cuda().