python3Packages.mlx-lm: 0.26.0 -> 0.26.3

Diff: https://github.com/ml-explore/mlx-lm/compare/v0.26.0...v0.26.3

Changelog: https://github.com/ml-explore/mlx-lm/releases/tag/v0.26.3
This commit is contained in:
Gaetan Lepage 2025-08-18 13:27:10 +02:00
parent 3b9bf641c3
commit 4ebe160b24

View File

@ -2,13 +2,20 @@
lib,
buildPythonPackage,
fetchFromGitHub,
# build-system
setuptools,
# dependencies
jinja2,
mlx,
numpy,
protobuf,
pyyaml,
transformers,
# tests
lm-eval,
sentencepiece,
pytestCheckHook,
writableTmpDirAsHomeHook,
@ -40,9 +47,10 @@ buildPythonPackage rec {
];
nativeCheckInputs = [
writableTmpDirAsHomeHook
lm-eval
pytestCheckHook
sentencepiece
writableTmpDirAsHomeHook
];
pythonImportsCheck = [
@ -62,6 +70,7 @@ buildPythonPackage rec {
"tests/test_prompt_cache.py::TestPromptCache::test_cache_with_generate"
"tests/test_prompt_cache.py::TestPromptCache::test_trim_cache_with_generate"
# RuntimeError: [metal_kernel] No GPU back-end.
"tests/test_losses.py"
"tests/test_models.py::TestModels::test_bitnet"
];