Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update installation instructions for iOS On-Device-Training example #181

Merged
merged 1 commit into from
Jun 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions on_device_training/mobile/ios/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,12 @@ From this directory, run:
pip install -r requirements.txt
```

Then run the following to install onnxruntime-training pip package:

```bash
pip install -i https://aiinfra.pkgs.visualstudio.com/PublicPackages/_packaging/ORT/pypi/simple/ onnxruntime-training-cpu
```

### Generate Artifacts
[Artifacts generation](./artifacts_gen.py) script downloads the model from huggingface and creates the training artifacts in `MyVoice/artifacts`.

Expand Down
8 changes: 7 additions & 1 deletion on_device_training/mobile/ios/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,15 @@
datasets==2.14.0
numpy==1.23.5
onnx==1.14.0
onnxruntime-training==1.16.0
scipy==1.11.1
torch==2.0.1
transformers==4.36.0
librosa==0.10.0.post2
soundfile==0.12.1
cerberus
flatbuffers
h5py
packaging
protobuf
sympy
setuptools>=41.4.0