pytorch multi-task error: cuda out of memory

NoSuchKey