mirror of
https://github.com/open-webui/pipelines.git
synced 2026-11-05 01:37:24 +00:00
[PR #2] [MERGED] Add MLX-LM Server example #283
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
open-webui/pipelines#283
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
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.