mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 21:14:14 +08:00
fix quantization/core/test_docs for Buck2 (#83341)
Summary: We extract the test to its own target, fixing the relative path to the quantization docs. This allows us to find the docs with a more simple implementation. Test Plan: Tested locally with buck1 and buck2. Differential Revision: D38662169 Pull Request resolved: https://github.com/pytorch/pytorch/pull/83341 Approved by: https://github.com/huydhn, https://github.com/seemethere, https://github.com/ZainRizvi
This commit is contained in:
committed by
PyTorch MergeBot
parent
aad89bb771
commit
3f612b58be
@ -38,7 +38,12 @@ 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
|
||||
try:
|
||||
# This test has extra data dependencies, so in some environments, e.g. Meta internal
|
||||
# Buck, it has its own test runner.
|
||||
from quantization.core.test_docs import TestQuantizationDocs # noqa: F401
|
||||
except ImportError:
|
||||
pass
|
||||
|
||||
# Eager Mode Workflow. Tests for the functionality of APIs and different features implemented
|
||||
# using eager mode.
|
||||
|
Reference in New Issue
Block a user