Skip to content

Commit 2050f58

Browse files
committed
installation instructions
1 parent 608b18c commit 2050f58

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,3 +90,8 @@ Note that 4 of the 606 operations in the optimized model are executed on the CPU
9090

9191
## A Note on Unit Tests
9292
The unit tests measure, among other things, the ANE speed-up factor. Since the device spec for this reference implementation is M1 or newer chips for the Mac and A14 and newer chips for the iPhone and iPad, the speed-up unit tests will print a warning message if executed on devices outside of this spec. Even if the model is generated using an out of spec Mac, the model should work as expected on in-spec devices.
93+
94+
## Installation & Troubleshooting
95+
- Fastest: `pip install ane_transformers`
96+
- Locally editable: `pip install -e .`
97+
- If installation fails with `ERROR: Failed building wheel for tokenizers` or `error: can't find Rust compiler`, please follow this [solution](https://github.com/huggingface/transformers/issues/2831#issuecomment-592724471)

0 commit comments

Comments
 (0)