PyTorch learning rate - possible edition in an external file?

Can I somehow edit or at least influence the learning rate of a PyTorch model in an external TXT file that is uploaded / checked at every epoch?

I don’t think PyTorch has a built-in util. to do so, but you can of course manually read a file and convert the information into the learning rate.

I think the optimiser and/or scheduler have a lot of internal statistics - wouldn’t my new learning rate erase them?..