Skip to content

Commit 18acb7a

Browse files
authored
fix DeepSpeed install method in env_setup.sh (#3394)
1 parent 95ea987 commit 18acb7a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/cpu/llm/tools/env_setup.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ if [ $((${MODE} & 0x02)) -ne 0 ]; then
183183
rm -rf lm-evaluation-harness
184184

185185
# Install DeepSpeed
186-
if [ $((${MODE} & 0x08)) -ge 0 ]; then
186+
if [ $((${MODE} & 0x08)) -gt 0 ]; then
187187
if [ -d DeepSpeed ]; then
188188
rm -rf DeepSpeed
189189
fi

0 commit comments

Comments
 (0)