Skip to content

Commit 88820c7

Browse files
committed
fix flags
1 parent e53e49b commit 88820c7

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

engine.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22

33
import os
44

5-
os.environ["FLAGS_USE_SYSTEM_ALLOCATOR"] = "1"
5+
os.environ["FLAGS_use_system_allocator"] = "1"
6+
os.environ["FLAGS_check_cuda_error"] = "1"
67
os.environ["NVIDIA_TF32_OVERRIDE"] = "0"
78

89
import argparse

engineV2.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,8 @@
3939

4040
from tester.api_config.log_writer import *
4141

42-
os.environ["FLAGS_USE_SYSTEM_ALLOCATOR"] = "1"
42+
os.environ["FLAGS_use_system_allocator"] = "1"
43+
os.environ["FLAGS_check_cuda_error"] = "1"
4344
os.environ["NVIDIA_TF32_OVERRIDE"] = "0"
4445

4546
VALID_TEST_ARGS = {

0 commit comments

Comments
 (0)