[PR #119] [MERGED] Add macOS Apple Silicon MLX sidecar backend #4472

Closed
opened 2026-10-22 04:07:55 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/119
Author: @ghost
Created: 4/19/2026
Status: ✅ Merged
Merged: 4/19/2026
Merged by: @SpicyMarinara

Base: main ← Head: fix/arch-linux-sidecar-gguf


📝 Commits (2)

  • a9c396b initial linux fix (possible)
  • 5f35500 Merge branch 'Pasta-Devs:main' into fix/arch-linux-sidecar-gguf

📊 Changes

2 files changed (+148 additions, -41 deletions)

View changed files

📝 packages/server/src/services/sidecar/sidecar-process.service.ts (+147 -40)
📝 packages/shared/src/types/sidecar.ts (+1 -1)

📄 Description

Summary

This PR adds a macOS Apple Silicon-only MLX backend for Marinara's local sidecar.

  • switches the built-in local model path on darwin/arm64 from llama.cpp presets to MLX-native Hugging Face repos
  • bootstraps a private uv install automatically and keeps the managed Python runtime, venv, and caches inside Marinara's sidecar data directory
  • adds a dedicated MLX runtime service and wires sidecar startup/readiness around mlx_lm.server
  • updates onboarding/status UI to reflect MLX-backed local models on Apple Silicon
  • changes custom Hugging Face models on Apple Silicon to MLX-native repos only
  • leaves Linux, Windows, and other non-macOS paths unchanged

Notes

  • the Apple Silicon path now stores custom models as MLX repo IDs instead of local GGUF files
  • custom repo validation rejects GGUF repos on Apple Silicon
  • the sidecar still uses a localhost OpenAI-compatible server interface, just with an MLX backend on macOS arm64

Verification

  • pnpm lint
  • pnpm build

Known Limits

  • not live-tested on real macOS Apple Silicon hardware in this environment
  • verification here is limited to type-check/build coverage and integration logic

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Pasta-Devs/Marinara-Engine/pull/119 **Author:** [@ghost](https://github.com/ghost) **Created:** 4/19/2026 **Status:** ✅ Merged **Merged:** 4/19/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `main` ← **Head:** `fix/arch-linux-sidecar-gguf` --- ### 📝 Commits (2) - [`a9c396b`](https://github.com/Pasta-Devs/Marinara-Engine/commit/a9c396b4bc7e6155b76a83361bcd8779801dafc8) initial linux fix (possible) - [`5f35500`](https://github.com/Pasta-Devs/Marinara-Engine/commit/5f355008c839834a87764a037af30ca1309e8006) Merge branch 'Pasta-Devs:main' into fix/arch-linux-sidecar-gguf ### 📊 Changes **2 files changed** (+148 additions, -41 deletions) <details> <summary>View changed files</summary> 📝 `packages/server/src/services/sidecar/sidecar-process.service.ts` (+147 -40) 📝 `packages/shared/src/types/sidecar.ts` (+1 -1) </details> ### 📄 Description ## Summary This PR adds a macOS Apple Silicon-only MLX backend for Marinara's local sidecar. - switches the built-in local model path on `darwin/arm64` from `llama.cpp` presets to MLX-native Hugging Face repos - bootstraps a private `uv` install automatically and keeps the managed Python runtime, venv, and caches inside Marinara's sidecar data directory - adds a dedicated MLX runtime service and wires sidecar startup/readiness around `mlx_lm.server` - updates onboarding/status UI to reflect MLX-backed local models on Apple Silicon - changes custom Hugging Face models on Apple Silicon to MLX-native repos only - leaves Linux, Windows, and other non-macOS paths unchanged ## Notes - the Apple Silicon path now stores custom models as MLX repo IDs instead of local GGUF files - custom repo validation rejects GGUF repos on Apple Silicon - the sidecar still uses a localhost OpenAI-compatible server interface, just with an MLX backend on macOS arm64 ## Verification - `pnpm lint` - `pnpm build` ## Known Limits - not live-tested on real macOS Apple Silicon hardware in this environment - verification here is limited to type-check/build coverage and integration logic --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-22 04:07:55 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Engine#4472
No description provided.