axiom-ios-ml

Convert PyTorch and TensorFlow models to CoreML for on-device iOS inference.

Updated Dec 3, 2025
One-click install
npx skills add https://github.com/tuliopc23/flying-dutchman-app --skill axiom-ios-ml
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: axiom-ios-ml
Source: https://github.com/tuliopc23/flying-dutchman-app/tree/main/.claude/skills/axiom-ios-ml
Command: npx skills add https://github.com/tuliopc23/flying-dutchman-app --skill axiom-ios-ml

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill provides a comprehensive solution for integrating and optimizing machine learning models directly within iOS applications, ensuring privacy, offline functionality, and high performance.

Core Features & Use Cases

  • Model Conversion: Convert models from frameworks like PyTorch and TensorFlow to Apple's Core ML format.
  • On-Device Inference: Deploy and run ML models efficiently on iPhones and iPads.
  • Model Optimization: Compress models using techniques like quantization and pruning to reduce size and improve speed.
  • Speech-to-Text: Implement real-time and file-based transcription using advanced iOS APIs.
  • Use Case: Integrate a custom image recognition model into your app, convert it to Core ML, compress it for faster loading, and ensure it runs smoothly on user devices.

Quick Start

Convert a PyTorch model to CoreML format for on-device deployment.

Frequently Asked Questions about axiom-ios-ml

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I convert a PyTorch or TensorFlow model to CoreML for iOS deployment?

Convert PyTorch or TensorFlow models to CoreML format to enable on-device machine learning inference on iOS devices. This process ensures your trained models can run natively within iOS applications for offline functionality and privacy.

What is the best way to optimize machine learning models for on-device iOS inference?

Optimize on-device iOS inference by compressing machine learning models using quantization and palettization techniques. These methods reduce the overall model size and improve execution speed without significantly degrading prediction accuracy on iPhones and iPads.

Can I run stateful LLM inference with KV-cache on iOS devices?

Stateful LLM inference with KV-cache is supported for iOS devices to facilitate efficient on-device text generation. This mechanism maintains context across interactions while minimizing memory overhead during model execution.

How do I implement speech-to-text transcription in an iOS application?

Implement speech-to-text transcription in iOS applications using the SpeechAnalyzer API to process real-time audio or file-based inputs. This integration provides accurate on-device transcription, ensuring user privacy and offline functionality.

Does converting models to CoreML support custom image recognition workflows?

Converting models to CoreML fully supports custom image recognition workflows for iOS deployment. You can convert your trained model, compress it for faster loading, and execute smooth on-device inference directly within your application.

Why should I use quantization and palettization when deploying ML models on iOS?

Quantization and palettization reduce machine learning model size and accelerate on-device inference speeds on iOS. These compression techniques are essential constraints to overcome strict mobile memory and processing limitations.