Skip to content

Commit e19fe2e

Browse files
committed
chore(//tests): Adding instructions on where to get model for PTQ python
test Signed-off-by: Naren Dasan <[email protected]> Signed-off-by: Naren Dasan <[email protected]>
1 parent f309262 commit e19fe2e

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

tests/py/test_ptq_dataloader_calibrator.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,8 @@ def test_compile_script(self):
8181

8282
def test_suite():
8383
suite = unittest.TestSuite()
84+
# You need a pre-trained VGG cifar10 model to run this test. Please follow instructions at
85+
# https://github.com/NVIDIA/TRTorch/tree/master/cpp/ptq/training/vgg16 to export this model.
8486
suite.addTest(TestAccuracy.parametrize(TestAccuracy, model=torch.jit.load('./trained_vgg16.jit.pt')))
8587

8688
return suite

tests/py/test_ptq_to_backend.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,8 @@ def test_compile_script(self):
8484

8585
def test_suite():
8686
suite = unittest.TestSuite()
87+
# You need a pre-trained VGG cifar10 model to run this test. Please follow instructions at
88+
# https://github.com/NVIDIA/TRTorch/tree/master/cpp/ptq/training/vgg16 to export this model.
8789
suite.addTest(TestAccuracy.parametrize(TestAccuracy, model=torch.jit.load('./trained_vgg16.jit.pt')))
8890

8991
return suite

0 commit comments

Comments
 (0)