From 54e83986e3d5ccfacbc42028ff4a01aaae180fd3 Mon Sep 17 00:00:00 2001 From: Justin Hayes <52832301+justinh-rahb@users.noreply.github.com> Date: Wed, 3 Jul 2024 11:06:22 -0400 Subject: [PATCH] Fix: make some MLX valves optional --- examples/pipelines/providers/mlx_manifold_pipeline.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/pipelines/providers/mlx_manifold_pipeline.py b/examples/pipelines/providers/mlx_manifold_pipeline.py index 86dfb43..02b30ca 100644 --- a/examples/pipelines/providers/mlx_manifold_pipeline.py +++ b/examples/pipelines/providers/mlx_manifold_pipeline.py @@ -23,9 +23,9 @@ class Pipeline: MLX_DEFAULT_MODEL: str = "mlx-community/Meta-Llama-3-8B-Instruct-8bit" MLX_MODEL_FILTER: str = "mlx-community" MLX_STOP: str = "<|start_header_id|>,<|end_header_id|>,<|eot_id|>" - MLX_CHAT_TEMPLATE: str = "" - MLX_USE_DEFAULT_CHAT_TEMPLATE: bool = False - HUGGINGFACE_TOKEN: str = "" + MLX_CHAT_TEMPLATE: str | None = None + MLX_USE_DEFAULT_CHAT_TEMPLATE: bool | None = None + HUGGINGFACE_TOKEN: str | None = None def __init__(self): # Pipeline identification