solo-model-shrink
SolidTake a trained neural model to devices — ONNX export, int8 quantization, Core ML conversion, on-device benchmarking, download-on-demand delivery. Use when user says "сожми модель", "quantize the model", "convert to Core ML / ONNX", "model is too big for the app", "run the model on iPhone/Android/web", or an ML feature needs to ship inside a mobile/web app. Do NOT use for training or fine-tuning models, or for LLM API integration (that's app plumbing, not model porting).
Install
Quality Score: 82/100
Skill Content
Details
- Author
- fortunto2
- Repository
- fortunto2/solo-factory
- Created
- 7 months ago
- Last Updated
- 1 weeks ago
- Language
- Shell
- License
- MIT
Bundled in these plugins
Similar Skills
Semantically similar based on skill content — not just same category
shipping-a-model-in-an-ios-app
Put a local language model inside a native iOS or macOS app written in Swift. Covers MLX on Apple silicon, Core ML conversion, llama.cpp via a Swift wrapper, choosing between them, app binary size and memory limits, background and memory-pressure behaviour, and whether to bundle the model or download it on first run. Also covers when Apple Foundation Models is the better answer than shipping your own. Use when the project is native Swift for iOS, iPadOS or macOS and someone wants on-device or offline AI or local inference. Not for React Native or Expo projects, not for Android native Kotlin projects, not for Flutter, and not for models running on a server.
onnx-quantize-tflm
Take a trained neural network to a microcontroller or edge target. Covers post-training INT8 quantisation of ONNX models with real calibration data, TFLite full-integer conversion, choosing calibration sets, diagnosing accuracy loss, flash and tensor-arena budgeting, the TFLite Micro C++ setup with MicroMutableOpResolver, and CMSIS-NN acceleration. Use when quantising or converting a model, when deploying to a Cortex-M, STM32, ESP32, Arduino or other MCU, when a model is too large or too slow for a device, when accuracy drops after quantisation, when sizing a tensor arena, or when a TFLite Micro interpreter fails to allocate or invoke. Not for training the model, and not for server-side inference optimisation.
shipping-a-model-in-a-react-native-app
Put a local language model inside a React Native or Expo app and get it generating on device. Covers react-native-executorch for .pte models and llama.rn for GGUF models, choosing between them, native build configuration and model loading, streaming answers into the UI as tokens arrive, and whether to bundle the model in the binary or download it on first run. Use when the project is React Native or Expo and someone wants on-device or offline AI, local inference, or a model running without an API. Not for iOS native Swift projects, not for Android native Kotlin projects, not for Flutter, and not for models running on a server.