Skip to content
This repository was archived by the owner on Sep 10, 2025. It is now read-only.

Commit eb481bf

Browse files
committed
ci fixes
1 parent 1e47737 commit eb481bf

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

install/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ tiktoken
1212
# Miscellaneous
1313
snakeviz
1414
sentencepiece
15-
numpy==1.21.3
15+
numpy>=1.23.5,<2.0
1616
gguf
1717
lm-eval==0.4.2
1818
blobfile

torchchat/utils/scripts/install_utils.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@
88
set -ex pipefail
99

1010
if [ -z "$TORCHCHAT_ROOT" ]; then
11-
TORCHCHAT_ROOT="$(dirname "${BASH_SOURCE[0]}")/../../.."
11+
# Get the absolute path of the current script
12+
SCRIPT_PATH="$( cd "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )"
13+
TORCHCHAT_ROOT="$(dirname "$SCRIPT_PATH")/../../.."
1214
echo "Defaulting TORCHCHAT_ROOT to $TORCHCHAT_ROOT since it is unset."
1315
fi
1416

0 commit comments

Comments
 (0)