@@ -208,20 +208,20 @@ install_python_dependencies() {
208
208
case " $OSTYPE " in
209
209
" lin" * )
210
210
if [ " $RUNPOD " = true ]; then
211
- python " $SCRIPT_DIR /setup/setup_linux.py" --platform-requirements-file=requirements_runpod.txt " $QUIET "
211
+ python " $SCRIPT_DIR /setup/setup_linux.py" --platform-requirements-file=requirements_runpod.txt $QUIET
212
212
elif [ " $USE_IPEX " = true ]; then
213
- python " $SCRIPT_DIR /setup/setup_linux.py" --platform-requirements-file=requirements_linux_ipex.txt " $QUIET "
213
+ python " $SCRIPT_DIR /setup/setup_linux.py" --platform-requirements-file=requirements_linux_ipex.txt $QUIET
214
214
elif [ " $USE_ROCM " = true ] || [ -x " $( command -v rocminfo) " ] || [ -f " /opt/rocm/bin/rocminfo" ]; then
215
- python " $SCRIPT_DIR /setup/setup_linux.py" --platform-requirements-file=requirements_linux_rocm.txt " $QUIET "
215
+ python " $SCRIPT_DIR /setup/setup_linux.py" --platform-requirements-file=requirements_linux_rocm.txt $QUIET
216
216
else
217
- python " $SCRIPT_DIR /setup/setup_linux.py" --platform-requirements-file=requirements_linux.txt " $QUIET "
217
+ python " $SCRIPT_DIR /setup/setup_linux.py" --platform-requirements-file=requirements_linux.txt $QUIET
218
218
fi
219
219
;;
220
220
" darwin" * )
221
221
if [[ " $( uname -m) " == " arm64" ]]; then
222
- python " $SCRIPT_DIR /setup/setup_linux.py" --platform-requirements-file=requirements_macos_arm64.txt " $QUIET "
222
+ python " $SCRIPT_DIR /setup/setup_linux.py" --platform-requirements-file=requirements_macos_arm64.txt $QUIET
223
223
else
224
- python " $SCRIPT_DIR /setup/setup_linux.py" --platform-requirements-file=requirements_macos_amd64.txt " $QUIET "
224
+ python " $SCRIPT_DIR /setup/setup_linux.py" --platform-requirements-file=requirements_macos_amd64.txt $QUIET
225
225
fi
226
226
;;
227
227
esac
@@ -309,7 +309,7 @@ update_kohya_ss() {
309
309
310
310
# Section: Command-line options parsing
311
311
312
- while getopts " :vb:d:g:inprus -:" opt; do
312
+ while getopts " :vb:d:g:inpqrus -:" opt; do
313
313
# support long options: https://stackoverflow.com/a/28466267/519360
314
314
if [ " $opt " = " -" ]; then # long option: reformulate OPT and OPTARG
315
315
opt=" ${OPTARG%% =* } " # extract long option name
0 commit comments