load_from_checkpoint not working when using save_hyperparameters(conf)
🐛 Bug
Following the docs (https://pytorch-lightning.readthedocs.io/en/latest/hyperparameters.html#lightningmodule-hyperparameters), precisely point 4.:
class Example(LightningModule):

    def __init__(self, cfg, *args, **kwargs):
        super().__init__()
        self.save_hyperparameters(cfg)

(...)

Example(dict(key="value", key2="value2"))

Attempting to load previously saved checkpoint through Example.load_from_checkpoint yields following error:
Traceback (most recent call last):
  File "./decode.py", line 101, in <module>
    model = DeeplabSearch.load_from_checkpoint(args.checkpoint)
  File "/home/wj359634/venv/lib64/python3.6/site-packages/pytorch_lightning/core/saving.py", line 154, in load_from_checkpoint
    model = cls._load_model_state(checkpoint, strict=strict, **kwargs)
  File "/home/wj359634/venv/lib64/python3.6/site-packages/pytorch_lightning/core/saving.py", line 194, in _load_model_state
    model = cls(**_cls_kwargs)
TypeError: __init__() missing 1 required positional argument: 'cfg'

I will try to reproduce using the BoringModel once I find some time if someone requests it.
PS
I'll definitely appreciate a hotfix if one comes to someone's mind.