We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9cab222 commit 7029b88Copy full SHA for 7029b88
tests/__init__.py
@@ -12,14 +12,15 @@
12
)
13
device_from_environ = os.environ.get("TEST_DEVICE", "cuda")
14
with_collect_stats = os.environ.get("WITH_COLLECT_STATS", "false")
15
-TEST_DATASETS = os.environ.get("TEST_DATASETS", "false")
+test_datasets = os.environ.get("TEST_DATASETS", "false")
16
17
TEST_DTYPES = [getattr(torch, x) for x in dtypes_from_environ]
18
TEST_DEVICE = torch.device(device_from_environ)
19
20
assert c_f.COLLECT_STATS is False
21
22
WITH_COLLECT_STATS = True if with_collect_stats == "true" else False
23
+TEST_DATASETS = True if test_datasets == "true" else False
24
c_f.COLLECT_STATS = WITH_COLLECT_STATS
25
26
print(
0 commit comments