• Kai Zhang's avatar
    E2E QAT Workflow on Lightning · 845d0b2c
    Kai Zhang authored
    Summary:
    As per title and sanity test E2E QAT workflow on Lightning Trainer.
    
    - add `post_training_opts`. This is required to use `all_steps_qat.json` with Lightning. We don't actually support the post_training_opts in this diff though - we leave it part of T83437359.
    - Update .yaml to specify the Quantize-able modules.
    - Update `lightning_train_net.py` to use the QuantizationAwareTraining callback.
    
    Reviewed By: kandluis
    
    Differential Revision: D26304879
    
    fbshipit-source-id: 948bef4817d385d8a0969e4990d7f17ecd6994b7
    845d0b2c
lightning_train_net.py 7.43 KB