From d9e1d9c0ef385ef2099997a9c95705b52fed9916 Mon Sep 17 00:00:00 2001 From: Awni Hannun Date: Sun, 16 Mar 2025 15:14:28 -0700 Subject: [PATCH] mlx-lm move notice (#1346) * mlx-lm move notice * remove mlx lm tests --- .circleci/config.yml | 25 ------------------------- README.md | 7 ++++--- llms/README.md | 6 ++++++ llms/mlx_lm/README.md | 6 ++++++ 4 files changed, 16 insertions(+), 28 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 8367281e..42a39194 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -17,30 +17,6 @@ jobs: pre-commit run --all if ! git diff --quiet; then echo 'Style checks failed, please install pre-commit and run pre-commit run --all and push the change'; exit 1; fi - mlx_lm_build_and_test: - macos: - xcode: "15.2.0" - resource_class: macos.m1.large.gen1 - steps: - - checkout - - run: - name: Install dependencies - command: | - brew install python@3.9 - python3.9 -m venv env - source env/bin/activate - pip install --upgrade pip - pip install unittest-xml-reporting - cd llms/ - pip install -e ".[test]" - - run: - name: Run Python tests - command: | - source env/bin/activate - python -m xmlrunner discover -v llms/tests -o test-results/ - - store_test_results: - path: test-results - workflows: build_and_test: when: @@ -48,7 +24,6 @@ workflows: pattern: "^(?!pull/)[-\\w]+$" value: << pipeline.git.branch >> jobs: - - mlx_lm_build_and_test - linux_build_and_test prb: diff --git a/README.md b/README.md index e47bd598..9b88bd34 100644 --- a/README.md +++ b/README.md @@ -4,12 +4,12 @@ This repo contains a variety of standalone examples using the [MLX framework](https://github.com/ml-explore/mlx). The [MNIST](mnist) example is a good starting point to learn how to use MLX. - -Some more useful examples are listed below. +Some more useful examples are listed below. Check-out [MLX +LM](https://github.com/ml-explore/mlx-lm) for a more fully featured Python +package for LLMs with MLX. ### Text Models -- [MLX LM](llms/README.md) a package for LLM text generation, fine-tuning, and more. - [Transformer language model](transformer_lm) training. - Minimal examples of large scale text generation with [LLaMA](llms/llama), [Mistral](llms/mistral), and more in the [LLMs](llms) directory. @@ -30,6 +30,7 @@ Some more useful examples are listed below. - Speech recognition with [OpenAI's Whisper](whisper). - Audio compression and generation with [Meta's EnCodec](encodec). +- Music generation with [Meta's MusicGen](musicgen). ### Multimodal models diff --git a/llms/README.md b/llms/README.md index e2d1db59..c9283a0d 100644 --- a/llms/README.md +++ b/llms/README.md @@ -1,3 +1,9 @@ +# DEPRECATED + +The mlx-lm package has moved to a [new repo](https://github.com/ml-explore/mlx-lm). + +The package here will be removed soon. Send new contributions and issues to the MLX LM repo. + ## Generate Text with LLMs and MLX The easiest way to get started is to install the `mlx-lm` package: diff --git a/llms/mlx_lm/README.md b/llms/mlx_lm/README.md index 66f2b5e9..fd11a8f2 100644 --- a/llms/mlx_lm/README.md +++ b/llms/mlx_lm/README.md @@ -1,3 +1,9 @@ +# DEPRECATED + +The mlx-lm package has moved to a [new repo](https://github.com/ml-explore/mlx-lm). + +The package here will be removed soon. Send new contributions and issues to the MLX LM repo. + ## Generate Text with MLX and :hugs: Hugging Face This an example of large language model text generation that can pull models from