Skip to content

Commit 621a0c8

Browse files
committed
DLFW changes from 25.01 onwards
1 parent bfd5fe8 commit 621a0c8

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

examples/int8/training/vgg16/requirements.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ tensorboard>=1.14.0
22
protobuf==3.20.*
33
nvidia-pyindex
44
--extra-index-url https://pypi.nvidia.com
5-
pytorch-quantization
65
tqdm
76
nvidia-modelopt
87
--extra-index-url https://pypi.nvidia.com

noxfile.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
# Use system installed Python packages
88
PYT_PATH = (
9-
"/usr/local/lib/python3.10/dist-packages"
9+
"/usr/local/lib/python3.12/dist-packages"
1010
if not "PYT_PATH" in os.environ
1111
else os.environ["PYT_PATH"]
1212
)
@@ -34,7 +34,7 @@
3434
# Set epochs to train VGG model for accuracy tests
3535
EPOCHS = 25
3636

37-
SUPPORTED_PYTHON_VERSIONS = ["3.7", "3.8", "3.9", "3.10"]
37+
SUPPORTED_PYTHON_VERSIONS = ["3.7", "3.8", "3.9", "3.10", "3.12"]
3838

3939
nox.options.sessions = [
4040
"l0_api_tests-" + "{}.{}".format(sys.version_info.major, sys.version_info.minor)
@@ -233,12 +233,13 @@ def run_dynamo_converter_tests(session):
233233
def run_dynamo_lower_tests(session):
234234
print("Running Dynamo lowering passes")
235235
session.chdir(os.path.join(TOP_DIR, "tests/py/dynamo/"))
236+
num_workers = "auto"
236237
tests = ["lowering"]
237238
for test in tests:
238239
if USE_HOST_DEPS:
239-
session.run_always("pytest", test, env={"PYTHONPATH": PYT_PATH})
240+
session.run_always("pytest", test, "-n", num_workers, env={"PYTHONPATH": PYT_PATH})
240241
else:
241-
session.run_always("pytest", test)
242+
session.run_always("pytest", test, "-n", num_workers)
242243

243244

244245
def run_dynamo_partitioning_tests(session):

tests/py/ts/ptq/test_ptq_dataloader_calibrator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ def find_repo_root(max_depth=10):
1515
dir_path = os.path.dirname(os.path.realpath(__file__))
1616
for i in range(max_depth):
1717
files = os.listdir(dir_path)
18-
if "WORKSPACE" in files:
18+
if "MODULE.bazel" in files:
1919
return dir_path
2020
else:
2121
dir_path = os.path.dirname(dir_path)

tests/py/ts/ptq/test_ptq_trt_calibrator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ def find_repo_root(max_depth=10):
1616
dir_path = os.path.dirname(os.path.realpath(__file__))
1717
for i in range(max_depth):
1818
files = os.listdir(dir_path)
19-
if "WORKSPACE" in files:
19+
if "MODULE.bazel" in files:
2020
return dir_path
2121
else:
2222
dir_path = os.path.dirname(dir_path)

0 commit comments

Comments
 (0)