@runanywhere/mlx
v0.20.27
Published
Apple MLX backend registration for the RunAnywhere React Native SDK
Maintainers
Readme
@runanywhere/mlx
Apple MLX backend registration for the RunAnywhere React Native SDK — iOS-only; model lifecycle and inference live in @runanywhere/core.
Installation
npm install @runanywhere/[email protected] @runanywhere/[email protected]
cd ios && pod install && cd ..Requires Xcode 26+ and a physical iOS 17.5+ device. MLX.register() returns false on simulator. See the React Native SDK README.
Usage
import { RunAnywhere } from '@runanywhere/core';
import { MLX } from '@runanywhere/mlx';
const registered = await MLX.register();
if (registered) {
await RunAnywhere.initialize();
// Register, download, load, and infer via @runanywhere/core
}See the React Native SDK README for full examples.
Support
License
RunAnywhere License. See LICENSE.
