Compare commits

...
Author SHA1 Message Date
Hongsheng Liu 77f8ebdca2 Revert "[misc] Feature/pr reviewer auto trigger&update model (#1431)"
This reverts commit 267170115b.
2026-02-23 07:51:33 +08:00
3 changed files with 10 additions and 15 deletions

No files matched your search

+7 -12
View File
@@ -1,8 +1,6 @@
name: VLLM-Omni PR Reviewer name: VLLM-Omni PR Reviewer
on: on:
pull_request:
types: [opened, ready_for_review]
issue_comment: issue_comment:
types: [created] types: [created]
@@ -16,17 +14,14 @@ jobs:
name: Review Pull Request name: Review Pull Request
runs-on: ubuntu-latest runs-on: ubuntu-latest
timeout-minutes: 10 timeout-minutes: 10
# Trigger on: # Only run when the comment is from a collaborator/owner/member
# 1. PR opened or marked ready for review (auto-run, only from same repo)
# 2. Manual @vllm-omni-reviewer comment by members/collaborators
if: | if: |
(github.event_name == 'pull_request' && github.event.pull_request.draft == false && github.event.pull_request.head.repo.full_name == github.repository) || github.event_name == 'issue_comment' &&
(github.event_name == 'issue_comment' && github.event.issue.pull_request != null &&
github.event.issue.pull_request != null && contains(github.event.comment.body, '@vllm-omni-reviewer') &&
contains(github.event.comment.body, '@vllm-omni-reviewer') && (github.event.comment.author_association == 'MEMBER' ||
(github.event.comment.author_association == 'MEMBER' || github.event.comment.author_association == 'COLLABORATOR' ||
github.event.comment.author_association == 'COLLABORATOR' || github.event.comment.author_association == 'OWNER')
github.event.comment.author_association == 'OWNER'))
steps: steps:
- name: Checkout repository - name: Checkout repository
uses: actions/checkout@v4.2.2 uses: actions/checkout@v4.2.2
+2 -2
View File
@@ -223,8 +223,8 @@ def calculate_metrics(
good_completed += 1 good_completed += 1
if completed == 0: if completed == 0:
warnings.formatwarning = lambda msg, category, filename, lineno, line=None: ( warnings.formatwarning = (
f"{filename}:{lineno}: {category.__name__}: {msg}\n" lambda msg, category, filename, lineno, line=None: f"{filename}:{lineno}: {category.__name__}: {msg}\n"
) )
warnings.warn( warnings.warn(
"All requests failed. This is likely due to a misconfiguration on the benchmark arguments.", "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 # used in distributed environment to determine the master address
"MASTER_ADDR": lambda: os.getenv("MASTER_ADDR", ""), "MASTER_ADDR": lambda: os.getenv("MASTER_ADDR", ""),
# used in distributed environment to manually set the communication port # 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, # path to cudatoolkit home directory, under which should be bin, include,
# and lib directories. # and lib directories.
"CUDA_HOME": lambda: os.environ.get("CUDA_HOME", None), "CUDA_HOME": lambda: os.environ.get("CUDA_HOME", None),