• Benjamin Lefaudeux's avatar
    [fix] OSS pytorch-compliant state dict (#61) · 1d1d15ea
    Benjamin Lefaudeux authored
    * Aligning the optimizer state dict with what PyTorch expects
    
    * Adding a check on the dict keys, ensure that `state` and `param_groups` are there
    
    * after installing the specific isort, black and all, one liner to please the linter..
    1d1d15ea
test_oss.py 9.31 KB