Spaces:
Sleeping
Sleeping
mlx-lm depends on mps, while mlx can run on cpu. remove dep. (#7)
Browse files* Fix for external superlink
* mlx-lm depends on mps, while mlx can run on cpu. remove dep.
* update uv.lock
- pyproject.toml +1 -2
- requirements.txt +0 -8
- uv.lock +2 -21
pyproject.toml
CHANGED
|
@@ -15,6 +15,7 @@ dependencies = [
|
|
| 15 |
"evaluate>=0.4.5",
|
| 16 |
"markupsafe==2.1.3",
|
| 17 |
"jinja2>=3.1.6",
|
|
|
|
| 18 |
]
|
| 19 |
|
| 20 |
[tool.uv.sources]
|
|
@@ -70,8 +71,6 @@ convention = "google" # Accepts: "google", "numpy", or "pep257".
|
|
| 70 |
dev = [
|
| 71 |
"cryptography>=44.0.3",
|
| 72 |
"dnspython>=2.8.0",
|
| 73 |
-
"mlx-lm>=0.28.2",
|
| 74 |
-
"mlx[cpu]>=0.29.2",
|
| 75 |
"pytest>=8.4.1",
|
| 76 |
"pytest-mock>=3.15.1",
|
| 77 |
]
|
|
|
|
| 15 |
"evaluate>=0.4.5",
|
| 16 |
"markupsafe==2.1.3",
|
| 17 |
"jinja2>=3.1.6",
|
| 18 |
+
"mlx[cpu]>=0.29.2",
|
| 19 |
]
|
| 20 |
|
| 21 |
[tool.uv.sources]
|
|
|
|
| 71 |
dev = [
|
| 72 |
"cryptography>=44.0.3",
|
| 73 |
"dnspython>=2.8.0",
|
|
|
|
|
|
|
| 74 |
"pytest>=8.4.1",
|
| 75 |
"pytest-mock>=3.15.1",
|
| 76 |
]
|
requirements.txt
DELETED
|
@@ -1,8 +0,0 @@
|
|
| 1 |
-
flwr>=1.20.0
|
| 2 |
-
apscheduler>=3.11.0
|
| 3 |
-
flwr-datasets>=0.5.0
|
| 4 |
-
gradio[oauth]>=5.44.1
|
| 5 |
-
torch>=2.8.0
|
| 6 |
-
transformers>=4.56.1
|
| 7 |
-
scikit-learn>=1.7.1
|
| 8 |
-
evaluate>=0.4.5
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
uv.lock
CHANGED
|
@@ -233,6 +233,7 @@ dependencies = [
|
|
| 233 |
{ name = "gradio", extra = ["oauth"] },
|
| 234 |
{ name = "jinja2" },
|
| 235 |
{ name = "markupsafe" },
|
|
|
|
| 236 |
{ name = "scikit-learn" },
|
| 237 |
{ name = "torch", version = "2.8.0", source = { registry = "https://download.pytorch.org/whl/cpu" }, marker = "sys_platform == 'darwin'" },
|
| 238 |
{ name = "torch", version = "2.8.0+cpu", source = { registry = "https://download.pytorch.org/whl/cpu" }, marker = "sys_platform != 'darwin'" },
|
|
@@ -243,8 +244,6 @@ dependencies = [
|
|
| 243 |
dev = [
|
| 244 |
{ name = "cryptography" },
|
| 245 |
{ name = "dnspython" },
|
| 246 |
-
{ name = "mlx", extra = ["cpu"] },
|
| 247 |
-
{ name = "mlx-lm" },
|
| 248 |
{ name = "pytest" },
|
| 249 |
{ name = "pytest-mock" },
|
| 250 |
]
|
|
@@ -258,6 +257,7 @@ requires-dist = [
|
|
| 258 |
{ name = "gradio", extras = ["oauth"], specifier = ">=5.44.1" },
|
| 259 |
{ name = "jinja2", specifier = ">=3.1.6" },
|
| 260 |
{ name = "markupsafe", specifier = "==2.1.3" },
|
|
|
|
| 261 |
{ name = "scikit-learn", specifier = ">=1.7.1" },
|
| 262 |
{ name = "torch", specifier = ">=2.8.0", index = "https://download.pytorch.org/whl/cpu" },
|
| 263 |
{ name = "transformers", specifier = ">=4.56.1" },
|
|
@@ -267,8 +267,6 @@ requires-dist = [
|
|
| 267 |
dev = [
|
| 268 |
{ name = "cryptography", specifier = ">=44.0.3" },
|
| 269 |
{ name = "dnspython", specifier = ">=2.8.0" },
|
| 270 |
-
{ name = "mlx", extras = ["cpu"], specifier = ">=0.29.2" },
|
| 271 |
-
{ name = "mlx-lm", specifier = ">=0.28.2" },
|
| 272 |
{ name = "pytest", specifier = ">=8.4.1" },
|
| 273 |
{ name = "pytest-mock", specifier = ">=3.15.1" },
|
| 274 |
]
|
|
@@ -1403,23 +1401,6 @@ wheels = [
|
|
| 1403 |
{ url = "https://files.pythonhosted.org/packages/3d/3a/5f2246e0f68477c141b76da3afaabf0b7b8565eba12451482b3b164df762/mlx_cpu-0.29.2-py3-none-manylinux_2_35_x86_64.whl", hash = "sha256:209f6f587ee4bbff3fd18e5201e150880812cef39e1af2c102d7e8e681f06749", size = 10170075, upload-time = "2025-09-26T22:28:40.523Z" },
|
| 1404 |
]
|
| 1405 |
|
| 1406 |
-
[[package]]
|
| 1407 |
-
name = "mlx-lm"
|
| 1408 |
-
version = "0.28.2"
|
| 1409 |
-
source = { registry = "https://pypi.org/simple" }
|
| 1410 |
-
dependencies = [
|
| 1411 |
-
{ name = "jinja2" },
|
| 1412 |
-
{ name = "mlx" },
|
| 1413 |
-
{ name = "numpy" },
|
| 1414 |
-
{ name = "protobuf" },
|
| 1415 |
-
{ name = "pyyaml" },
|
| 1416 |
-
{ name = "transformers" },
|
| 1417 |
-
]
|
| 1418 |
-
sdist = { url = "https://files.pythonhosted.org/packages/1c/d7/fdde445c7bd443a2ed23badda6064f1477c4051543922106f365e94082cd/mlx_lm-0.28.2.tar.gz", hash = "sha256:d28752635ed5c89ff2b41361916c928e6b16f765c07b2908044e1dcaf921ed9b", size = 209374, upload-time = "2025-10-02T14:23:57.497Z" }
|
| 1419 |
-
wheels = [
|
| 1420 |
-
{ url = "https://files.pythonhosted.org/packages/f2/1c/89e0f60d45e364de8507065f73aeb8d2fd810d6cb95a9a512880b09399d5/mlx_lm-0.28.2-py3-none-any.whl", hash = "sha256:1501529e625d0d648216f7bb543b8b449d5fd17bd598f635536dbc1fbde6d1d6", size = 284600, upload-time = "2025-10-02T14:23:56.395Z" },
|
| 1421 |
-
]
|
| 1422 |
-
|
| 1423 |
[[package]]
|
| 1424 |
name = "mlx-metal"
|
| 1425 |
version = "0.29.2"
|
|
|
|
| 233 |
{ name = "gradio", extra = ["oauth"] },
|
| 234 |
{ name = "jinja2" },
|
| 235 |
{ name = "markupsafe" },
|
| 236 |
+
{ name = "mlx", extra = ["cpu"] },
|
| 237 |
{ name = "scikit-learn" },
|
| 238 |
{ name = "torch", version = "2.8.0", source = { registry = "https://download.pytorch.org/whl/cpu" }, marker = "sys_platform == 'darwin'" },
|
| 239 |
{ name = "torch", version = "2.8.0+cpu", source = { registry = "https://download.pytorch.org/whl/cpu" }, marker = "sys_platform != 'darwin'" },
|
|
|
|
| 244 |
dev = [
|
| 245 |
{ name = "cryptography" },
|
| 246 |
{ name = "dnspython" },
|
|
|
|
|
|
|
| 247 |
{ name = "pytest" },
|
| 248 |
{ name = "pytest-mock" },
|
| 249 |
]
|
|
|
|
| 257 |
{ name = "gradio", extras = ["oauth"], specifier = ">=5.44.1" },
|
| 258 |
{ name = "jinja2", specifier = ">=3.1.6" },
|
| 259 |
{ name = "markupsafe", specifier = "==2.1.3" },
|
| 260 |
+
{ name = "mlx", extras = ["cpu"], specifier = ">=0.29.2" },
|
| 261 |
{ name = "scikit-learn", specifier = ">=1.7.1" },
|
| 262 |
{ name = "torch", specifier = ">=2.8.0", index = "https://download.pytorch.org/whl/cpu" },
|
| 263 |
{ name = "transformers", specifier = ">=4.56.1" },
|
|
|
|
| 267 |
dev = [
|
| 268 |
{ name = "cryptography", specifier = ">=44.0.3" },
|
| 269 |
{ name = "dnspython", specifier = ">=2.8.0" },
|
|
|
|
|
|
|
| 270 |
{ name = "pytest", specifier = ">=8.4.1" },
|
| 271 |
{ name = "pytest-mock", specifier = ">=3.15.1" },
|
| 272 |
]
|
|
|
|
| 1401 |
{ url = "https://files.pythonhosted.org/packages/3d/3a/5f2246e0f68477c141b76da3afaabf0b7b8565eba12451482b3b164df762/mlx_cpu-0.29.2-py3-none-manylinux_2_35_x86_64.whl", hash = "sha256:209f6f587ee4bbff3fd18e5201e150880812cef39e1af2c102d7e8e681f06749", size = 10170075, upload-time = "2025-09-26T22:28:40.523Z" },
|
| 1402 |
]
|
| 1403 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1404 |
[[package]]
|
| 1405 |
name = "mlx-metal"
|
| 1406 |
version = "0.29.2"
|