Commit 711780ffc for llama.cpp
commit 711780ffc75bbc5645173ed8647a7b3f328c052a
Author: Sigbjørn Skjæret <sigbjorn.skjaeret@huggingface.co>
Date: Thu Oct 15 14:15:55 2026 +0200
ci : bump ty to 0.0.88 (#30587)
* bump ty to 0.0.88
* arange -> linspace.tolist() to pass expected type
diff --git a/.github/workflows/python-type-check.yml b/.github/workflows/python-type-check.yml
index 5be177e9c..8fb4ffd47 100644
--- a/.github/workflows/python-type-check.yml
+++ b/.github/workflows/python-type-check.yml
@@ -35,7 +35,7 @@ jobs:
uses: actions/setup-python@v6
with:
python-version: "3.11"
- pip-install: -r requirements/requirements-all.txt ty==0.0.84
+ pip-install: -r requirements/requirements-all.txt ty==0.0.88
# - name: Type-check with Pyright
# uses: jakebailey/pyright-action@v2
# with:
diff --git a/scripts/server-bench.py b/scripts/server-bench.py
index ce9737148..f0984026c 100755
--- a/scripts/server-bench.py
+++ b/scripts/server-bench.py
@@ -264,7 +264,7 @@ def benchmark(
bin_max = np.ceil(token_t_last) + 1
plt.figure()
- plt.hist(token_t, np.arange(0, bin_max))
+ plt.hist(token_t, np.linspace(0, bin_max, bin_max, endpoint=False).tolist())
plt.xlim(0, bin_max + 1)
plt.title(name or "")
plt.xlabel("Time [s]")