Update
Browse files- comfyprov-vastai.sh +2 -2
comfyprov-vastai.sh
CHANGED
|
@@ -133,14 +133,14 @@ function provisioning_get_nodes() {
|
|
| 133 |
printf "Updating node: %s...\n" "${repo}"
|
| 134 |
( cd "$path" && git pull )
|
| 135 |
if [[ -e $requirements ]]; then
|
| 136 |
-
pip install --no-cache-dir -r "$requirements"
|
| 137 |
fi
|
| 138 |
fi
|
| 139 |
else
|
| 140 |
printf "Downloading node: %s...\n" "${repo}"
|
| 141 |
git clone "${repo}" "${path}" --recursive
|
| 142 |
if [[ -e $requirements ]]; then
|
| 143 |
-
pip install --no-cache-dir -r "${requirements}"
|
| 144 |
fi
|
| 145 |
fi
|
| 146 |
done
|
|
|
|
| 133 |
printf "Updating node: %s...\n" "${repo}"
|
| 134 |
( cd "$path" && git pull )
|
| 135 |
if [[ -e $requirements ]]; then
|
| 136 |
+
pip install --root-user-action=ignore --no-cache-dir -r "$requirements"
|
| 137 |
fi
|
| 138 |
fi
|
| 139 |
else
|
| 140 |
printf "Downloading node: %s...\n" "${repo}"
|
| 141 |
git clone "${repo}" "${path}" --recursive
|
| 142 |
if [[ -e $requirements ]]; then
|
| 143 |
+
pip install --root-user-action=ignore --no-cache-dir -r "${requirements}"
|
| 144 |
fi
|
| 145 |
fi
|
| 146 |
done
|