mirror of
https://github.com/open-webui/pipelines.git
synced 2026-07-21 18:15:39 -04:00
[PR #137] [MERGED] enh: Add Valves support to MLX Pipeline #322
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/137
Author: @justinh-rahb
Created: 6/30/2024
Status: ✅ Merged
Merged: 6/30/2024
Merged by: @tjbck
Base:
main← Head:mlx-pipeline-valves📝 Commits (1)
7add7f5Add Valves support📊 Changes
1 file changed (+31 additions, -25 deletions)
View changed files
📝
examples/pipelines/providers/mlx_pipeline.py(+31 -25)📄 Description
Update MLX Pipeline (v1.2)
This PR updates the MLX Pipeline to version 1.2, adding support for the following Valves:
MLX_MODEL: Allows specifying the MLX model to be used in the pipeline.MLX_STOP: Define stop words that will trigger the inference to end.HUGGINGFACE_TOKEN: Enables authentication with the Hugging Face Hub for downloading private models.These new Valves enhance the pipeline's flexibility and functionality, allowing for:
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.