Can I find old docs (torch.utils.trainer.plugins)

Unfortunately it looks like trainer was an undocumented portion of PyTorch that has been removed (see this forum post and this GitHub comment). The same forum post recommends TNT and also points to an older forum post.

However, all of this is from 2017. I’m not entirely sure what Logger did, but you could check out fast.ai's codebase, which allows for metrics and callbacks. I hope that helps a bit!