You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 10, 2025. It is now read-only.
Copy file name to clipboardExpand all lines: docs/quantization.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -142,22 +142,22 @@ To use linear:a8wxdq and embedding:wx, you must set up the torchao experimental
142
142
143
143
From the torchchat root directory, run
144
144
```
145
-
sh torchchat/utils/scripts/build_torchao_ops.sh
145
+
bash torchchat/utils/scripts/build_torchao_ops.sh
146
146
```
147
147
148
148
This should take about 10 seconds to complete.
149
149
150
150
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.
151
151
152
152
```
153
-
sh torchchat/utils/scripts/build_native.sh aoti link_torchao_ops
sh torchchat/utils/scripts/build_native.sh et link_torchao_ops
157
+
bash torchchat/utils/scripts/build_native.sh et link_torchao_ops
158
158
```
159
159
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.
161
161
162
162
### Examples
163
163
@@ -212,7 +212,7 @@ Currently, torchchat can only run them on Eager mode.
212
212
213
213
From the torchchat root directory, run
214
214
```
215
-
sh torchchat/utils/scripts/build_torchao_ops.sh mps
0 commit comments