mirror of
https://github.com/open-webui/pipelines.git
synced 2026-07-21 01:55:22 -04:00
[PR #2] [MERGED] Add MLX-LM Server example #276
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/open-webui/pipelines/pull/2
Author: @justinh-rahb
Created: 5/22/2024
Status: ✅ Merged
Merged: 5/22/2024
Merged by: @tjbck
Base:
main← Head:mlx-lm📝 Commits (9)
9d9712dAdd MLX-LM Server example9f4803aMove to examplese263648Add metadata header830ae49Fix depends940d91cHandle more params46f4aa1Adjust default params45cba3dFixbd2ea92Refac meta7556800Refac meta📊 Changes
1 file changed (+112 additions, -0 deletions)
View changed files
➕
pipelines/examples/mlx_pipeline.py(+112 -0)📄 Description
Adds a pipeline that uses the MLX-LM library and HTTP server:
https://github.com/ml-explore/mlx-examples/blob/main/llms/mlx_lm/SERVER.md
This pipeline starts the server and loads a model from the
MLX_MODELenvironment variable (default:mistralai/Mistral-7B-Instruct-v0.2)Requires:
Also: FIRST!
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.