[quant][refactor tests] Move quantization tests into subfolders (#59007)

Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/59007

Create folders for each test category and move the tests.
Will follow-up with a cleanup of test_quantization.py

Test Plan:
python test/test_quantization.py

Imported from OSS

Reviewed By: HDCharles

Differential Revision: D28718742

fbshipit-source-id: 4c2dbbf36db35d289df9708565b7e88e2381ff04
This commit is contained in:
Supriya Rao
2021-05-26 22:59:21 -07:00
committed by Facebook GitHub Bot
parent e146ed21fb
commit 74089a0d34
26 changed files with 51 additions and 54 deletions

View File

@ -74,7 +74,7 @@ class DeterminationTest(unittest.TestCase):
["distributed/rpc/test_process_group_agent"],
)
self.assertEqual(
self.determined_tests(["test/quantization/test_quantize_eager_ptq.py"]),
self.determined_tests(["test/quantization/eager/test_quantize_eager_ptq.py"]),
["test_quantization"],
)