RuntimeError: CUDA out of memory (fix related to pytorch?)

Links to the tutorials would be appreciated, at least as a jumping off point. Thanks!