You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Documentation proposal: Phi MLX local API serving on Apple Silicon with Rapid-MLX #606
Not a runtime bug. The existing MLX inference chapter covers in-process generation and quantization. I propose a separate, optional section showing how a local Phi MLX model becomes an API backend for an application on the same Mac.
I maintain Rapid-MLX. Our pinned catalog includes phi-4-mini-4bit, phi-4-14b-4bit, phi-4-mini-reasoning-4bit and phi-3.5-mini-4bit. These map to third-party MLX conversions of Microsoft models; they are not Microsoft-published conversions.
Any log messages given by the failure
Not applicable: documentation scope proposal, no failure claimed.
Expected/desired behavior
A narrowly scoped Apple Silicon recipe, initially for phi-4-mini-4bit, would cover:
Discovering the actual served model ID at /v1/models and sending one basic /v1/chat/completions request.
Connecting an existing custom-endpoint client, with an explicit note that its backend must be able to reach the Mac; container localhost is different.
Recording exact model revision, package versions, host/RAM and results before publication. Basic chat and streaming should be tested independently. Tool support should not be implied from the URL or catalog entry.
This adds a serving/application step while retaining the existing mlx-lm walkthrough. It would be a Markdown recipe for macOS, not a CUDA/Colab example or a new inference implementation. Would this fit alongside the MLX chapter?
OS and Version?
Target: Apple Silicon macOS. No fresh test host/version is claimed for this proposal.
azd version?
Not applicable.
Versions
Scope checked against Rapid-MLX catalog commit 4d5ac49d9a5f82574db78df48d6965f05b2d1c51; a final recipe needs a pinned runtime execution. No live Phi inference was run for this submission.
Mention any other details that might be useful
AI-assisted proposal submitted under the project owner's direction. Affiliation is disclosed above. Rapid-MLX has anonymous metadata telemetry enabled by default; DO_NOT_TRACK=1 disables it. Model licenses remain separate from the runtime license. No Microsoft endorsement, performance comparison or new CLA agreement is implied.
Activity