Skip to content

Commit 43fe323

Browse files
committed
ci: fix github workflow
1 parent bfbeeef commit 43fe323

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

.github/workflows/static-test-install_uv.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,6 @@ jobs:
1717

1818
- name: install detectron2 and project with uv
1919
run: |
20-
bash scripts/install_uv.sh -m detectron2 --no-weights --cpu
20+
uv pip install -U pip wheel setuptools
21+
bash scripts/install_uv.sh --no-weights --cpu -m "detectron2,yolox,segment_anything,jde"
2122

scripts/install.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ main () {
126126
detect_env
127127

128128
if [[ "${FCM_CTTC}" == "True" ]]; then
129-
run_install_fcm_cttc
129+
configure_fcm_cttc
130130
fi
131131

132132
if [[ "${NO_PREPARE}" == "False" ]]; then
@@ -146,8 +146,8 @@ main () {
146146
fi
147147
}
148148

149-
run_install_fcm_cttc() {
150-
echo "🚀 FCM CTTC Mode Enabled: Enforcing strict versions for all models."
149+
configure_fcm_cttc() {
150+
echo "FCM CTTC Mode Enabled: Enforcing strict versions for all models."
151151
TORCH_VERSION="2.0.0"
152152
# Correct torchvision version for torch 2.0.0
153153
TORCHVISION_VERSION="0.15.1"

0 commit comments

Comments
 (0)