File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 5454
5555 CHANGED_FILES=$(git diff --name-only $BASE_REF...HEAD 2>/dev/null || git diff --name-only $BASE_REF HEAD)
5656
57- # 修改 detect_changes 里的 grep 正则,增加对 .github/ 的匹配
5857 echo "core=$(echo "$CHANGED_FILES" | grep -qE "^tests/unit_tests/|^megatron/core/|^.github/" && echo "true" || echo "false")" >> $GITHUB_OUTPUT
5958 echo "qa_l0=$(echo "$CHANGED_FILES" | grep -qE "^qa/L0_|^transformer_engine/|^tests/pytorch/|^.github/" && echo "true" || echo "false")" >> $GITHUB_OUTPUT
6059
@@ -129,8 +128,8 @@ jobs:
129128 ${{ inputs.setup_commands }}
130129
131130 # 2. Universal dependency sync using the activated python environment
132- python3 -m pip install --no-cache-dir transformers expecttest boto3==1.42.1
133- python3 -m pip install -e . --no-deps
131+ python3 -m pip install --no-cache-dir transformers expecttest boto3==1.42.1 --no-deps || true
132+ python3 -m pip install -v - e . --no-deps
134133 timeout-minutes : 20
135134
136135 - name : Execute Tests
You can’t perform that action at this time.
0 commit comments