-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Closed
Labels
bugSomething isn't workingSomething isn't workinghelp wantedOpen to be worked onOpen to be worked onworking as intendedWorking as intendedWorking as intended
Description
🐛 Bug
Embedding vector, defined outside of training loop, is sent to GPU if trainer has gpu > 0 when trainer starts to run.
Please reproduce using the BoringModel
To Reproduce
Expected behavior
My embedding is too big to fit inside of my GPU. I want to be able to call the Embedding in the CPU, and then send the selected embeddings to GPU for training.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workinghelp wantedOpen to be worked onOpen to be worked onworking as intendedWorking as intendedWorking as intended