Revert "[misc] Feature/pr reviewer auto trigger&update model" (#1432)

This commit is contained in:
Hongsheng Liu authored and GitHub committed 2026-02-23 07:52:09 +08:00
1 parent 267170115b
commit a3f2d4cbfe
3 files changed
+10 -15

No files matched your search

+2 -2
View File
@@ -223,8 +223,8 @@ def calculate_metrics(
good_completed += 1
if completed == 0:
warnings.formatwarning = lambda msg, category, filename, lineno, line=None: (
f"{filename}:{lineno}: {category.__name__}: {msg}\n"
warnings.formatwarning = (
lambda msg, category, filename, lineno, line=None: f"{filename}:{lineno}: {category.__name__}: {msg}\n"
)
warnings.warn(
"All requests failed. This is likely due to a misconfiguration on the benchmark arguments.",
+1 -1
View File
@@ -20,7 +20,7 @@ environment_variables: dict[str, Callable[[], Any]] = {
# used in distributed environment to determine the master address
"MASTER_ADDR": lambda: os.getenv("MASTER_ADDR", ""),
# used in distributed environment to manually set the communication port
"MASTER_PORT": lambda: int(os.getenv("MASTER_PORT", "0")) if "MASTER_PORT" in os.environ else None,
"MASTER_PORT": lambda: (int(os.getenv("MASTER_PORT", "0")) if "MASTER_PORT" in os.environ else None),
# path to cudatoolkit home directory, under which should be bin, include,
# and lib directories.
"CUDA_HOME": lambda: os.environ.get("CUDA_HOME", None),