mirror of
https://github.com/ml-explore/mlx-examples.git
synced 2025-06-24 09:21:18 +08:00
remove mlx lm tests
This commit is contained in:
parent
31581d8df0
commit
4b3870b89e
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user