mlx-lm move notice (#1346)

* mlx-lm move notice

* remove mlx lm tests
This commit is contained in:
Awni Hannun 2025-03-16 15:14:28 -07:00 committed by GitHub
parent 2fce02acd8
commit d9e1d9c0ef
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 16 additions and 28 deletions

View File

@ -17,30 +17,6 @@ jobs:
pre-commit run --all 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 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: workflows:
build_and_test: build_and_test:
when: when:
@ -48,7 +24,6 @@ workflows:
pattern: "^(?!pull/)[-\\w]+$" pattern: "^(?!pull/)[-\\w]+$"
value: << pipeline.git.branch >> value: << pipeline.git.branch >>
jobs: jobs:
- mlx_lm_build_and_test
- linux_build_and_test - linux_build_and_test
prb: prb:

View File

@ -4,12 +4,12 @@ This repo contains a variety of standalone examples using the [MLX
framework](https://github.com/ml-explore/mlx). framework](https://github.com/ml-explore/mlx).
The [MNIST](mnist) example is a good starting point to learn how to use MLX. The [MNIST](mnist) example is a good starting point to learn how to use MLX.
Some more useful examples are listed below. Check-out [MLX
Some more useful examples are listed below. LM](https://github.com/ml-explore/mlx-lm) for a more fully featured Python
package for LLMs with MLX.
### Text Models ### Text Models
- [MLX LM](llms/README.md) a package for LLM text generation, fine-tuning, and more.
- [Transformer language model](transformer_lm) training. - [Transformer language model](transformer_lm) training.
- Minimal examples of large scale text generation with [LLaMA](llms/llama), - Minimal examples of large scale text generation with [LLaMA](llms/llama),
[Mistral](llms/mistral), and more in the [LLMs](llms) directory. [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). - Speech recognition with [OpenAI's Whisper](whisper).
- Audio compression and generation with [Meta's EnCodec](encodec). - Audio compression and generation with [Meta's EnCodec](encodec).
- Music generation with [Meta's MusicGen](musicgen).
### Multimodal models ### Multimodal models

View File

@ -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 ## Generate Text with LLMs and MLX
The easiest way to get started is to install the `mlx-lm` package: The easiest way to get started is to install the `mlx-lm` package:

View File

@ -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 ## Generate Text with MLX and :hugs: Hugging Face
This an example of large language model text generation that can pull models from This an example of large language model text generation that can pull models from