Skip to content

Commit 5ba8809

Browse files
[CI] no need install logbar manually (#1721)
* [CI] no need install logbar manually * [CI] don't uninstall torchvision for qwen vl
1 parent 81ff7f8 commit 5ba8809

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.github/workflows/unit_tests.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -639,7 +639,6 @@ jobs:
639639
- name: Install wheel
640640
run: |
641641
uv pip install -U transformers
642-
uv pip install -U logbar==0.0.3
643642
if [ "${{ matrix.test_script }}" == "test_perplexity" ] || \
644643
[ "${{ matrix.test_script }}" == "test_inference_speed" ] || \
645644
[ "${{ matrix.test_script }}" == "test_q4_bitblas" ] || \
@@ -668,7 +667,7 @@ jobs:
668667
if [[ "${{ matrix.test_script }}" == *xpu* ]]; then
669668
echo "===== switching to xpu env ====="
670669
source /etc/profile.d/pyenv.sh && pyenv activate xpu
671-
uv pip install -U logbar==0.0.3
670+
uv pip install -U logbar==0.0.4
672671
fi
673672
674673
if [[ "${{ matrix.test_script }}" == "test_olora_finetuning_xpu" ]]; then
@@ -713,8 +712,11 @@ jobs:
713712
uv pip install numpy==1.26.3
714713
fi
715714
716-
echo "===== uninstall torchvision ====="
717-
uv pip uninstall torchvision || true
715+
716+
if [[ "${{ matrix.test_script }}" != "models/test_qwen2_vl" ]]; then
717+
echo "===== uninstall torchvision ====="
718+
uv pip uninstall torchvision || true
719+
fi
718720
719721
echo "===== install -r requirements.txt ====="
720722
uv pip install -r requirements.txt

0 commit comments

Comments
 (0)