Skip to content

Commit 70239cc

Browse files
Improve Quantization Setup Prompts and Doc
1 parent 54cc7c9 commit 70239cc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

torchchat/utils/scripts/build_torchao_ops.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,14 @@ if [[ "$device" != "cpu" && "$device" != "mps" ]]; then
1212
exit 1
1313
fi
1414

15+
source "$(dirname "${BASH_SOURCE[0]}")/install_utils.sh"
16+
1517
if [ ! -d "${TORCHCHAT_ROOT}/torchao-build" ]; then
1618
echo "Directory ${TORCHCHAT_ROOT}/torchao-build does not exist."
1719
echo "Make sure you run bash torchchat/utils/scripts/clone_torchao.sh"
1820
exit 1
1921
fi
2022

21-
source "$(dirname "${BASH_SOURCE[0]}")/install_utils.sh"
22-
2323
pushd ${TORCHCHAT_ROOT}
2424
find_cmake_prefix_path
2525
install_torchao_aten_ops "$device"

0 commit comments

Comments
 (0)