Open
Conversation
dadmobile
reviewed
Mar 3, 2026
interactive-gallery.json
Outdated
| "name": "MLX LM Server", | ||
| "description": "MLX LM OpenAI-compatible inference server for Apple Silicon (plus Open WebUI)", | ||
| "setup": "if ! command -v uv >/dev/null 2>&1; then curl -LsSf https://astral.sh/uv/install.sh | sh; fi && export PATH=\"$HOME/.local/bin:$HOME/.cargo/bin:$PATH\" && uv venv ~/mlx-lm-venv --seed --python 3.11 && . ~/mlx-lm-venv/bin/activate && uv pip install \"mlx-lm>=0.28.3\" open-webui", | ||
| "command": "ADAPTER_FLAG=''; if [ -n \"$ADAPTER_PATH\" ]; then ADAPTER_FLAG=\"--adapter-path $ADAPTER_PATH\"; fi; ~/mlx-lm-venv/bin/python -m mlx_lm.server --model $MODEL_NAME $ADAPTER_FLAG --host 0.0.0.0 --port 8000 > /tmp/mlx-lm.log 2>&1 & sleep 5 && OPENAI_API_BASE_URL=http://127.0.0.1:8000/v1 OPENAI_API_KEY=dummy WEBUI_AUTH=false ~/mlx-lm-venv/bin/open-webui serve --host 0.0.0.0 --port 8080 > /tmp/openwebui.log 2>&1 & sleep 5 && echo 'Local MLX LM API: http://localhost:8000' && echo 'Local Open WebUI: http://localhost:8080' && tail -f /tmp/mlx-lm.log /tmp/openwebui.log", |
Member
There was a problem hiding this comment.
Is there a reason to use port 8000? I know we probably aren't going to be running on a server with other things but that port gets used by vllm.
Contributor
Author
There was a problem hiding this comment.
Changed it to 8001
dadmobile
requested changes
Mar 3, 2026
interactive/interactive.json
Outdated
| "password": true | ||
| } | ||
| ], | ||
| "icon": "https://github.com/ml-explore/mlx-lm.png", |
Member
There was a problem hiding this comment.
This doesn't seem to be working?
Member
There was a problem hiding this comment.
(Like the URL 404s. Although github is having issues today.)
Member
|
Are we still moving forward wtih this one? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.