Update README.md
Browse files
README.md
CHANGED
|
@@ -43,9 +43,11 @@ Conformer is a popular Neural Network for speech recognition. This repository co
|
|
| 43 |
|
| 44 |
## Uses
|
| 45 |
|
| 46 |
-
You need to install ExecuTorch 1.0 with
|
| 47 |
|
| 48 |
-
By downloading the quantized exported graph module, you can directly call the to_edge_transform_and_lower API of ExecuTorch.
|
|
|
|
|
|
|
| 49 |
Below is an example script to produce a pte file for Ethos-U85 256 MAC configuration in Shared_Sram memory mode.
|
| 50 |
```
|
| 51 |
import torch
|
|
@@ -94,21 +96,6 @@ if __name__ == "__main__":
|
|
| 94 |
```
|
| 95 |
|
| 96 |
|
| 97 |
-
### Direct Use
|
| 98 |
-
|
| 99 |
-
<!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
|
| 100 |
-
|
| 101 |
-
[More Information Needed]
|
| 102 |
-
|
| 103 |
-
|
| 104 |
-
[More Information Needed]
|
| 105 |
-
|
| 106 |
-
### Out-of-Scope Use
|
| 107 |
-
|
| 108 |
-
<!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
|
| 109 |
-
|
| 110 |
-
[More Information Needed]
|
| 111 |
-
|
| 112 |
## Bias, Risks, and Limitations
|
| 113 |
|
| 114 |
<!-- This section is meant to convey both technical and sociotechnical limitations. -->
|
|
|
|
| 43 |
|
| 44 |
## Uses
|
| 45 |
|
| 46 |
+
You need to install ExecuTorch 1.0 with `$ pip install executorch`.
|
| 47 |
|
| 48 |
+
By downloading the quantized exported graph module, you can directly call the `to_edge_transform_and_lower` API of ExecuTorch.
|
| 49 |
+
The `to_edge_transform_and_lower` API will convert the quantized exported program to backend-specific command stream for the Ethos-U.
|
| 50 |
+
The end result a pte file for your variant of the Ethos-U.
|
| 51 |
Below is an example script to produce a pte file for Ethos-U85 256 MAC configuration in Shared_Sram memory mode.
|
| 52 |
```
|
| 53 |
import torch
|
|
|
|
| 96 |
```
|
| 97 |
|
| 98 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 99 |
## Bias, Risks, and Limitations
|
| 100 |
|
| 101 |
<!-- This section is meant to convey both technical and sociotechnical limitations. -->
|