"git@developer.sourcefind.cn:zhaoyu6/sglang.git" did not exist on "9aa6553d2abd3d0a76629fe1bc02ce9b58f3907e"
Commit 444f5993 authored by Taylor Robie's avatar Taylor Robie
Browse files

add unbuffer to run.sh as tee is causing issues

parent 4cdea1cc
#!/bin/bash #!/bin/bash
set -e set -e
if ! which unbuffer > /dev/null; then
echo "Could not find unbuffer command. Make sure the expect package is installed."
exit 1
fi
if [ `id -u` != 0 ]; then if [ `id -u` != 0 ]; then
echo "Calling sudo to gain root for this shell. (Needed to clear caches.)" echo "Calling sudo to gain root for this shell. (Needed to clear caches.)"
sudo echo "Success" sudo echo "Success"
...@@ -55,7 +60,8 @@ do ...@@ -55,7 +60,8 @@ do
# To reduce variation set the seed flag: # To reduce variation set the seed flag:
# --seed ${i} # --seed ${i}
python ncf_main.py --model_dir ${MODEL_DIR} \ unbuffer python ncf_main.py \
--model_dir ${MODEL_DIR} \
--data_dir ${DATA_DIR} \ --data_dir ${DATA_DIR} \
--dataset ${DATASET} --hooks "" \ --dataset ${DATASET} --hooks "" \
${DEVICE_FLAG} \ ${DEVICE_FLAG} \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment