pytorch
b49ed5f8 - ao migration: fix broken import

Commit
3 years ago
ao migration: fix broken import Summary: https://github.com/pytorch/pytorch/pull/94170 broke some Meta-only tests because it broke the following syntax: ``` import torch.nn.intrinsic _ = torch.nn.intrinsic.quantized.dynamic.* ``` This broke with the name change because the `ao` folder is currently doing lazy import loading, but the original folders are not. For now, just unbreak the folders needed for the tests to pass. We will follow-up with ensuring this doesn't break for other folders in a future PR. Test plan: ``` python test/test_quantization.py -k AOMigrationNNIntrinsic.test_modules_no_import_nn_intrinsic_quantized_dynamic ```
Author
Committer
Parents
Loading