We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 54cc7c9 commit 70239ccCopy full SHA for 70239cc
torchchat/utils/scripts/build_torchao_ops.sh
@@ -12,14 +12,14 @@ if [[ "$device" != "cpu" && "$device" != "mps" ]]; then
12
exit 1
13
fi
14
15
+source "$(dirname "${BASH_SOURCE[0]}")/install_utils.sh"
16
+
17
if [ ! -d "${TORCHCHAT_ROOT}/torchao-build" ]; then
18
echo "Directory ${TORCHCHAT_ROOT}/torchao-build does not exist."
19
echo "Make sure you run bash torchchat/utils/scripts/clone_torchao.sh"
20
21
22
-source "$(dirname "${BASH_SOURCE[0]}")/install_utils.sh"
-
23
pushd ${TORCHCHAT_ROOT}
24
find_cmake_prefix_path
25
install_torchao_aten_ops "$device"
0 commit comments