Skip to content

Commit bfbeeef

Browse files
committed
install, fix: preparation of all vision models even when a subset is installed
1 parent 4cdd8f7 commit bfbeeef

File tree

2 files changed

+56
-3
lines changed

2 files changed

+56
-3
lines changed

scripts/install.sh

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -169,16 +169,17 @@ run_prepare() {
169169
detect_env
170170
mkdir -p "${MODELS_SOURCE_DIR}"
171171

172-
echo "Selected Models to be prepared: ${MODEL}"
172+
# for now, prepare all models to avoid issues with uv sync
173+
# echo "Selected Models to be prepared: ${MODEL}"
173174

174175
for model in "${VISION_MODELS[@]}"; do
175-
if [[ " ${MODEL,,} " == *" ${model} "* ]] || [[ "${MODEL,,}" == "all" ]]; then
176+
# if [[ " ${MODEL,,} " == *" ${model} "* ]] || [[ "${MODEL,,}" == "all" ]]; then
176177
# JDE has a dependency on cython_bbox, so prepare it first.
177178
if [[ "${model}" == "jde" ]]; then
178179
prepare_cython_bbox
179180
fi
180181
"prepare_${model}"
181-
fi
182+
# fi
182183
done
183184
}
184185

0 commit comments

Comments
 (0)