learnables / learn2learn

A PyTorch Library for Meta-learning Research
http://learn2learn.net
MIT License
2.63k stars 351 forks source link

My model training speed is very slow when I use learner.adapt(losses) #431

Open yzd6k opened 3 months ago

yzd6k commented 3 months ago

Training the model for one epoch without learner.adapt(losses) takes about 20 minutes, but using learner.adapt(losses) increases the time to 8 hours and 30 minutes, making it highly inefficient. My GPU is 4090.