Open twicer-is-coder opened 3 months ago
Anyway to load the model in CPU first and then move to GPU?
To use CPU, set device = "cpu". Once you want to switch to GPU, set device = "cuda"
device = "cpu"
device = "cuda"
Anyway to load the model in CPU first and then move to GPU?