Skip to content

Commit 09178dc

Browse files
authored
Update sh -> bash in quantization.md (#1437)
Resolve one instance of #1436 where we say sh but mean bash (sh is not bash on every system).
1 parent d9f439e commit 09178dc

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

docs/quantization.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -142,22 +142,22 @@ To use linear:a8wxdq and embedding:wx, you must set up the torchao experimental
142142

143143
From the torchchat root directory, run
144144
```
145-
sh torchchat/utils/scripts/build_torchao_ops.sh
145+
bash torchchat/utils/scripts/build_torchao_ops.sh
146146
```
147147

148148
This should take about 10 seconds to complete.
149149

150150
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.
151151

152152
```
153-
sh torchchat/utils/scripts/build_native.sh aoti link_torchao_ops
153+
bash torchchat/utils/scripts/build_native.sh aoti link_torchao_ops
154154
```
155155

156156
```
157-
sh torchchat/utils/scripts/build_native.sh et link_torchao_ops
157+
bash torchchat/utils/scripts/build_native.sh et link_torchao_ops
158158
```
159159

160-
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.
160+
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.
161161

162162
### Examples
163163

@@ -212,7 +212,7 @@ Currently, torchchat can only run them on Eager mode.
212212

213213
From the torchchat root directory, run
214214
```
215-
sh torchchat/utils/scripts/build_torchao_ops.sh mps
215+
bash torchchat/utils/scripts/build_torchao_ops.sh mps
216216
```
217217

218218
### Examples

0 commit comments

Comments
 (0)