mirror of
https://github.com/fauxpilot/fauxpilot.git
synced 2025-07-06 04:51:57 -07:00
fix: fixed an incorreect if statement (#158)
Resolved #157. The setup.sh generates the "integer expression expected" issue. This commit is to fix this issue. Signed-off-by: Geunsik Lim <leemgs@gmail.com> Signed-off-by: Geunsik Lim <geunsik.lim@samsung.com>
This commit is contained in:
parent
f9e7eff4ec
commit
0e80eefb76
1 changed files with 1 additions and 1 deletions
2
setup.sh
2
setup.sh
|
@ -176,7 +176,7 @@ echo "[1] FasterTransformer backend (faster, but limited models)"
|
|||
echo "[2] Python backend (slower, but more models, and allows loading with int8)"
|
||||
read -rp "Enter your choice [1]: " BACKEND_NUM
|
||||
|
||||
if [ "$BACKEND_NUM" -eq 2 ]; then
|
||||
if [[ "$BACKEND_NUM" -eq 2 ]]; then
|
||||
python_backend
|
||||
else
|
||||
fastertransformer_backend
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue