mirror of
https://github.com/p-e-w/heretic.git
synced 2026-09-16 00:55:58 -07:00
fix: revert environment changes
This commit is contained in:
@@ -268,10 +268,6 @@ def run():
|
||||
|
||||
print(get_accelerator_info())
|
||||
|
||||
torch.backends.mkldnn.enabled = False # ty:ignore[invalid-assignment]
|
||||
torch.set_num_threads(1)
|
||||
torch.set_num_interop_threads(1)
|
||||
|
||||
if settings.print_debug_information:
|
||||
print()
|
||||
print(torch.__config__.show().strip())
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
# Copyright (C) 2025-2026 Philipp Emanuel Weidmann <pew@worldwidemann.com> + contributors
|
||||
|
||||
import hashlib
|
||||
import os
|
||||
import subprocess
|
||||
import sys
|
||||
from pathlib import Path
|
||||
@@ -24,12 +23,6 @@ script_directory = Path(__file__).resolve().parent
|
||||
|
||||
project_directory = script_directory.parent
|
||||
|
||||
environment = os.environ | {
|
||||
"OMP_NUM_THREADS": "1",
|
||||
"MKL_NUM_THREADS": "1",
|
||||
"OPENBLAS_NUM_THREADS": "1",
|
||||
}
|
||||
|
||||
for test_directory in script_directory.iterdir():
|
||||
if test_directory.is_dir():
|
||||
config_file = test_directory / "config.toml"
|
||||
@@ -51,7 +44,6 @@ for test_directory in script_directory.iterdir():
|
||||
test_directory,
|
||||
"heretic",
|
||||
],
|
||||
env=environment,
|
||||
check=True,
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user