Skip to content

Commit

Permalink
fix: fixed an incorreect if statement (fauxpilot#158)
Browse files Browse the repository at this point in the history
Resolved fauxpilot#157.
The setup.sh generates the "integer expression expected" issue.
This commit is to fix this issue.

Signed-off-by: Geunsik Lim <[email protected]>
Signed-off-by: Geunsik Lim <[email protected]>
  • Loading branch information
leemgs authored Mar 13, 2023
1 parent f9e7eff commit 0e80eef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0e80eef

Please sign in to comment.