mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-21 05:34:18 +08:00
[Quant][fx] Implement BackendConfig (part 1) (#81469)
Summary: Following https://github.com/pytorch/pytorch/pull/78452 and https://github.com/pytorch/pytorch/pull/79066, this commit is part 1 of the broader effort to replace `backend_config_dict` with a python config object, a more formal and robust API that leads to better user experience. Note that there is no change in behavior in this commit by itself. A future commit (part 2) will replace all existing usages of `backend_config_dict` with the `BackendConfig` object added in this commit. Test Plan: python test/test_quantization.py TestBackendConfig Reviewers: jerryzh168 Subscribers: jerryzh168 Pull Request resolved: https://github.com/pytorch/pytorch/pull/81469 Approved by: https://github.com/jerryzh168
This commit is contained in:
committed by
PyTorch MergeBot
parent
1a18ff3247
commit
194255bb56
@ -36,6 +36,7 @@ from quantization.core.test_workflow_module import TestRecordHistogramObserver
|
||||
from quantization.core.test_workflow_module import TestHistogramObserver # noqa: F401
|
||||
from quantization.core.test_workflow_module import TestDistributed # noqa: F401
|
||||
from quantization.core.test_workflow_module import TestFusedObsFakeQuantModule # noqa: F401
|
||||
from quantization.core.test_backend_config import TestBackendConfig # noqa: F401
|
||||
from quantization.core.test_utils import TestUtils # noqa: F401
|
||||
from quantization.core.test_docs import TestQuantizationDocs # noqa: F401
|
||||
|
||||
|
Reference in New Issue
Block a user