-
Notifications
You must be signed in to change notification settings - Fork 0
ML iOS Deployments
Tyler M edited this page May 6, 2024
·
3 revisions
Pretext: Aiming for a single ML model to forecast across all USGS stations to avoid the costs associated with training and hosting through third-party services.
Deployment Steps:
-
Model Training:
- Train a single model
- Our training CI pipeline outputs a
.h5
model file.
-
Model Conversion and Versioning:
- Use GitHub Actions to automatically convert the
.h5
Keras model to CoreML format. - Increment the app's version number based on the latest release.
- Use GitHub Actions to automatically convert the
-
Release Packaging:
- GitHub Actions packages the CoreML model and creates a new GitHub release with an incremented version number.
-
Release Distribution:
- The iOS app checks for the "latest" release on GitHub.
- Once found, it automatically fetches and integrates the new CoreML model.