Skip to content

FreeToken brings datacenter-scale model serving to your desktop. Run massive models locally, fast and efficiently.

build(deps): move to flashlib 0.4.0 and drop the numpy<2.5 cap (#669)

Xiaoze Fan9c635a157798
diff --git a/pyproject.toml b/pyproject.toml
index 95b872f5..b308045f 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -39,13 +39,12 @@ dependencies = [
"einops>=0.8,<1",
"fastapi>=0.115,<1",
# slot_cache: the device-side LRU admission kernel behind the MoE expert cache.
- "flashlib==0.3.0", # pin it
+ "flashlib==0.4.0", # pin it
"gguf>=0.19,<1",
"huggingface_hub>=1.5,<2",
"msgpack>=1.1,<2",
"modelscope>=1.37,<2",
- # ceiling: numba (via flashlib) needs numpy<2.5
- "numpy>=2.0,<2.5",
+ "numpy>=2.0,<3",
"openai>=2.0,<3",
"partial-json-parser>=0.2,<1",
"pillow>=10,<13",