From 460ef8912757dcd436aa23437234e13a94bda011 Mon Sep 17 00:00:00 2001 From: Michael Gschwind <61328285+mikekgfb@users.noreply.github.com> Date: Sun, 22 Dec 2024 14:31:56 -0800 Subject: [PATCH] Update sh -> bash in quantization.md Resolve one instance of #1436 where we say sh but mean bash (sh is not bash on every system). --- docs/quantization.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/quantization.md b/docs/quantization.md index 08086d8d1..704a7ed6a 100644 --- a/docs/quantization.md +++ b/docs/quantization.md @@ -142,7 +142,7 @@ To use linear:a8wxdq and embedding:wx, you must set up the torchao experimental From the torchchat root directory, run ``` -sh torchchat/utils/scripts/build_torchao_ops.sh +bash torchchat/utils/scripts/build_torchao_ops.sh ``` This should take about 10 seconds to complete. @@ -150,14 +150,14 @@ This should take about 10 seconds to complete. Note: if you want to use the new kernels in the AOTI and C++ runners, you must pass the flag link_torchao_ops when running the scripts the build the runners. ``` -sh torchchat/utils/scripts/build_native.sh aoti link_torchao_ops +bash torchchat/utils/scripts/build_native.sh aoti link_torchao_ops ``` ``` -sh torchchat/utils/scripts/build_native.sh et link_torchao_ops +bash torchchat/utils/scripts/build_native.sh et link_torchao_ops ``` -Note before running `sh torchchat/utils/scripts/build_native.sh et link_torchao_ops`, you must first install executorch with `sh torchchat/utils/scripts/install_et.sh` if you have not done so already. +Note before running `bash torchchat/utils/scripts/build_native.sh et link_torchao_ops`, you must first install executorch with `bash torchchat/utils/scripts/install_et.sh` if you have not done so already. ### Examples @@ -212,7 +212,7 @@ Currently, torchchat can only run them on Eager mode. From the torchchat root directory, run ``` -sh torchchat/utils/scripts/build_torchao_ops.sh mps +bash torchchat/utils/scripts/build_torchao_ops.sh mps ``` ### Examples