From 91696ba6c8298fbaf7d21969dca66599eefbf3d1 Mon Sep 17 00:00:00 2001 From: ZwX1616 Date: Thu, 26 Feb 2026 15:58:52 -0800 Subject: [PATCH] fix module for model_review (#37428) * install tg instead of onnx * fix python path --------- Co-authored-by: Bruce Wayne --- .github/workflows/model_review.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/model_review.yaml b/.github/workflows/model_review.yaml index 6b8ce143d..2775dbc57 100644 --- a/.github/workflows/model_review.yaml +++ b/.github/workflows/model_review.yaml @@ -17,6 +17,8 @@ jobs: steps: - name: Checkout uses: actions/checkout@v6 + with: + submodules: true - name: Checkout master uses: actions/checkout@v6 with: @@ -25,14 +27,12 @@ jobs: - run: git lfs pull - run: cd base && git lfs pull - - run: pip install onnx - - name: scripts/reporter.py id: report run: | echo "content<> $GITHUB_OUTPUT echo "## Model Review" >> $GITHUB_OUTPUT - MASTER_PATH=${{ github.workspace }}/base python scripts/reporter.py >> $GITHUB_OUTPUT + PYTHONPATH=${{ github.workspace }} MASTER_PATH=${{ github.workspace }}/base python scripts/reporter.py >> $GITHUB_OUTPUT echo "EOF" >> $GITHUB_OUTPUT - name: Post model report comment