langchain/libs/community/langchain_community
Jean-Philippe Dournel ebe38baaf9
community/mlx_pipeline: fix crash at mlx call (#29915)
- **Description:** 
Since mlx_lm 0.20, all calls to mlx crash due to deprecation of the way
parameters are passed to methods generate and generate_step.
Parameters top_p, temp, repetition_penalty and repetition_context_size
are not passed directly to those method anymore but wrapped into
"sampler" and "logit_processor".


- **Dependencies:** mlx_lm (optional)

-  **Tests:** 
I've had a new test to existing test file:
tests/integration_tests/llms/test_mlx_pipeline.py

---------

Co-authored-by: Jean-Philippe Dournel <jp@insightkeeper.io>
2025-02-21 09:14:53 -05:00
..
adapters community: Add the additonnal kward 'context' for openai (#28351) 2024-12-02 16:43:30 -05:00
agent_toolkits [WIP] chore: update ElevenLabs tool. (#29722) 2025-02-13 01:54:34 +00:00
agents community: add truncation params when an openai assistant's run is created (#28158) 2024-11-27 10:53:53 -05:00
callbacks community: Bump ruff version to 0.9 (#29206) 2025-02-08 01:21:10 +00:00
chains community: Bump ruff version to 0.9 (#29206) 2025-02-08 01:21:10 +00:00
chat_loaders community: Bump ruff version to 0.9 (#29206) 2025-02-08 01:21:10 +00:00
chat_message_histories community: Bump ruff version to 0.9 (#29206) 2025-02-08 01:21:10 +00:00
chat_models community/mlx_pipeline: fix crash at mlx call (#29915) 2025-02-21 09:14:53 -05:00
cross_encoders multiple: pydantic 2 compatibility, v0.3 (#26443) 2024-09-13 14:38:45 -07:00
docstore infra: update mypy 1.10, ruff 0.5 (#23721) 2024-07-03 10:33:27 -07:00
document_compressors Community: RankLLMRerank AttributeError (Handle list-based rerank results) (#29840) 2025-02-20 12:38:31 -05:00
document_loaders community: ConfluenceLoader: add a filter method for attachments (#29882) 2025-02-19 18:20:45 -05:00
document_transformers community: fallback on core async atransform_documents method for MarkdownifyTransformer (#27866) 2024-12-13 22:32:22 +00:00
embeddings community: Bump ruff version to 0.9 (#29206) 2025-02-08 01:21:10 +00:00
example_selectors multiple: pydantic 2 compatibility, v0.3 (#26443) 2024-09-13 14:38:45 -07:00
graph_vectorstores core: add kwargs support to VectorStore (#25934) 2024-12-16 18:57:57 +00:00
graphs community: Bump ruff version to 0.9 (#29206) 2025-02-08 01:21:10 +00:00
indexes community: Bump ruff version to 0.9 (#29206) 2025-02-08 01:21:10 +00:00
llms community/mlx_pipeline: fix crash at mlx call (#29915) 2025-02-21 09:14:53 -05:00
memory community: Bump ruff version to 0.9 (#29206) 2025-02-08 01:21:10 +00:00
output_parsers multiple: pydantic 2 compatibility, v0.3 (#26443) 2024-09-13 14:38:45 -07:00
query_constructors community: refactor opensearch query constructor to use wildcard instead of match in the contain comparator (#26653) 2024-12-16 11:16:34 -05:00
retrievers weaviate: Add-deprecation-warning (#29757) 2025-02-16 21:42:18 -05:00
storage community: Bump ruff version to 0.9 (#29206) 2025-02-08 01:21:10 +00:00
tools (Community): Added API Key for Jina Search API Wrapper (#29622) 2025-02-12 20:12:07 -08:00
utilities community: Made some Jira fields optional for agent to work correctly (#29876) 2025-02-20 12:10:11 -05:00
utils community: Use Blockbuster to detect blocking calls in asyncio during tests (#29609) 2025-02-08 01:10:39 +00:00
vectorstores partners: add langchain-vdms (#29857) 2025-02-20 19:48:46 -05:00
__init__.py infra: update mypy 1.10, ruff 0.5 (#23721) 2024-07-03 10:33:27 -07:00
cache.py cosmosdbnosql: Added Cosmos DB NoSQL Semantic Cache Integration with tests and jupyter notebook (#24424) 2024-12-16 21:57:05 -05:00
py.typed