Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!
Tips
-
Training a model requires significantly more CPU/GPU memories than running inference using the model.
-
torch.cuda.empty_cache() doesn't help if memory is not enough
-
It is suggested that you …