openai / grok

MIT License
4.1k stars 522 forks source link

Avoid AttributeError resulting from Pytorch Lightning update #4

Open langosco opened 2 years ago

langosco commented 2 years ago

With the most recent version of pytorch lightning, assigning a value to self.hparams raises an AttributeError (see eg https://github.com/PyTorchLightning/pytorch-lightning/discussions/7525 ).