Skip to content

armgit / sie

Public Imported from GitHub
0

Open-source inference server and production cluster for all the models your agent needs.

release: v0.4.1

github-actions[bot]de6e3a913740
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 3f0700174..2958de568 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,16 @@
# Changelog
+## v0.4.1
+
+- chore(main): release 0.4.1
+- fix(security): resolve 18 open CodeQL alerts
+- Revert "Fix pool queue batching coalescing"
+- Fix pool queue batching coalescing
+- refactor(release-docker): remove sie-deps prebake; build deps in-band
+- fix: refresh generation pool fallback on hot add
+- fix: isolate generation direct dispatch
+- feat(server): add Qwen3.6-27B model + migrate to CUDA 12.9
+
## v0.4.0
- chore(main): release 0.4.0
diff --git a/deploy/helm/sie-cluster/Chart.yaml b/deploy/helm/sie-cluster/Chart.yaml
index 7b864d40b..8ff77e553 100644
--- a/deploy/helm/sie-cluster/Chart.yaml
+++ b/deploy/helm/sie-cluster/Chart.yaml
@@ -4,8 +4,8 @@ description: >-
SIE (Search Inference Engine) Kubernetes deployment with gateway, GPU workers,
and observability
type: application
-version: 0.4.0 # x-release-please-version
-appVersion: v0.4.0 # x-release-please-version
+version: 0.4.1 # x-release-please-version
+appVersion: v0.4.1 # x-release-please-version
keywords:
- inference
- embedding
diff --git a/integrations/sie_chroma/pyproject.toml b/integrations/sie_chroma/pyproject.toml
index f803de02a..9f107caaf 100644
--- a/integrations/sie_chroma/pyproject.toml
+++ b/integrations/sie_chroma/pyproject.toml
@@ -1,6 +1,6 @@
[project]
name = "sie-chroma"
-version = "0.4.0"
+version = "0.4.1"
description = "SIE integration for ChromaDB"
readme = "README.md"
requires-python = ">=3.10"
diff --git a/integrations/sie_crewai/pyproject.toml b/integrations/sie_crewai/pyproject.toml
index b3e72bfb3..26e3eb1c9 100644
--- a/integrations/sie_crewai/pyproject.toml
+++ b/integrations/sie_crewai/pyproject.toml
@@ -1,6 +1,6 @@
[project]
name = "sie-crewai"
-version = "0.4.0"
+version = "0.4.1"
description = "SIE integration for CrewAI"
readme = "README.md"
requires-python = ">=3.10"
diff --git a/integrations/sie_dspy/pyproject.toml b/integrations/sie_dspy/pyproject.toml
index bd258ba55..43aed4cbf 100644
--- a/integrations/sie_dspy/pyproject.toml
+++ b/integrations/sie_dspy/pyproject.toml
@@ -1,6 +1,6 @@
[project]
name = "sie-dspy"
-version = "0.4.0"
+version = "0.4.1"
description = "SIE integration for DSPy"
readme = "README.md"
requires-python = ">=3.10"
diff --git a/integrations/sie_haystack/pyproject.toml b/integrations/sie_haystack/pyproject.toml
index 5b00a972b..50f27cf3a 100644
--- a/integrations/sie_haystack/pyproject.toml
+++ b/integrations/sie_haystack/pyproject.toml
@@ -1,6 +1,6 @@
[project]
name = "sie-haystack"
-version = "0.4.0"
+version = "0.4.1"
description = "SIE integration for Haystack"
readme = "README.md"
requires-python = ">=3.10"
diff --git a/integrations/sie_lancedb/pyproject.toml b/integrations/sie_lancedb/pyproject.toml
index 1f3d01aca..f0bb3709e 100644
--- a/integrations/sie_lancedb/pyproject.toml
+++ b/integrations/sie_lancedb/pyproject.toml
@@ -1,6 +1,6 @@
[project]
name = "sie-lancedb"
-version = "0.4.0"
+version = "0.4.1"
description = "SIE integration for LanceDB"
requires-python = ">=3.12"
dependencies = [
diff --git a/integrations/sie_langchain/pyproject.toml b/integrations/sie_langchain/pyproject.toml
index 22f8b9101..63231b7d8 100644
--- a/integrations/sie_langchain/pyproject.toml
+++ b/integrations/sie_langchain/pyproject.toml
@@ -1,6 +1,6 @@
[project]
name = "sie-langchain"
-version = "0.4.0"
+version = "0.4.1"
description = "SIE integration for LangChain"
requires-python = ">=3.10"
dependencies = [
diff --git a/integrations/sie_llamaindex/pyproject.toml b/integrations/sie_llamaindex/pyproject.toml
index cdd2ebdbd..2ebc960e4 100644
--- a/integrations/sie_llamaindex/pyproject.toml
+++ b/integrations/sie_llamaindex/pyproject.toml
@@ -1,6 +1,6 @@
[project]
name = "sie-llamaindex"
-version = "0.4.0"
+version = "0.4.1"
description = "SIE integration for LlamaIndex"
requires-python = ">=3.10"
dependencies = [
diff --git a/integrations/sie_qdrant/pyproject.toml b/integrations/sie_qdrant/pyproject.toml
index 5a85776e9..6529040de 100644
--- a/integrations/sie_qdrant/pyproject.toml
+++ b/integrations/sie_qdrant/pyproject.toml
@@ -1,6 +1,6 @@
[project]
name = "sie-qdrant"
-version = "0.4.0"
+version = "0.4.1"
description = "SIE integration for Qdrant"
readme = "README.md"
requires-python = ">=3.10"
diff --git a/integrations/sie_ts_chroma/package.json b/integrations/sie_ts_chroma/package.json
index 0c463d83c..772331cec 100644
--- a/integrations/sie_ts_chroma/package.json
+++ b/integrations/sie_ts_chroma/package.json
@@ -1,6 +1,6 @@
{
"name": "@superlinked/sie-chroma",
- "version": "0.4.0",
+ "version": "0.4.1",
"description": "SIE embedding function for ChromaDB",
"type": "module",
"main": "./dist/index.cjs",
diff --git a/integrations/sie_ts_lancedb/package.json b/integrations/sie_ts_lancedb/package.json
index 609676735..5c5eac0ca 100644
--- a/integrations/sie_ts_lancedb/package.json
+++ b/integrations/sie_ts_lancedb/package.json
@@ -1,6 +1,6 @@
{
"name": "@superlinked/sie-lancedb",
- "version": "0.4.0",
+ "version": "0.4.1",
"description": "SIE embedding function and reranker for LanceDB",
"type": "module",
"main": "./dist/index.cjs",
diff --git a/integrations/sie_ts_langchain/package.json b/integrations/sie_ts_langchain/package.json
index 0f0f2924a..4bcb1010b 100644
--- a/integrations/sie_ts_langchain/package.json
+++ b/integrations/sie_ts_langchain/package.json
@@ -1,6 +1,6 @@
{
"name": "@superlinked/sie-langchain",
- "version": "0.4.0",
+ "version": "0.4.1",
"description": "SIE embeddings integration for LangChain.js",
"type": "module",
"main": "./dist/index.cjs",
diff --git a/integrations/sie_ts_llamaindex/package.json b/integrations/sie_ts_llamaindex/package.json
index f90b22429..649671e9f 100644
--- a/integrations/sie_ts_llamaindex/package.json
+++ b/integrations/sie_ts_llamaindex/package.json
@@ -1,6 +1,6 @@
{
"name": "@superlinked/sie-llamaindex",
- "version": "0.4.0",
+ "version": "0.4.1",
"description": "SIE embeddings integration for LlamaIndex.TS",
"type": "module",
"main": "./dist/index.cjs",
diff --git a/integrations/sie_weaviate/pyproject.toml b/integrations/sie_weaviate/pyproject.toml
index 97409cc52..c87686c56 100644
--- a/integrations/sie_weaviate/pyproject.toml
+++ b/integrations/sie_weaviate/pyproject.toml
@@ -1,6 +1,6 @@
[project]
name = "sie-weaviate"
-version = "0.4.0"
+version = "0.4.1"
description = "SIE integration for Weaviate"
readme = "README.md"
requires-python = ">=3.10"
diff --git a/packages/sie_gateway/Cargo.lock b/packages/sie_gateway/Cargo.lock
index 2582fff67..a8dc2da15 100644
--- a/packages/sie_gateway/Cargo.lock
+++ b/packages/sie_gateway/Cargo.lock
@@ -2949,7 +2949,7 @@ checksum = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64"
[[package]]
name = "sie-gateway"
-version = "0.4.0"
+version = "0.4.1"
dependencies = [
"arc-swap",
"async-nats",
diff --git a/packages/sie_gateway/Cargo.toml b/packages/sie_gateway/Cargo.toml
index 056d6dab8..938e4dd7c 100644
--- a/packages/sie_gateway/Cargo.toml
+++ b/packages/sie_gateway/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "sie-gateway"
-version = "0.4.0"
+version = "0.4.1"
edition = "2021"
publish = false
diff --git a/packages/sie_gateway/docs/architecture-guide.md b/packages/sie_gateway/docs/architecture-guide.md
index c13934d6b..f7e1363ec 100644
--- a/packages/sie_gateway/docs/architecture-guide.md
+++ b/packages/sie_gateway/docs/architecture-guide.md
@@ -278,7 +278,8 @@ Per-subject transport:
| Path | Subject pattern | Transport | Notes |
|---|---|---|---|
-| Inference work | `sie.work.{model}.{pool}` | JetStream | Durability and max-delivery semantics required. Work-item payload is msgpack. One stream per pool (`WORK_POOL_{pool}`) captures all models; see §8.2. |
+| Inference work (`encode` / `score` / `extract`) | `sie.work.{model}.{pool}` | JetStream | Durability and max-delivery semantics required. Work-item payload is msgpack. One stream per pool (`WORK_POOL_{pool}`) captures all non-generation work for the pool; see §8.2. |
+| Generation direct-dispatch | `sie.work.{model}.{pool}.{worker_id}` | JetStream | Worker-specific stream used only by pools that host generation-capable models. Non-generation workers must not create or poll this stream; keeping them pool-only preserves queue batching for `encode` / `score` / `extract`. |
| Inference results | `_INBOX.{router_id}.{request_id}` | NATS Core | Gateway is waiting synchronously; a brief blip after publish but before delivery means the result is lost and the client retries (the gateway returns `503` with `X-SIE-Error-Code: MODEL_LOADING` and `Retry-After: 5` — see §2). Result payload is msgpack. |
| Config deltas | `sie.config.models.{bundle}`, `sie.config.models._all` | NATS Core | Lightweight fan-out. Durability comes from the snapshot/export path (§4), not the bus. JSON payload (control plane, not hot path). Workers subscribe per-bundle; the gateway subscribes on `_all`. |
| Worker health | `sie.health.>` | NATS Core | Ephemeral, last-heartbeat-wins. The gateway subscribes in `health_mode=nats` (see `discovery/nats_health.rs`); the **default `health_mode=ws`** uses the WebSocket path, and a NATS-mode publisher is not present in the current worker code. Until a worker-side publisher is added, NATS health mode is effectively a no-op consumer. |
@@ -304,6 +305,8 @@ The stream's subject filter `sie.work.*.{pool}` matches **exactly one token** in
To prevent that, the Rust gateway's `work_subject(model, pool)` in `packages/sie_gateway/src/queue/publisher.rs` calls a private `normalize_model_id` helper that mirrors the Python SDK (`sie_sdk.queue_types.normalize_model_id`): `/` → `__`, `.` → `_dot_`, and `*`/`>`/space → `_`. So `vidore/colqwen2.5-v0.2` publishes on `sie.work.vidore__colqwen2_dot_5-v0_dot_2.default` — exactly four tokens, matches the consumer filter. The DLQ token extractor in `queue/dlq.rs` splits the advisory subject on `.` and takes `parts[2]`, which with the normalization in place is already a single safe token; the existing `/` → `_` replacement there is now a no-op for correctly published subjects and a fallback for any legacy un-normalized messages still in-flight at the time of upgrade.
+Generation adds a worker-specific subject, `sie.work.{model}.{pool}.{worker_id}`, which has one additional token after the pool. That subject intentionally does not match the pool stream's `sie.work.*.{pool}` filter. The worker runtime must bind the worker-specific stream only when the local pool hosts a generation model; encode-only pools should have exactly one hot JetStream consumer, the pool consumer. This is a batching invariant, not just a resource optimization: adding an idle direct-dispatch pull loop to encode workers can perturb shared NATS intake and collapse the queue-side batch size.
+
### 8.3 Publisher/consumer ownership
Publishers and consumers:
diff --git a/packages/sie_gateway/openapi.json b/packages/sie_gateway/openapi.json
index 01dccb76a..ec8f4c140 100644
--- a/packages/sie_gateway/openapi.json
+++ b/packages/sie_gateway/openapi.json
@@ -2858,7 +2858,7 @@
"url": "https://www.apache.org/licenses/LICENSE-2.0.html"
},
"title": "SIE Gateway",
- "version": "0.4.0"
+ "version": "0.4.1"
},
"openapi": "3.1.0",
"paths": {
diff --git a/packages/sie_sdk/pyproject.toml b/packages/sie_sdk/pyproject.toml
index 9cdaf6965..a4971faa0 100644
--- a/packages/sie_sdk/pyproject.toml
+++ b/packages/sie_sdk/pyproject.toml
@@ -1,6 +1,6 @@
[project]
name = "sie-sdk"
-version = "0.4.0"
+version = "0.4.1"
description = "Search Inference Engine - Python SDK"
requires-python = ">=3.12"
license = { text = "Apache-2.0" }
diff --git a/packages/sie_server/Dockerfile.cpu b/packages/sie_server/Dockerfile.cpu
index 5a4899ced..a9c76e8c9 100644
--- a/packages/sie_server/Dockerfile.cpu
+++ b/packages/sie_server/Dockerfile.cpu
@@ -6,7 +6,6 @@
# docker buildx build --platform linux/amd64,linux/arm64 -f packages/sie_server/Dockerfile.cpu -t sie-server:cpu .
ARG BUNDLE=default
-ARG SIE_DEPS_IMAGE=
# =============================================================================
# Stage 1: Dependencies (pyproject.toml only, cached across code changes)
@@ -108,9 +107,9 @@ RUN set -eux; \
find /app/.venv -exec touch -h -d @0 {} + 2>/dev/null || true
# =============================================================================
-# Stage 3a: Bundle-deps - bundle-specific deps install (heavy)
+# Stage 3: Builder - bundle-specific deps
# =============================================================================
-FROM base AS bundle_deps
+FROM base AS builder
ARG BUNDLE
@@ -150,11 +149,6 @@ RUN set -eux; \
fi; \
find /app/bundle-libs -exec touch -h -d @0 {} + 2>/dev/null || true
-# =============================================================================
-# Stage 3b: Builder - optional trampoline to a prebuilt base image
-# =============================================================================
-FROM ${SIE_DEPS_IMAGE:-bundle_deps} AS builder
-
# =============================================================================
# Stage 4: Runtime
# =============================================================================
diff --git a/packages/sie_server/Dockerfile.cuda12 b/packages/sie_server/Dockerfile.cuda12
index eb19c6c6f..f9c3befd9 100644
--- a/packages/sie_server/Dockerfile.cuda12
+++ b/packages/sie_server/Dockerfile.cuda12
@@ -6,7 +6,6 @@
ARG BUNDLE=default
ARG UV_VERSION=0.9.28
-ARG SIE_DEPS_IMAGE=
# =============================================================================
# Stage 1: uv + standalone Python 3.12 (no deadsnakes PPA)
@@ -127,9 +126,9 @@ RUN set -eux; \
find /app/.venv -exec touch -h -d @0 {} + 2>/dev/null || true
# =============================================================================
-# Stage 3a: Bundle-deps - bundle-specific deps install (heavy)
+# Stage 3: Builder - bundle-specific deps
# =============================================================================
-FROM base AS bundle_deps
+FROM base AS builder
ARG BUNDLE
@@ -173,11 +172,6 @@ RUN set -eux; \
# Normalize mtimes so rebuilds of the same bundle produce identical layer bytes.
find /app/bundle-libs -exec touch -h -d @0 {} + 2>/dev/null || true
-# =============================================================================
-# Stage 3b: Builder - optional trampoline to a prebuilt base image
-# =============================================================================
-FROM ${SIE_DEPS_IMAGE:-bundle_deps} AS builder
-
# =============================================================================
# Stage 4: Runtime
# =============================================================================
diff --git a/packages/sie_server/bundles/default.yaml b/packages/sie_server/bundles/default.yaml
index 504178e22..aff9a639a 100644
--- a/packages/sie_server/bundles/default.yaml
+++ b/packages/sie_server/bundles/default.yaml
@@ -78,5 +78,5 @@ deps:
docling: '>=2,<3'
# Flash Attention 2 — CUDA only, prebuilt wheel
flash-attn:
- url: https://github.com/mjun0812/flash-attention-prebuild-wheels/releases/download/v0.7.0/flash_attn-2.7.4+cu128torch2.9-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
+ url: https://github.com/mjun0812/flash-attention-prebuild-wheels/releases/download/v0.7.11/flash_attn-2.7.4+cu129torch2.9-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
marker: sys_platform == 'linux'
diff --git a/packages/sie_server/bundles/sglang-embedding.yaml b/packages/sie_server/bundles/sglang-embedding.yaml
index ba7dc6d29..64cb1782c 100644
--- a/packages/sie_server/bundles/sglang-embedding.yaml
+++ b/packages/sie_server/bundles/sglang-embedding.yaml
@@ -12,7 +12,7 @@ deps:
# pip resolution drift on environments that already had a different
# ``outlines`` installed. Asserted in ``tests/test_bundles.py`` so a
# future drift fails fast.
- sglang: '==0.5.10'
+ sglang: '==0.5.10.post1'
xgrammar: '==0.1.32'
outlines: '==0.1.11'
llguidance: '>=0.7.11,<0.8.0'
diff --git a/packages/sie_server/bundles/sglang.yaml b/packages/sie_server/bundles/sglang.yaml
index 300b00818..8975d6cc6 100644
--- a/packages/sie_server/bundles/sglang.yaml
+++ b/packages/sie_server/bundles/sglang.yaml
@@ -6,29 +6,29 @@ deps:
# SGLang 0.5.6+ includes all deps at base level (fixed from 0.4.x extras bug)
# See: https://github.com/sgl-project/sglang/issues/4869
#
- # Qwen3.5-4B compatibility — M4 req2 Proj 5:
+ # Qwen3.5-4B + Qwen3.6-27B compatibility:
#
- # ``sglang==0.5.10`` is the canonical target for Qwen3.5-4B on the
- # current L4 / A100-40GB / H100 fleet. Audited against
- # ``python/[email protected]`` upstream (see
- # ``product/plans/qwen35-sglang-mtp-structured-outputs-findings.md``):
+ # ``sglang==0.5.10.post1`` is the canonical target for the Qwen3.x hybrid
+ # Gated-DeltaNet + Gated-Attention family on the current
+ # L4 / A100-40GB / H100 fleet. Qwen3.6-27B uses the same ``qwen3_5``
+ # model class shipped in 0.5.10 — the architecture (64 layers, hybrid
+ # Gated DeltaNet + Gated Attention, MTP/NEXTN) is identical, only the
+ # parameter count differs.
#
- # * ships the ``qwen3_5`` model class (``models/qwen3_5.py``, 1724 LOC)
- # * grammar backends: ``xgrammar`` / ``outlines`` / ``llguidance`` / ``none``
- # * ``sglang-kernel==0.4.1`` wheel covers SM_80 / SM_89 / SM_90 / SM_100
- # via gencode (``CMakeLists.txt``: ``ENABLE_BELOW_SM90=ON`` default).
- # The runtime loader (``sgl_kernel/load_utils.py``) maps
- # compute_capability != 90 → ``sm100/`` subdir, which holds the
- # SM_80 / SM_89 / SM_100 build (precise math). H100 (CC=90) gets
- # the ``sm90/`` fast-math build.
- # * torch==2.9.1 (CUDA 12.8/12.9 wheels); ``cuda-python==12.9``.
- # **Not** CUDA 13 — that's an SGLang-main-only path which only
- # became relevant when looking at the dev branch.
+ # SGLang 0.5.10 was evaluated against CUDA 12.9 + Qwen3.6-27B on Modal
+ # H100 (2026-05-27): server boots, loads weights, but the bundled
+ # ``sglang/jit_kernel/csrc/elementwise/activation.cuh`` has a C++
+ # template bug (``select_kernel<true>(type)`` is parsed as a class-
+ # template substitution, not a function-template call) that the
+ # stricter ``nvcc`` shipped with CUDA 12.9 rejects at first activation.
+ # 0.5.11 is also dev-only on the sglang docs wheel index — not on
+ # PyPI. Park the 0.5.11 bump until upstream cuts a stable release with
+ # the JIT header fixed; 0.5.10.post1 covers Qwen3.6-27B today.
#
- # Compat note: 0.5.12 wheel observed shipping only ``sm100/`` (no SM_80
- # cubin entry inside) — out of scope; we stay on 0.5.10 until upstream
- # ships multi-arch binaries again.
- sglang: '==0.5.10'
+ # * grammar backends: ``xgrammar`` / ``outlines`` / ``llguidance`` / ``none``
+ # * ``sgl_kernel`` covers SM_80 / SM_89 / SM_90 / SM_100 via gencode.
+ # * torch==2.9.1 (CUDA 12.9 wheels); ``cuda-python==12.9``.
+ sglang: '==0.5.10.post1'
#
# Grammar backend deps — pinned to exactly what SGLang 0.5.10 imports
# internally to prevent silent pip resolution drift.
@@ -39,7 +39,7 @@ deps:
# propagation (PR #20467). Kept available as the fallback backend.
xgrammar: '==0.1.32'
#
- # ``outlines==0.1.11`` is a hard transitive dep of sglang==0.5.10. We
+ # ``outlines==0.1.11`` is a hard transitive dep of sglang==0.5.10.post1. We
# declare it explicitly at bundle level so the surface is visible.
# ``outlines-core`` (a separate package) is a transitive of outlines
# and intentionally NOT pinned here — pinning ``outlines-core`` directly
diff --git a/packages/sie_server/models/Qwen__Qwen3.6-27B.yaml b/packages/sie_server/models/Qwen__Qwen3.6-27B.yaml
new file mode 100644
index 000000000..2e489c7f6
--- /dev/null
+++ b/packages/sie_server/models/Qwen__Qwen3.6-27B.yaml
@@ -0,0 +1,196 @@
+sie_id: Qwen/Qwen3.6-27B
+hf_id: Qwen/Qwen3.6-27B
+inputs:
+ # Qwen3.6-27B is a unified vision-language model (Gated DeltaNet + Gated
+ # Attention with an integrated vision encoder; same hybrid family as
+ # Qwen3.5-4B but scaled to 64 layers / hidden_size=5120). The wire
+ # surface accepts text+image via the OpenAI chat-completions schema
+ # (``image_url`` content parts); video is documented by Qwen but not
+ # yet wired through the SIE gateway.
+ text: true
+ image: true
+ audio: false
+ video: false
+tasks:
+ generate:
+ # Native context length is 262,144 tokens (YaRN extends to ~1M).
+ # Default to 8192 here — H100 80GB can fit larger windows after KV
+ # calibration but the conservative cap survives first boot before
+ # token_capacity is measured.
+ context_length: 8192
+ max_output_tokens: 4096
+ capabilities:
+ # Same constraint as Qwen3.5-4B: SGLang's outlines_backend does
+ # not implement ebnf. xgrammar smoke would pass all three; flip
+ # ``grammar_backend: xgrammar`` and re-add ``"ebnf"`` here if a
+ # consumer needs it.
+ grammar: ["json_schema", "regex"]
+ streaming: true
+ tools: true
+ # Qwen3.6 emits ``<think>...</think>`` reasoning by default. We
+ # disable it for the OpenAI-compat path so visible output is the
+ # answer only. Operators wanting CoT can flip this profile-side.
+ chat_template_kwargs:
+ enable_thinking: false
+ prewarm_grammars:
+ # Bare pattern, NOT anchored — Outlines regexes are implicitly
+ # anchored and its FSM engine rejects ``^``/``$``. See the
+ # Qwen3.5-4B model card for the full back-story.
+ - name: yes_no
+ kind: regex
+ value: "(yes|no)"
+ - name: short_answer
+ kind: json_schema
+ value:
+ type: object
+ properties:
+ answer:
+ type: string
+ required: [answer]
+max_sequence_length: 8192
+# ── KV-cache math (placeholder, pending Modal calibration) ──
+#
+# Qwen3.6-27B layer breakdown (per model card / config.json):
+# * 64 layers in a 16 × (3 × DeltaNet + 1 × GatedAttention) pattern
+# * 16 KV-bearing Gated-Attention layers (4 KV heads × head_dim=256)
+# * 48 recurrent Gated-DeltaNet layers — managed by SGLang's mamba
+# scheduler under ``--mamba-scheduler-strategy extra_buffer``
+#
+# BF16 weights ≈ 27e9 × 2 B ≈ 54 GB before activations / KV.
+# * L4 (22 GB) → infeasible
+# * A100-40GB (40 GB) → infeasible BF16; would need FP8 or TP2
+# * H100-80GB → primary target (single-GPU, BF16)
+# * H100×2 (160 GB) → for context >32k or large concurrencies
+#
+# ``kv_budget_tokens`` is a conservative analytical placeholder pending
+# the first /get_server_info dump from tools/smoke_qwen36_27b.py on
+# Modal. Re-calibrate from the empirical token_capacity before relying
+# on these numbers in production.
+profiles:
+ # L4 / A100-40GB profiles intentionally omitted — Qwen3.6-27B's BF16
+ # weights (~54 GB) do not fit. Add an FP8 or TP2 profile if those
+ # tiers become required.
+ default:
+ max_batch_tokens: 16384
+ compute_precision: bfloat16
+ adapter_path: sie_server.adapters.sglang.generation:SGLangGenerationAdapter
+ # Conservative H100-80GB placeholder pending the first
+ # /get_server_info dump from tools/smoke_qwen36_27b.py on Modal.
+ # Empirical reference point (2026-05-27 smoke, mem_fraction_static=0.93,
+ # context_length=4096, no-spec): SGLang reported
+ # ``weight=51.05 GB, kvcache=11.63 GB, token_capacity=190,543``.
+ # Sizing here at ~1/12 of that capacity to leave room for NEXTN
+ # draft KV + grammar/Outlines compile arena once spec is re-enabled.
+ # Re-calibrate after a smoke run on this profile's actual settings.
+ kv_budget_tokens: 16384
+ adapter_options:
+ loadtime:
+ mem_fraction_static: 0.85
+ served_model_name: Qwen/Qwen3.6-27B
+ disable_cuda_graph: true
+ attention_backend: triton
+ grammar_backend: outlines
+ reasoning_parser: qwen3
+ tool_call_parser: qwen3_coder
+ # MTP/NEXTN per the Qwen3.x model-card recipe. SGLang implements
+ # NEXTN under the EAGLE codepath internally; ``/server_info``
+ # reporting ``speculative_algorithm: EAGLE`` is expected.
+ speculative:
+ enabled: true
+ algorithm: nextn
+ num_steps: 3
+ eagle_topk: 1
+ num_draft_tokens: 4
+ # Required for NEXTN spec decoding to coexist with radix cache
+ # on the hybrid Gated-DeltaNet architecture. The adapter also
+ # sets SGLANG_ENABLE_SPEC_V2=1 when speculative.enabled — both
+ # are required as a pair.
+ extra_launch_args:
+ - "--mamba-scheduler-strategy"
+ - "extra_buffer"
+ - "--disable-overlap-schedule"
+ runtime:
+ first_chunk_timeout_s: 90
+ inter_chunk_timeout_s: 15
+ overall_timeout_s: 600
+ default_sampling:
+ temperature: 0.7
+ top_p: 0.8
+ presence_penalty: 1.5
+ stop_tokens:
+ - "<|im_end|>"
+ h100:
+ max_batch_tokens: 32768
+ compute_precision: bfloat16
+ adapter_path: sie_server.adapters.sglang.generation:SGLangGenerationAdapter
+ # Same H100-80GB target as ``default``; this profile widens
+ # ``max_batch_tokens`` for batch-heavy workloads once calibration
+ # confirms KV headroom.
+ kv_budget_tokens: 32768
+ adapter_options:
+ loadtime:
+ mem_fraction_static: 0.85
+ served_model_name: Qwen/Qwen3.6-27B
+ disable_cuda_graph: true
+ attention_backend: triton
+ grammar_backend: outlines
+ reasoning_parser: qwen3
+ tool_call_parser: qwen3_coder
+ speculative:
+ enabled: true
+ algorithm: nextn
+ num_steps: 3
+ eagle_topk: 1
+ num_draft_tokens: 4
+ # ``--disable-overlap-schedule`` is the required pair-flag for
+ # NEXTN + mamba-scheduler ``extra_buffer`` on the hybrid Gated-
+ # DeltaNet architecture (same constraint as Qwen3.5-4B).
+ extra_launch_args:
+ - "--mamba-scheduler-strategy"
+ - "extra_buffer"
+ - "--disable-overlap-schedule"
+ runtime:
+ first_chunk_timeout_s: 90
+ inter_chunk_timeout_s: 15
+ overall_timeout_s: 600
+ default_sampling:
+ temperature: 0.7
+ top_p: 0.8
+ presence_penalty: 1.5
+ stop_tokens:
+ - "<|im_end|>"
+ # No-speculative baseline — for SIE-vs-raw-SGLang ablation cells so
+ # spec-decoding's contribution can be measured independently. Keeps
+ # the same ``extra_launch_args`` as ``default`` / ``h100`` so a config
+ # diff between them shows only the ``speculative`` block (the intent
+ # of the ablation), matching Qwen3.5-4B's convention.
+ no-spec:
+ max_batch_tokens: 32768
+ compute_precision: bfloat16
+ adapter_path: sie_server.adapters.sglang.generation:SGLangGenerationAdapter
+ kv_budget_tokens: 65536
+ adapter_options:
+ loadtime:
+ mem_fraction_static: 0.85
+ served_model_name: Qwen/Qwen3.6-27B
+ disable_cuda_graph: true
+ attention_backend: triton
+ grammar_backend: outlines
+ reasoning_parser: qwen3
+ tool_call_parser: qwen3_coder
+ speculative:
+ enabled: false
+ extra_launch_args:
+ - "--mamba-scheduler-strategy"
+ - "extra_buffer"
+ - "--disable-overlap-schedule"
+ runtime:
+ first_chunk_timeout_s: 90
+ inter_chunk_timeout_s: 15
+ overall_timeout_s: 600
+ default_sampling:
+ temperature: 0.7
+ top_p: 0.8
+ presence_penalty: 1.5
+ stop_tokens:
+ - "<|im_end|>"
diff --git a/packages/sie_server/openapi.json b/packages/sie_server/openapi.json
index 7402f9ada..46845ed11 100644
--- a/packages/sie_server/openapi.json
+++ b/packages/sie_server/openapi.json
@@ -3,7 +3,7 @@
"info": {
"title": "SIE Server",
"description": "Search Inference Engine - GPU inference server for search workloads",
- "version": "0.4.0"
+ "version": "0.4.1"
},
"paths": {
"/": {
diff --git a/packages/sie_server/pyproject.toml b/packages/sie_server/pyproject.toml
index da86d97e4..48a95e9ef 100644
--- a/packages/sie_server/pyproject.toml
+++ b/packages/sie_server/pyproject.toml
@@ -1,6 +1,6 @@
[project]
name = "sie-server"
-version = "0.4.0"
+version = "0.4.1"
description = "Search Inference Engine - GPU inference server for search workloads"
requires-python = ">=3.12,<3.13"
license = { text = "Apache-2.0" }
@@ -92,9 +92,10 @@ packages = ["src/sie_server"]
"bundles" = "sie_server/bundles"
[tool.uv.sources]
-# Prebuilt flash-attn wheel for torch 2.9 + cu128 (official wheels only go up to torch 2.8)
+# Prebuilt flash-attn wheel for torch 2.9 + cu129 (official wheels only go up to torch 2.8).
# Platform-specific: Linux x86_64 only. Non-Linux users should not install the flash-attn extra.
-flash-attn = { url = "https://github.com/mjun0812/flash-attention-prebuild-wheels/releases/download/v0.7.0/flash_attn-2.7.4+cu128torch2.9-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl", marker = "sys_platform == 'linux'" }
+# Source: mjun0812/flash-attention-prebuild-wheels v0.7.11 (first release with cu129torch2.9 cp312 manylinux).
+flash-attn = { url = "https://github.com/mjun0812/flash-attention-prebuild-wheels/releases/download/v0.7.11/flash_attn-2.7.4+cu129torch2.9-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl", marker = "sys_platform == 'linux'" }
[dependency-groups]
dev = []
diff --git a/packages/sie_server/src/sie_server/nats_pull_loop.py b/packages/sie_server/src/sie_server/nats_pull_loop.py
index 558431329..d4b7ce4f2 100644
--- a/packages/sie_server/src/sie_server/nats_pull_loop.py
+++ b/packages/sie_server/src/sie_server/nats_pull_loop.py
@@ -622,6 +622,8 @@ class NatsPullLoop:
# ``None`` on direct-dispatch boot failures so the pool path keeps
# working.
self._worker_pull_task: asyncio.Task[None] | None = None
+ self._worker_sub: Any | None = None
+ self._hosts_generation_model: bool | None = None
self._in_flight_tasks: set[asyncio.Task[None]] = set()
# Outstanding generation streams, tracked separately from the
# GPU-batch ``_in_flight_tasks``. Generation is decoupled from
@@ -752,6 +754,7 @@ class NatsPullLoop:
# lazily in :meth:`start`; ``None`` until then so :meth:`stop`
# tolerates an early shutdown.
self._cancel_sub: Any | None = None
+ self._pool_sub: Any | None = None
async def start(self) -> None:
"""Start the pull loop.
@@ -767,27 +770,32 @@ class NatsPullLoop:
# pool stream if any per-model stream has an overlapping subject.
await self._migrate_per_model_streams()
+ self._refresh_generation_pool_flag()
+
# Create the single pool-level stream + consumer
await self._ensure_pool_subscription()
- # Per-worker direct-dispatch stream + consumer. The
- # pool stream's wildcard ``sie.work.*.{pool}`` captures exactly
- # 3 subject tokens after the prefix; the per-worker subject has
- # 4 tokens (``…{pool}.{worker_id}``) so it cannot overlap. Both
- # subscriptions feed the same ``_process_messages`` path.
- # Failure here is non-fatal — workers without a per-worker
- # subscription degrade to the pool-fallback path (the gateway
- # already handles "no eligible worker" by publishing to the
- # pool subject).
- try:
- await self._ensure_per_worker_subscription()
- except Exception:
- logger.exception("Failed to create per-worker subscription (continuing with pool-only delivery)")
-
- # Subscribe (cluster-scope) to cancel.> on core NATS so
- # the StreamingProcessor can react to client disconnect cancels.
- # request_id uniqueness is the filter; router_id is informational.
- await self._ensure_cancel_subscription()
+ if self._pool_hosts_generation_model():
+ # Per-worker direct-dispatch stream + consumer. The
+ # pool stream's wildcard ``sie.work.*.{pool}`` captures exactly
+ # 3 subject tokens after the prefix; the per-worker subject has
+ # 4 tokens (``…{pool}.{worker_id}``) so it cannot overlap. Both
+ # subscriptions feed the same ``_process_messages`` path.
+ # Failure here is non-fatal — workers without a per-worker
+ # subscription degrade to the pool-fallback path (the gateway
+ # already handles "no eligible worker" by publishing to the
+ # pool subject).
+ try:
+ await self._ensure_per_worker_subscription()
+ except Exception:
+ logger.exception("Failed to create per-worker subscription (continuing with pool-only delivery)")
+
+ # Subscribe (cluster-scope) to cancel.> on core NATS so
+ # the StreamingProcessor can react to client disconnect cancels.
+ # request_id uniqueness is the filter; router_id is informational.
+ await self._ensure_cancel_subscription()
+ else:
+ logger.info("Skipping generation direct-dispatch subscriptions for non-generation pool %s", self._pool_name)
# Grammar prewarm. Compile each model's
# ``tasks.generate.prewarm_grammars`` ahead of request traffic so
@@ -803,7 +811,7 @@ class NatsPullLoop:
self._pull_task = asyncio.create_task(self._run())
# Parallel pull task draining the per-worker stream.
# Spawned only if the per-worker subscription was created.
- if hasattr(self, "_worker_sub"):
+ if self._worker_sub is not None:
self._worker_pull_task = asyncio.create_task(self._run_worker_pull())
logger.info(
"NatsPullLoop started (bundle=%s, pool=%s, models=%d, stream=%s)",
@@ -884,25 +892,28 @@ class NatsPullLoop:
logger.debug("Failed to unsubscribe during shutdown")
self._subscriptions.clear()
- if hasattr(self, "_pool_sub"):
+ if self._pool_sub is not None:
try:
await self._pool_sub.unsubscribe()
except Exception: # noqa: BLE001
logger.debug("Failed to unsubscribe pool sub during shutdown")
+ self._pool_sub = None
await self._admission_gate.close()
# Tear down the per-worker subscription.
- if hasattr(self, "_worker_sub"):
+ if self._worker_sub is not None:
try:
await self._worker_sub.unsubscribe()
except Exception: # noqa: BLE001
logger.debug("Failed to unsubscribe per-worker sub during shutdown")
+ self._worker_sub = None
if hasattr(self, "_cancel_sub") and self._cancel_sub is not None:
try:
await self._cancel_sub.unsubscribe()
except Exception: # noqa: BLE001
logger.debug("Failed to unsubscribe cancel sub during shutdown")
+ self._cancel_sub = None
logger.info("NatsPullLoop stopped")
@@ -921,47 +932,84 @@ class NatsPullLoop:
self._subscriptions.clear()
# Unsubscribe stale pool subscription (best-effort)
- if hasattr(self, "_pool_sub"):
+ if self._pool_sub is not None:
try:
await self._pool_sub.unsubscribe()
except Exception: # noqa: BLE001
logger.debug("Failed to unsubscribe old pool sub during reconnect")
+ self._pool_sub = None
+
+ if self._worker_pull_task is not None:
+ self._worker_pull_task.cancel()
+ with contextlib.suppress(asyncio.CancelledError):
+ await self._worker_pull_task
+ self._worker_pull_task = None
# Also drop the per-worker subscription so the next
# `_ensure_per_worker_subscription` call re-binds against the
- # new connection. The parallel pull task picks up the fresh
- # subscription on its next fetch.
- if hasattr(self, "_worker_sub"):
+ # new connection.
+ if self._worker_sub is not None:
try:
await self._worker_sub.unsubscribe()
except Exception: # noqa: BLE001
logger.debug("Failed to unsubscribe old per-worker sub during reconnect")
- try:
- delattr(self, "_worker_sub")
- except AttributeError:
- pass
+ self._worker_sub = None
+
+ self._refresh_generation_pool_flag()
# Re-create the pool subscription
await self._ensure_pool_subscription()
- # Re-create the per-worker subscription (best-effort).
- try:
- await self._ensure_per_worker_subscription()
- except Exception: # noqa: BLE001
- logger.warning("Failed to re-create per-worker subscription on reconnect", exc_info=True)
+ if self._pool_hosts_generation_model():
+ # Re-create the per-worker subscription (best-effort).
+ try:
+ await self._ensure_per_worker_subscription()
+ except Exception: # noqa: BLE001
+ logger.warning("Failed to re-create per-worker subscription on reconnect", exc_info=True)
+ else:
+ logger.info("Reconnect kept non-generation pool %s on pool-only delivery", self._pool_name)
+
# Re-spawn the parallel pull task if needed.
if (
self._running
- and hasattr(self, "_worker_sub")
+ and self._worker_sub is not None
and (self._worker_pull_task is None or self._worker_pull_task.done())
):
self._worker_pull_task = asyncio.create_task(self._run_worker_pull())
- logger.info("NatsPullLoop reconnected — re-created pool and per-worker subscriptions")
+ logger.info("NatsPullLoop reconnected — re-created pool subscription")
async def add_model(self, model_id: str) -> None:
- """No-op in multiplexed mode — the pool subscription already covers all models.
+ """Refresh transport wiring after a model is hot-added.
- Kept for API compatibility.
+ The pool subscription already covers all encode / score /
+ extract models. If the added model is the first generation
+ model in this worker pool, create the per-worker
+ direct-dispatch subscription now so hot reload preserves the
+ same generation path as cold start.
"""
+ if not self._running:
+ return
+
+ was_generation_pool = self._pool_hosts_generation_model()
+ if not self._refresh_generation_pool_flag():
+ return
+
+ if self._worker_sub is None:
+ try:
+ await self._ensure_per_worker_subscription()
+ except Exception:
+ logger.exception(
+ "Failed to create per-worker subscription after adding model %s (continuing with pool-only delivery)",
+ model_id,
+ )
+
+ if not was_generation_pool:
+ await self._rebind_pool_subscription(reason=f"first generation model added: {model_id}")
+
+ if self._cancel_sub is None:
+ await self._ensure_cancel_subscription()
+
+ if self._worker_sub is not None and (self._worker_pull_task is None or self._worker_pull_task.done()):
+ self._worker_pull_task = asyncio.create_task(self._run_worker_pull())
# -- Pool-level multiplexed stream/consumer --------------------------------
@@ -1067,6 +1115,18 @@ class NatsPullLoop:
filter_subject,
)
+ async def _rebind_pool_subscription(self, *, reason: str) -> None:
+ """Recreate the pool consumer when generation settings change."""
+ if self._pool_sub is not None:
+ try:
+ await self._pool_sub.unsubscribe()
+ except Exception: # noqa: BLE001
+ logger.debug("Failed to unsubscribe old pool sub during rebind")
+ self._pool_sub = None
+
+ await self._ensure_pool_subscription()
+ logger.info("Pool consumer re-bound (%s)", reason)
+
async def _ensure_per_worker_subscription(self) -> None:
"""Create the per-worker direct-dispatch stream and pull consumer.
@@ -1149,12 +1209,27 @@ class NatsPullLoop:
filter_subject,
)
+ def _refresh_generation_pool_flag(self) -> bool:
+ self._hosts_generation_model = self._detect_pool_hosts_generation_model()
+ return self._hosts_generation_model
+
def _pool_hosts_generation_model(self) -> bool:
+ """Return whether this pool hosts generation models.
+
+ The answer is cached because status heartbeats call the saturation
+ path frequently. Startup, reconnect, and hot-add refresh the flag
+ so normal status updates stay O(1) with respect to model count.
+ """
+ if self._hosts_generation_model is None:
+ return self._refresh_generation_pool_flag()
+ return self._hosts_generation_model
+
+ def _detect_pool_hosts_generation_model(self) -> bool:
"""Detect whether any model in this pool declares a generate task.
- Used by :meth:`_ensure_pool_subscription` to pick an appropriate
- JetStream ``ack_wait`` (§4.4: long generations would
- exceed the default 30s window).
+ Used to pick the worker transport and the appropriate JetStream
+ ``ack_wait`` (§4.4: long generations would exceed the default 30s
+ window).
"""
for model_id in self._registry.model_names:
try:
@@ -1257,30 +1332,18 @@ class NatsPullLoop:
return self._worker_id
def in_flight_count(self) -> int:
- """Current number of *generation requests* the worker is processing.
-
- Routing-rollout fix (review finding M1): the previous implementation
- returned ``len(self._in_flight_tasks)`` which counts fetched
- *batches* — one task per ``_dispatch_batch`` invocation,
- regardless of how many requests that batch contains. With
- ``_MAX_CONCURRENT_BATCHES = 4`` and per-model batch budgets in
- the tens to hundreds, the resulting saturation fraction
- (``in_flight / max_batch_requests``) could never reach the
- 90% high-watermark, so the gate was effectively dead.
-
- We now delegate to the streaming processor's
- ``_in_flight_cancels`` map which tracks one entry per
- generate request; that's the right denominator for the
- saturation hysteresis on generate-heavy pools.
-
- Admission-control rollout: :meth:`update_saturation` now prefers
- ``kv_reserved / kv_budget_tokens`` when the streaming
- processor has a budget configured (i.e. this worker hosts a
- generation pool). For encode / extract / score pools the
- budget is ``None`` and this method's per-request count keeps
- driving the gate.
+ """Current in-flight count for the pool's transport class.
+
+ Generation pools count streaming requests; non-generation pools
+ count fetched queue batches. Keeping those signals separate is
+ important: the generation rollout added direct-dispatch state,
+ but encode / score / extract still rely on the shared pool queue
+ and must not report zero in-flight work just because no
+ generation stream is active.
"""
- return self._streaming_processor.in_flight_count()
+ if self._pool_hosts_generation_model():
+ return self._streaming_processor.in_flight_count()
+ return len(self._in_flight_tasks)
def aggregate_max_batch_requests(self) -> int:
"""Aggregate batch capacity across loaded models.
@@ -1476,8 +1539,14 @@ class NatsPullLoop:
await asyncio.sleep(self._admission_gate.pause_s)
continue
+ pool_sub = self._pool_sub
+ if pool_sub is None:
+ fetch_timeout = _MIN_FETCH_TIMEOUT_S
+ await asyncio.sleep(fetch_timeout)
+ continue
+
try:
- messages = await self._pool_sub.fetch(batch=_DEFAULT_BATCH_BUDGET, timeout=fetch_timeout)
+ messages = await pool_sub.fetch(batch=_DEFAULT_BATCH_BUDGET, timeout=fetch_timeout)
except nats.errors.TimeoutError:
# No items — back off
fetch_timeout = min(fetch_timeout * _BACKOFF_GROWTH, _MAX_FETCH_TIMEOUT_S)
@@ -1575,10 +1644,15 @@ class NatsPullLoop:
``_batch_sem`` so the worker's GPU is the global concurrency
limit, not "GPU × 2".
"""
+ worker_sub = self._worker_sub
+ if worker_sub is None:
+ logger.debug("Per-worker pull loop requested without a subscription; exiting")
+ return
+
fetch_timeout = _MIN_FETCH_TIMEOUT_S
while self._running:
try:
- messages = await self._worker_sub.fetch(batch=_DEFAULT_BATCH_BUDGET, timeout=fetch_timeout)
+ messages = await worker_sub.fetch(batch=_DEFAULT_BATCH_BUDGET, timeout=fetch_timeout)
except nats.errors.TimeoutError:
fetch_timeout = min(fetch_timeout * _BACKOFF_GROWTH, _MAX_FETCH_TIMEOUT_S)
continue
diff --git a/packages/sie_server/tests/adapters/test_lora_integration.py b/packages/sie_server/tests/adapters/test_lora_integration.py
index f2448aeeb..143d7a6f9 100644
--- a/packages/sie_server/tests/adapters/test_lora_integration.py
+++ b/packages/sie_server/tests/adapters/test_lora_integration.py
@@ -46,7 +46,7 @@ def _find_free_port(start: int = 8200, end: int = 8300) -> int:
for port in range(start, end):
try:
with socket.socket(socket.AF_INET, socket.SOCK_STREAM) as s:
- s.bind(("0.0.0.0", port)) # noqa: S104
+ s.bind(("127.0.0.1", port))
return port
except OSError:
continue
diff --git a/packages/sie_server/tests/adapters/test_stablebridge_integration.py b/packages/sie_server/tests/adapters/test_stablebridge_integration.py
index 50281e6ec..b36a68b2a 100644
--- a/packages/sie_server/tests/adapters/test_stablebridge_integration.py
+++ b/packages/sie_server/tests/adapters/test_stablebridge_integration.py
@@ -32,7 +32,7 @@ def _find_free_port(start: int = 8400, end: int = 8500) -> int:
for port in range(start, end):
try:
with socket.socket(socket.AF_INET, socket.SOCK_STREAM) as s:
- s.bind(("0.0.0.0", port)) # noqa: S104
+ s.bind(("127.0.0.1", port))
return port
except OSError:
continue
diff --git a/packages/sie_server/tests/conftest.py b/packages/sie_server/tests/conftest.py
index b52b3c789..1f51277a1 100644
--- a/packages/sie_server/tests/conftest.py
+++ b/packages/sie_server/tests/conftest.py
@@ -41,16 +41,11 @@ def device() -> str:
def _find_free_port(start: int = 8090, end: int = 8200) -> int:
- """Find an available port in the given range.
-
- Binds to 0.0.0.0 (not 127.0.0.1) so the check matches Docker's bind
- address and avoids false positives where the port appears free on
- localhost but is already taken by a Docker container on 0.0.0.0.
- """
+ """Find an available port in the given range."""
for port in range(start, end):
try:
with socket.socket(socket.AF_INET, socket.SOCK_STREAM) as s:
- s.bind(("0.0.0.0", port)) # noqa: S104
+ s.bind(("127.0.0.1", port))
return port
except OSError:
continue
diff --git a/packages/sie_server/tests/test_nats_pull_loop.py b/packages/sie_server/tests/test_nats_pull_loop.py
index 739a45c66..2f903cd4f 100644
--- a/packages/sie_server/tests/test_nats_pull_loop.py
+++ b/packages/sie_server/tests/test_nats_pull_loop.py
@@ -40,6 +40,12 @@ def _make_work_item(**overrides) -> dict:
return wi
+def _make_config(*, generate: bool = False) -> MagicMock:
+ config = MagicMock()
+ config.tasks.generate = object() if generate else None
+ return config
+
+
def _make_loop(
*,
registry: MagicMock | None = None,
@@ -55,7 +61,7 @@ def _make_loop(
if registry is None:
registry = MagicMock()
registry.model_names = ["test/model"]
- registry.get_config.return_value = MagicMock()
+ registry.get_config.return_value = _make_config()
return NatsPullLoop(
nc=nc,
js=js,
@@ -269,6 +275,198 @@ class TestPullLoopAdmission:
loop._pool_sub.fetch.assert_not_called()
+ @pytest.mark.asyncio
+ async def test_run_waits_when_pool_subscription_is_temporarily_absent(self) -> None:
+ loop = _make_loop()
+ loop._pool_sub = None
+ loop._running = True
+ gate = AsyncMock()
+ gate.admitted = AsyncMock(return_value=True)
+ loop._admission_gate = gate
+
+ task = asyncio.create_task(loop._run())
+ await asyncio.sleep(0.01)
+ loop._running = False
+ task.cancel()
+ try:
+ await task
+ except asyncio.CancelledError:
+ pass
+
+ gate.admitted.assert_awaited()
+
+
+class TestDirectDispatchIsolation:
+ @pytest.mark.asyncio
+ async def test_start_keeps_encode_pool_on_pool_only_subscription(self) -> None:
+ registry = MagicMock()
+ registry.model_names = ["test/model"]
+ registry.get_config.return_value = _make_config(generate=False)
+
+ loop = _make_loop(registry=registry)
+ loop._migrate_per_model_streams = AsyncMock()
+ loop._ensure_pool_subscription = AsyncMock()
+ loop._ensure_per_worker_subscription = AsyncMock()
+ loop._ensure_cancel_subscription = AsyncMock()
+ loop._prewarm_grammars = AsyncMock()
+ loop._run = AsyncMock(return_value=None)
+ loop._run_worker_pull = AsyncMock(return_value=None)
+
+ await loop.start()
+ await asyncio.sleep(0)
+
+ loop._ensure_pool_subscription.assert_awaited_once()
+ loop._ensure_per_worker_subscription.assert_not_awaited()
+ loop._ensure_cancel_subscription.assert_not_awaited()
+ assert loop._worker_sub is None
+ assert loop._worker_pull_task is None
+
+ if loop._pull_task is not None:
+ await asyncio.gather(loop._pull_task, return_exceptions=True)
+
+ @pytest.mark.asyncio
+ async def test_start_preserves_generation_direct_dispatch_subscription(self) -> None:
+ registry = MagicMock()
+ registry.model_names = ["test/model"]
+ registry.get_config.return_value = _make_config(generate=True)
+
+ loop = _make_loop(registry=registry)
+ loop._migrate_per_model_streams = AsyncMock()
+ loop._ensure_pool_subscription = AsyncMock()
+
+ async def ensure_worker_subscription() -> None:
+ loop._worker_sub = AsyncMock()
+
+ loop._ensure_per_worker_subscription = AsyncMock(side_effect=ensure_worker_subscription)
+ loop._ensure_cancel_subscription = AsyncMock()
+ loop._prewarm_grammars = AsyncMock()
+ loop._run = AsyncMock(return_value=None)
+ loop._run_worker_pull = AsyncMock(return_value=None)
+
+ await loop.start()
+ await asyncio.sleep(0)
+
+ loop._ensure_pool_subscription.assert_awaited_once()
+ loop._ensure_per_worker_subscription.assert_awaited_once()
+ loop._ensure_cancel_subscription.assert_awaited_once()
+ assert loop._worker_sub is not None
+ assert loop._worker_pull_task is not None
+
+ await asyncio.gather(
+ *(task for task in (loop._pull_task, loop._worker_pull_task) if task is not None),
+ return_exceptions=True,
+ )
+
+ @pytest.mark.asyncio
+ async def test_encode_saturation_counts_queue_batches_not_generation_streams(self) -> None:
+ registry = MagicMock()
+ registry.model_names = ["test/model"]
+ registry.get_config.return_value = _make_config(generate=False)
+
+ loop = _make_loop(registry=registry)
+ loop._streaming_processor.in_flight_count = MagicMock(return_value=7)
+ loop._effective_kv_budget = MagicMock(return_value=None)
+ loop.aggregate_max_batch_requests = MagicMock(return_value=4)
+ loop._saturation_gate.update = MagicMock(return_value=False)
+
+ task = asyncio.create_task(asyncio.sleep(60))
+ loop._in_flight_tasks.add(task)
+ try:
+ assert loop.in_flight_count() == 1
+ assert loop.update_saturation() is False
+ loop._saturation_gate.update.assert_called_once_with(in_flight=1, capacity=4)
+ finally:
+ task.cancel()
+ await asyncio.gather(task, return_exceptions=True)
+
+ def test_transport_class_probe_is_cached_for_status_updates(self) -> None:
+ registry = MagicMock()
+ registry.model_names = ["test/model"]
+ registry.get_config.return_value = _make_config(generate=False)
+
+ loop = _make_loop(registry=registry)
+
+ assert loop._pool_hosts_generation_model() is False
+ get_config_calls = registry.get_config.call_count
+
+ assert loop.in_flight_count() == 0
+ assert loop.in_flight_count() == 0
+ assert registry.get_config.call_count == get_config_calls
+
+ def test_generation_saturation_still_uses_kv_budget(self) -> None:
+ registry = MagicMock()
+ registry.model_names = ["test/model"]
+ registry.get_config.return_value = _make_config(generate=True)
+
+ loop = _make_loop(registry=registry)
+ loop._effective_kv_budget = MagicMock(return_value=100)
+ loop._streaming_processor.kv_reserved_tokens = MagicMock(return_value=44)
+ loop._saturation_gate.update = MagicMock(return_value=True)
+
+ assert loop.update_saturation() is True
+ loop._saturation_gate.update.assert_called_once_with(in_flight=44, capacity=100)
+
+ @pytest.mark.asyncio
+ async def test_add_model_enables_generation_direct_dispatch_after_hot_reload(self) -> None:
+ registry = MagicMock()
+ registry.model_names = ["test/model"]
+ registry.get_config.return_value = _make_config(generate=True)
+
+ loop = _make_loop(registry=registry)
+ loop._running = True
+ loop._hosts_generation_model = False
+
+ async def ensure_worker_subscription() -> None:
+ loop._worker_sub = AsyncMock()
+
+ loop._ensure_per_worker_subscription = AsyncMock(side_effect=ensure_worker_subscription)
+ loop._rebind_pool_subscription = AsyncMock()
+ loop._ensure_cancel_subscription = AsyncMock()
+ loop._run_worker_pull = AsyncMock(return_value=None)
+
+ await loop.add_model("test/model")
+ await asyncio.sleep(0)
+
+ loop._ensure_per_worker_subscription.assert_awaited_once()
+ loop._rebind_pool_subscription.assert_awaited_once()
+ loop._ensure_cancel_subscription.assert_awaited_once()
+ assert loop._worker_pull_task is not None
+
+ await asyncio.gather(loop._worker_pull_task, return_exceptions=True)
+
+ @pytest.mark.asyncio
+ async def test_add_model_rebinds_pool_fallback_when_direct_dispatch_setup_fails(self) -> None:
+ registry = MagicMock()
+ registry.model_names = ["test/model"]
+ registry.get_config.return_value = _make_config(generate=True)
+
+ loop = _make_loop(registry=registry)
+ loop._running = True
+ loop._hosts_generation_model = False
+ loop._ensure_per_worker_subscription = AsyncMock(side_effect=RuntimeError("nats unavailable"))
+ loop._rebind_pool_subscription = AsyncMock()
+ loop._ensure_cancel_subscription = AsyncMock()
+
+ await loop.add_model("test/model")
+
+ loop._ensure_per_worker_subscription.assert_awaited_once()
+ loop._rebind_pool_subscription.assert_awaited_once()
+ loop._ensure_cancel_subscription.assert_awaited_once()
+ assert loop._worker_pull_task is None
+
+ @pytest.mark.asyncio
+ async def test_rebind_pool_subscription_recreates_existing_pool_consumer(self) -> None:
+ loop = _make_loop()
+ pool_sub = AsyncMock()
+ loop._pool_sub = pool_sub
+ loop._ensure_pool_subscription = AsyncMock()
+
+ await loop._rebind_pool_subscription(reason="test")
+
+ pool_sub.unsubscribe.assert_awaited_once()
+ loop._ensure_pool_subscription.assert_awaited_once()
+ assert loop._pool_sub is None
+
class TestProcessEncodeItem:
"""Verify encode item goes through EncodePipeline.run_encode, result published."""
diff --git a/packages/sie_ts_sdk/package.json b/packages/sie_ts_sdk/package.json
index e947d5c21..be3f02c90 100644
--- a/packages/sie_ts_sdk/package.json
+++ b/packages/sie_ts_sdk/package.json
@@ -1,6 +1,6 @@
{
"name": "@superlinked/sie-sdk",
- "version": "0.4.0",
+ "version": "0.4.1",
"description": "Official TypeScript SDK for SIE (Search Inference Engine)",
"type": "module",
"main": "./dist/index.cjs",
diff --git a/packages/sie_ts_sdk/src/version.ts b/packages/sie_ts_sdk/src/version.ts
index b4ab651c3..8cdaff0b9 100644
--- a/packages/sie_ts_sdk/src/version.ts
+++ b/packages/sie_ts_sdk/src/version.ts
@@ -1 +1 @@
-export const SDK_VERSION = "0.4.0"; // x-release-please-version
+export const SDK_VERSION = "0.4.1"; // x-release-please-version
diff --git a/pyproject.toml b/pyproject.toml
index ec564bcac..10f533912 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -73,18 +73,20 @@ override-dependencies = [
# Use CUDA PyTorch on Linux only
# explicit = true ensures only torch/torchvision use this index, not other packages
-# Using cu128 for PyTorch 2.9+ compatibility with xformers/flash-attn
+# Using cu129 — matches sglang's sgl-kernel cu129 wheels at
+# https://docs.sglang.ai/whl/cu129/ (the Modal validation image bakes
+# cuda-toolkit-12-9 to keep the runtime + JIT-compile path aligned).
[[tool.uv.index]]
-name = "pytorch-cu128"
-url = "https://download.pytorch.org/whl/cu128"
+name = "pytorch-cu129"
+url = "https://download.pytorch.org/whl/cu129"
explicit = true
[tool.uv.sources]
torch = [
- { index = "pytorch-cu128", marker = "sys_platform == 'linux'" },
+ { index = "pytorch-cu129", marker = "sys_platform == 'linux'" },
]
torchvision = [
- { index = "pytorch-cu128", marker = "sys_platform == 'linux'" },
+ { index = "pytorch-cu129", marker = "sys_platform == 'linux'" },
]
sie-server = { workspace = true }
sie-sdk = { workspace = true }
diff --git a/uv.lock b/uv.lock
index ba74f8122..7ccb597f6 100644
--- a/uv.lock
+++ b/uv.lock
@@ -39,7 +39,7 @@ dependencies = [
{ name = "pyyaml" },
{ name = "safetensors" },
{ name = "torch", version = "2.9.1", source = { registry = "https://pypi.org/simple" }, marker = "sys_platform != 'linux'" },
- { name = "torch", version = "2.9.1+cu128", source = { registry = "https://download.pytorch.org/whl/cu128" }, marker = "sys_platform == 'linux'" },
+ { name = "torch", version = "2.9.1+cu129", source = { registry = "https://download.pytorch.org/whl/cu129" }, marker = "sys_platform == 'linux'" },
]
sdist = { url = "https://files.pythonhosted.org/packages/ca/14/787e5498cd062640f0f3d92ef4ae4063174f76f9afd29d13fc52a319daae/accelerate-1.13.0.tar.gz", hash = "sha256:d631b4e0f5b3de4aff2d7e9e6857d164810dfc3237d54d017f075122d057b236", size = 402835 }
wheels = [
@@ -999,10 +999,10 @@ dependencies = [
{ name = "rtree" },
{ name = "scipy" },
{ name = "torch", version = "2.9.1", source = { registry = "https://pypi.org/simple" }, marker = "sys_platform != 'linux'" },
- { name = "torch", version = "2.9.1+cu128", source = { registry = "https://download.pytorch.org/whl/cu128" }, marker = "sys_platform == 'linux'" },
- { name = "torchvision", version = "0.24.1", source = { registry = "https://download.pytorch.org/whl/cu128" }, marker = "platform_machine == 'aarch64' and sys_platform == 'linux'" },
+ { name = "torch", version = "2.9.1+cu129", source = { registry = "https://download.pytorch.org/whl/cu129" }, marker = "sys_platform == 'linux'" },
+ { name = "torchvision", version = "0.24.1", source = { registry = "https://download.pytorch.org/whl/cu129" }, marker = "platform_machine == 'aarch64' and sys_platform == 'linux'" },
{ name = "torchvision", version = "0.24.1", source = { registry = "https://pypi.org/simple" }, marker = "sys_platform != 'linux'" },
- { name = "torchvision", version = "0.24.1+cu128", source = { registry = "https://download.pytorch.org/whl/cu128" }, marker = "platform_machine != 'aarch64' and sys_platform == 'linux'" },
+ { name = "torchvision", version = "0.24.1+cu129", source = { registry = "https://download.pytorch.org/whl/cu129" }, marker = "platform_machine != 'aarch64' and sys_platform == 'linux'" },
{ name = "tqdm" },
{ name = "typer" },
{ name = "websockets" },
@@ -1061,10 +1061,10 @@ dependencies = [
{ name = "rtree" },
{ name = "safetensors", extra = ["torch"] },
{ name = "torch", version = "2.9.1", source = { registry = "https://pypi.org/simple" }, marker = "sys_platform != 'linux'" },
- { name = "torch", version = "2.9.1+cu128", source = { registry = "https://download.pytorch.org/whl/cu128" }, marker = "sys_platform == 'linux'" },
- { name = "torchvision", version = "0.24.1", source = { registry = "https://download.pytorch.org/whl/cu128" }, marker = "platform_machine == 'aarch64' and sys_platform == 'linux'" },
+ { name = "torch", version = "2.9.1+cu129", source = { registry = "https://download.pytorch.org/whl/cu129" }, marker = "sys_platform == 'linux'" },
+ { name = "torchvision", version = "0.24.1", source = { registry = "https://download.pytorch.org/whl/cu129" }, marker = "platform_machine == 'aarch64' and sys_platform == 'linux'" },
{ name = "torchvision", version = "0.24.1", source = { registry = "https://pypi.org/simple" }, marker = "sys_platform != 'linux'" },
- { name = "torchvision", version = "0.24.1+cu128", source = { registry = "https://download.pytorch.org/whl/cu128" }, marker = "platform_machine != 'aarch64' and sys_platform == 'linux'" },
+ { name = "torchvision", version = "0.24.1+cu129", source = { registry = "https://download.pytorch.org/whl/cu129" }, marker = "platform_machine != 'aarch64' and sys_platform == 'linux'" },
{ name = "tqdm" },
{ name = "transformers" },
]
@@ -1294,7 +1294,7 @@ dependencies = [
{ name = "sentence-transformers" },
{ name = "sentencepiece" },
{ name = "torch", version = "2.9.1", source = { registry = "https://pypi.org/simple" }, marker = "sys_platform != 'linux'" },
- { name = "torch", version = "2.9.1+cu128", source = { registry = "https://download.pytorch.org/whl/cu128" }, marker = "sys_platform == 'linux'" },
+ { name = "torch", version = "2.9.1+cu129", source = { registry = "https://download.pytorch.org/whl/cu129" }, marker = "sys_platform == 'linux'" },
{ name = "transformers" },
]
sdist = { url = "https://files.pythonhosted.org/packages/07/51/22dc9c448577542b3c3d75ae48eda0a97dfa29552a56cddd87437fec5940/flagembedding-1.4.0.tar.gz", hash = "sha256:2079c14ecf0341d64519785e53c0401122a752e5b6a0ac497f23c02f0d21b3b9", size = 175024 }
@@ -1304,14 +1304,14 @@ wheels = [
[[package]]
name = "flash-attn"
-version = "2.7.4+cu128torch2.9"
-source = { url = "https://github.com/mjun0812/flash-attention-prebuild-wheels/releases/download/v0.7.0/flash_attn-2.7.4+cu128torch2.9-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl" }
+version = "2.7.4+cu129torch2.9"
+source = { url = "https://github.com/mjun0812/flash-attention-prebuild-wheels/releases/download/v0.7.11/flash_attn-2.7.4+cu129torch2.9-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl" }
dependencies = [
{ name = "einops", marker = "sys_platform == 'linux'" },
- { name = "torch", version = "2.9.1+cu128", source = { registry = "https://download.pytorch.org/whl/cu128" }, marker = "sys_platform == 'linux'" },
+ { name = "torch", version = "2.9.1+cu129", source = { registry = "https://download.pytorch.org/whl/cu129" }, marker = "sys_platform == 'linux'" },
]
wheels = [
- { url = "https://github.com/mjun0812/flash-attention-prebuild-wheels/releases/download/v0.7.0/flash_attn-2.7.4+cu128torch2.9-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:20f1ec17ba6a7846d539d6f1fe9eda1948ec6fdaca83d8c96cdc687455ef077a" },
+ { url = "https://github.com/mjun0812/flash-attention-prebuild-wheels/releases/download/v0.7.11/flash_attn-2.7.4+cu129torch2.9-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:0a8f6219e61f8ff923cfd2cdad105d95a66106a6c9e754486d778c3a25e7707f" },
]
[package.metadata]
@@ -1477,7 +1477,7 @@ dependencies = [
{ name = "numpy" },
{ name = "scikit-learn" },
{ name = "torch", version = "2.9.1", source = { registry = "https://pypi.org/simple" }, marker = "sys_platform != 'linux'" },
- { name = "torch", version = "2.9.1+cu128", source = { registry = "https://download.pytorch.org/whl/cu128" }, marker = "sys_platform == 'linux'" },
+ { name = "torch", version = "2.9.1+cu129", source = { registry = "https://download.pytorch.org/whl/cu129" }, marker = "sys_platform == 'linux'" },
{ name = "transformers" },
]
sdist = { url = "https://files.pythonhosted.org/packages/f5/f6/dae3851957243e0359c9c06387be430ec1df0d804a270c5eddd00e63ff44/gliclass-0.1.15.tar.gz", hash = "sha256:9f2d578dd0b898c8d48ae9e377a70c72b9e3e24bd0adc047a14455eca273eba9", size = 46286 }
@@ -1494,7 +1494,7 @@ dependencies = [
{ name = "onnxruntime" },
{ name = "sentencepiece" },
{ name = "torch", version = "2.9.1", source = { registry = "https://pypi.org/simple" }, marker = "sys_platform != 'linux'" },
- { name = "torch", version = "2.9.1+cu128", source = { registry = "https://download.pytorch.org/whl/cu128" }, marker = "sys_platform == 'linux'" },
+ { name = "torch", version = "2.9.1+cu129", source = { registry = "https://download.pytorch.org/whl/cu129" }, marker = "sys_platform == 'linux'" },
{ name = "tqdm" },
{ name = "transformers" },
]
@@ -1512,7 +1512,7 @@ dependencies = [
{ name = "huggingface-hub" },
{ name = "seqeval" },
{ name = "torch", version = "2.9.1", source = { registry = "https://pypi.org/simple" }, marker = "sys_platform != 'linux'" },
- { name = "torch", version = "2.9.1+cu128", source = { registry = "https://download.pytorch.org/whl/cu128" }, marker = "sys_platform == 'linux'" },
+ { name = "torch", version = "2.9.1+cu129", source = { registry = "https://download.pytorch.org/whl/cu129" }, marker = "sys_platform == 'linux'" },
{ name = "tqdm" },
{ name = "transformers" },
]
@@ -3253,16 +3253,16 @@ dependencies = [
{ name = "scipy" },
{ name = "sentence-transformers" },
{ name = "torch", version = "2.9.1", source = { registry = "https://pypi.org/simple" }, marker = "sys_platform != 'linux'" },
- { name = "torch", version = "2.9.1+cu128", source = { registry = "https://download.pytorch.org/whl/cu128" }, marker = "sys_platform == 'linux'" },
+ { name = "torch", version = "2.9.1+cu129", source = { registry = "https://download.pytorch.org/whl/cu129" }, marker = "sys_platform == 'linux'" },
{ name = "tqdm" },
{ name = "typing-extensions" },
]
[package.optional-dependencies]
image = [
- { name = "torchvision", version = "0.24.1", source = { registry = "https://download.pytorch.org/whl/cu128" }, marker = "platform_machine == 'aarch64' and sys_platform == 'linux'" },
+ { name = "torchvision", version = "0.24.1", source = { registry = "https://download.pytorch.org/whl/cu129" }, marker = "platform_machine == 'aarch64' and sys_platform == 'linux'" },
{ name = "torchvision", version = "0.24.1", source = { registry = "https://pypi.org/simple" }, marker = "sys_platform != 'linux'" },
- { name = "torchvision", version = "0.24.1+cu128", source = { registry = "https://download.pytorch.org/whl/cu128" }, marker = "platform_machine != 'aarch64' and sys_platform == 'linux'" },
+ { name = "torchvision", version = "0.24.1+cu129", source = { registry = "https://download.pytorch.org/whl/cu129" }, marker = "platform_machine != 'aarch64' and sys_platform == 'linux'" },
{ name = "transformers", extra = ["torch-vision", "vision"] },
]
@@ -3470,38 +3470,38 @@ wheels = [
[[package]]
name = "nvidia-cublas-cu12"
-version = "12.8.4.1"
+version = "12.9.1.4"
source = { registry = "https://pypi.org/simple" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/29/99/db44d685f0e257ff0e213ade1964fc459b4a690a73293220e98feb3307cf/nvidia_cublas_cu12-12.8.4.1-py3-none-manylinux_2_27_aarch64.whl", hash = "sha256:b86f6dd8935884615a0683b663891d43781b819ac4f2ba2b0c9604676af346d0", size = 590537124 },
- { url = "https://files.pythonhosted.org/packages/dc/61/e24b560ab2e2eaeb3c839129175fb330dfcfc29e5203196e5541a4c44682/nvidia_cublas_cu12-12.8.4.1-py3-none-manylinux_2_27_x86_64.whl", hash = "sha256:8ac4e771d5a348c551b2a426eda6193c19aa630236b418086020df5ba9667142", size = 594346921 },
+ { url = "https://files.pythonhosted.org/packages/82/6c/90d3f532f608a03a13c1d6c16c266ffa3828e8011b1549d3b61db2ad59f5/nvidia_cublas_cu12-12.9.1.4-py3-none-manylinux_2_27_aarch64.whl", hash = "sha256:7a950dae01add3b415a5a5cdc4ec818fb5858263e9cca59004bb99fdbbd3a5d6", size = 575006342 },
+ { url = "https://files.pythonhosted.org/packages/77/3c/aa88abe01f3be3d1f8f787d1d33dc83e76fec05945f9a28fbb41cfb99cd5/nvidia_cublas_cu12-12.9.1.4-py3-none-manylinux_2_27_x86_64.whl", hash = "sha256:453611eb21a7c1f2c2156ed9f3a45b691deda0440ec550860290dc901af5b4c2", size = 581242350 },
]
[[package]]
name = "nvidia-cuda-cupti-cu12"
-version = "12.8.90"
+version = "12.9.79"
source = { registry = "https://pypi.org/simple" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/d5/1f/b3bd73445e5cb342727fd24fe1f7b748f690b460acadc27ea22f904502c8/nvidia_cuda_cupti_cu12-12.8.90-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:4412396548808ddfed3f17a467b104ba7751e6b58678a4b840675c56d21cf7ed", size = 9533318 },
- { url = "https://files.pythonhosted.org/packages/f8/02/2adcaa145158bf1a8295d83591d22e4103dbfd821bcaf6f3f53151ca4ffa/nvidia_cuda_cupti_cu12-12.8.90-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:ea0cb07ebda26bb9b29ba82cda34849e73c166c18162d3913575b0c9db9a6182", size = 10248621 },
+ { url = "https://files.pythonhosted.org/packages/b4/78/351b5c8cdbd9a6b4fb0d6ee73fb176dcdc1b6b6ad47c2ffff5ae8ca4a1f7/nvidia_cuda_cupti_cu12-12.9.79-py3-none-manylinux_2_25_aarch64.whl", hash = "sha256:791853b030602c6a11d08b5578edfb957cadea06e9d3b26adbf8d036135a4afe", size = 10077166 },
+ { url = "https://files.pythonhosted.org/packages/c1/2e/b84e32197e33f39907b455b83395a017e697c07a449a2b15fd07fc1c9981/nvidia_cuda_cupti_cu12-12.9.79-py3-none-manylinux_2_25_x86_64.whl", hash = "sha256:096bcf334f13e1984ba36685ad4c1d6347db214de03dbb6eebb237b41d9d934f", size = 10814997 },
]
[[package]]
name = "nvidia-cuda-nvrtc-cu12"
-version = "12.8.93"
+version = "12.9.86"
source = { registry = "https://pypi.org/simple" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/05/6b/32f747947df2da6994e999492ab306a903659555dddc0fbdeb9d71f75e52/nvidia_cuda_nvrtc_cu12-12.8.93-py3-none-manylinux2010_x86_64.manylinux_2_12_x86_64.whl", hash = "sha256:a7756528852ef889772a84c6cd89d41dfa74667e24cca16bb31f8f061e3e9994", size = 88040029 },
- { url = "https://files.pythonhosted.org/packages/eb/d1/e50d0acaab360482034b84b6e27ee83c6738f7d32182b987f9c7a4e32962/nvidia_cuda_nvrtc_cu12-12.8.93-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:fc1fec1e1637854b4c0a65fb9a8346b51dd9ee69e61ebaccc82058441f15bce8", size = 43106076 },
+ { url = "https://files.pythonhosted.org/packages/b8/85/e4af82cc9202023862090bfca4ea827d533329e925c758f0cde964cb54b7/nvidia_cuda_nvrtc_cu12-12.9.86-py3-none-manylinux2010_x86_64.manylinux_2_12_x86_64.whl", hash = "sha256:210cf05005a447e29214e9ce50851e83fc5f4358df8b453155d5e1918094dcb4", size = 89568129 },
+ { url = "https://files.pythonhosted.org/packages/64/eb/c2295044b8f3b3b08860e2f6a912b702fc92568a167259df5dddb78f325e/nvidia_cuda_nvrtc_cu12-12.9.86-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:096d4de6bda726415dfaf3198d4f5c522b8e70139c97feef5cd2ca6d4cd9cead", size = 44528905 },
]
[[package]]
name = "nvidia-cuda-runtime-cu12"
-version = "12.8.90"
+version = "12.9.79"
source = { registry = "https://pypi.org/simple" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/7c/75/f865a3b236e4647605ea34cc450900854ba123834a5f1598e160b9530c3a/nvidia_cuda_runtime_cu12-12.8.90-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:52bf7bbee900262ffefe5e9d5a2a69a30d97e2bc5bb6cc866688caa976966e3d", size = 965265 },
- { url = "https://files.pythonhosted.org/packages/0d/9b/a997b638fcd068ad6e4d53b8551a7d30fe8b404d6f1804abf1df69838932/nvidia_cuda_runtime_cu12-12.8.90-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:adade8dcbd0edf427b7204d480d6066d33902cab2a4707dcfc48a2d0fd44ab90", size = 954765 },
+ { url = "https://files.pythonhosted.org/packages/bc/e0/0279bd94539fda525e0c8538db29b72a5a8495b0c12173113471d28bce78/nvidia_cuda_runtime_cu12-12.9.79-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:83469a846206f2a733db0c42e223589ab62fd2fabac4432d2f8802de4bded0a4", size = 3515012 },
+ { url = "https://files.pythonhosted.org/packages/bc/46/a92db19b8309581092a3add7e6fceb4c301a3fd233969856a8cbf042cd3c/nvidia_cuda_runtime_cu12-12.9.79-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:25bba2dfb01d48a9b59ca474a1ac43c6ebf7011f1b0b8cc44f54eb6ac48a96c3", size = 3493179 },
]
[[package]]
@@ -3518,37 +3518,37 @@ wheels = [
[[package]]
name = "nvidia-cufft-cu12"
-version = "11.3.3.83"
+version = "11.4.1.4"
source = { registry = "https://pypi.org/simple" }
dependencies = [
{ name = "nvidia-nvjitlink-cu12", marker = "sys_platform == 'linux'" },
]
wheels = [
- { url = "https://files.pythonhosted.org/packages/60/bc/7771846d3a0272026c416fbb7e5f4c1f146d6d80704534d0b187dd6f4800/nvidia_cufft_cu12-11.3.3.83-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:848ef7224d6305cdb2a4df928759dca7b1201874787083b6e7550dd6765ce69a", size = 193109211 },
- { url = "https://files.pythonhosted.org/packages/1f/13/ee4e00f30e676b66ae65b4f08cb5bcbb8392c03f54f2d5413ea99a5d1c80/nvidia_cufft_cu12-11.3.3.83-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:4d2dd21ec0b88cf61b62e6b43564355e5222e4a3fb394cac0db101f2dd0d4f74", size = 193118695 },
+ { url = "https://files.pythonhosted.org/packages/9b/2b/76445b0af890da61b501fde30650a1a4bd910607261b209cccb5235d3daa/nvidia_cufft_cu12-11.4.1.4-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:1a28c9b12260a1aa7a8fd12f5ebd82d027963d635ba82ff39a1acfa7c4c0fbcf", size = 200822453 },
+ { url = "https://files.pythonhosted.org/packages/95/f4/61e6996dd20481ee834f57a8e9dca28b1869366a135e0d42e2aa8493bdd4/nvidia_cufft_cu12-11.4.1.4-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:c67884f2a7d276b4b80eb56a79322a95df592ae5e765cf1243693365ccab4e28", size = 200877592 },
]
[[package]]
name = "nvidia-cufile-cu12"
-version = "1.13.1.3"
+version = "1.14.1.1"
source = { registry = "https://pypi.org/simple" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/bb/fe/1bcba1dfbfb8d01be8d93f07bfc502c93fa23afa6fd5ab3fc7c1df71038a/nvidia_cufile_cu12-1.13.1.3-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:1d069003be650e131b21c932ec3d8969c1715379251f8d23a1860554b1cb24fc", size = 1197834 },
- { url = "https://files.pythonhosted.org/packages/1e/f5/5607710447a6fe9fd9b3283956fceeee8a06cda1d2f56ce31371f595db2a/nvidia_cufile_cu12-1.13.1.3-py3-none-manylinux_2_27_aarch64.whl", hash = "sha256:4beb6d4cce47c1a0f1013d72e02b0994730359e17801d395bdcbf20cfb3bb00a", size = 1120705 },
+ { url = "https://files.pythonhosted.org/packages/ad/28/b960e06d705a440c030edd84e16888ee14c743390bdb2a6368e92ffe8ef8/nvidia_cufile_cu12-1.14.1.1-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:9552e2231792e94b1ff17bc99e958cc0e6bbbaa4a9d91fa2dbeed97716628fe6", size = 1210714 },
+ { url = "https://files.pythonhosted.org/packages/b9/d2/110af3a1f77999d5eebf6ffae5d2305ab839e53c76eec3696640cc25b35d/nvidia_cufile_cu12-1.14.1.1-py3-none-manylinux_2_27_aarch64.whl", hash = "sha256:8dea77590761e02cb6dd955a57cb6414c58aa3cb1b7adbf9919869a11509cf65", size = 1135994 },
]
[[package]]
name = "nvidia-curand-cu12"
-version = "10.3.9.90"
+version = "10.3.10.19"
source = { registry = "https://pypi.org/simple" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/45/5e/92aa15eca622a388b80fbf8375d4760738df6285b1e92c43d37390a33a9a/nvidia_curand_cu12-10.3.9.90-py3-none-manylinux_2_27_aarch64.whl", hash = "sha256:dfab99248034673b779bc6decafdc3404a8a6f502462201f2f31f11354204acd", size = 63625754 },
- { url = "https://files.pythonhosted.org/packages/fb/aa/6584b56dc84ebe9cf93226a5cde4d99080c8e90ab40f0c27bda7a0f29aa1/nvidia_curand_cu12-10.3.9.90-py3-none-manylinux_2_27_x86_64.whl", hash = "sha256:b32331d4f4df5d6eefa0554c565b626c7216f87a06a4f56fab27c3b68a830ec9", size = 63619976 },
+ { url = "https://files.pythonhosted.org/packages/14/1c/2a45afc614d99558d4a773fa740d8bb5471c8398eeed925fc0fcba020173/nvidia_curand_cu12-10.3.10.19-py3-none-manylinux_2_27_aarch64.whl", hash = "sha256:de663377feb1697e1d30ed587b07d5721fdd6d2015c738d7528a6002a6134d37", size = 68292066 },
+ { url = "https://files.pythonhosted.org/packages/31/44/193a0e171750ca9f8320626e8a1f2381e4077a65e69e2fb9708bd479e34a/nvidia_curand_cu12-10.3.10.19-py3-none-manylinux_2_27_x86_64.whl", hash = "sha256:49b274db4780d421bd2ccd362e1415c13887c53c214f0d4b761752b8f9f6aa1e", size = 68295626 },
]
[[package]]
name = "nvidia-cusolver-cu12"
-version = "11.7.3.90"
+version = "11.7.5.82"
source = { registry = "https://pypi.org/simple" }
dependencies = [
{ name = "nvidia-cublas-cu12", marker = "sys_platform == 'linux'" },
@@ -3556,20 +3556,20 @@ dependencies = [
{ name = "nvidia-nvjitlink-cu12", marker = "sys_platform == 'linux'" },
]
wheels = [
- { url = "https://files.pythonhosted.org/packages/c8/32/f7cd6ce8a7690544d084ea21c26e910a97e077c9b7f07bf5de623ee19981/nvidia_cusolver_cu12-11.7.3.90-py3-none-manylinux_2_27_aarch64.whl", hash = "sha256:db9ed69dbef9715071232caa9b69c52ac7de3a95773c2db65bdba85916e4e5c0", size = 267229841 },
- { url = "https://files.pythonhosted.org/packages/85/48/9a13d2975803e8cf2777d5ed57b87a0b6ca2cc795f9a4f59796a910bfb80/nvidia_cusolver_cu12-11.7.3.90-py3-none-manylinux_2_27_x86_64.whl", hash = "sha256:4376c11ad263152bd50ea295c05370360776f8c3427b30991df774f9fb26c450", size = 267506905 },
+ { url = "https://files.pythonhosted.org/packages/03/99/686ff9bf3a82a531c62b1a5c614476e8dfa24a9d89067aeedf3592ee4538/nvidia_cusolver_cu12-11.7.5.82-py3-none-manylinux_2_27_aarch64.whl", hash = "sha256:62efa83e4ace59a4c734d052bb72158e888aa7b770e1a5f601682f16fe5b4fd2", size = 337869834 },
+ { url = "https://files.pythonhosted.org/packages/33/40/79b0c64d44d6c166c0964ec1d803d067f4a145cca23e23925fd351d0e642/nvidia_cusolver_cu12-11.7.5.82-py3-none-manylinux_2_27_x86_64.whl", hash = "sha256:15da72d1340d29b5b3cf3fd100e3cd53421dde36002eda6ed93811af63c40d88", size = 338117415 },
]
[[package]]
name = "nvidia-cusparse-cu12"
-version = "12.5.8.93"
+version = "12.5.10.65"
source = { registry = "https://pypi.org/simple" }
dependencies = [
{ name = "nvidia-nvjitlink-cu12", marker = "sys_platform == 'linux'" },
]
wheels = [
- { url = "https://files.pythonhosted.org/packages/bc/f7/cd777c4109681367721b00a106f491e0d0d15cfa1fd59672ce580ce42a97/nvidia_cusparse_cu12-12.5.8.93-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:9b6c161cb130be1a07a27ea6923df8141f3c295852f4b260c65f18f3e0a091dc", size = 288117129 },
- { url = "https://files.pythonhosted.org/packages/c2/f5/e1854cb2f2bcd4280c44736c93550cc300ff4b8c95ebe370d0aa7d2b473d/nvidia_cusparse_cu12-12.5.8.93-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:1ec05d76bbbd8b61b06a80e1eaf8cf4959c3d4ce8e711b65ebd0443bb0ebb13b", size = 288216466 },
+ { url = "https://files.pythonhosted.org/packages/5e/6f/8710fbd17cdd1d0fc3fea7d36d5b65ce1933611c31e1861da330206b253a/nvidia_cusparse_cu12-12.5.10.65-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:221c73e7482dd93eda44e65ce567c031c07e2f93f6fa0ecd3ba876a195023e83", size = 366359408 },
+ { url = "https://files.pythonhosted.org/packages/12/46/b0fd4b04f86577921feb97d8e2cf028afe04f614d17fb5013de9282c9216/nvidia_cusparse_cu12-12.5.10.65-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:73060ce019ac064a057267c585bf1fd5a353734151f87472ff02b2c5c9984e78", size = 366465088 },
]
[[package]]
@@ -3601,11 +3601,11 @@ wheels = [
[[package]]
name = "nvidia-nvjitlink-cu12"
-version = "12.8.93"
+version = "12.9.86"
source = { registry = "https://pypi.org/simple" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/f6/74/86a07f1d0f42998ca31312f998bd3b9a7eff7f52378f4f270c8679c77fb9/nvidia_nvjitlink_cu12-12.8.93-py3-none-manylinux2010_x86_64.manylinux_2_12_x86_64.whl", hash = "sha256:81ff63371a7ebd6e6451970684f916be2eab07321b73c9d244dc2b4da7f73b88", size = 39254836 },
- { url = "https://files.pythonhosted.org/packages/2a/a2/8cee5da30d13430e87bf99bb33455d2724d0a4a9cb5d7926d80ccb96d008/nvidia_nvjitlink_cu12-12.8.93-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:adccd7161ace7261e01bb91e44e88da350895c270d23f744f0820c818b7229e7", size = 38386204 },
+ { url = "https://files.pythonhosted.org/packages/46/0c/c75bbfb967457a0b7670b8ad267bfc4fffdf341c074e0a80db06c24ccfd4/nvidia_nvjitlink_cu12-12.9.86-py3-none-manylinux2010_x86_64.manylinux_2_12_x86_64.whl", hash = "sha256:e3f1171dbdc83c5932a45f0f4c99180a70de9bd2718c1ab77d14104f6d7147f9", size = 39748338 },
+ { url = "https://files.pythonhosted.org/packages/97/bc/2dcba8e70cf3115b400fef54f213bcd6715a3195eba000f8330f11e40c45/nvidia_nvjitlink_cu12-12.9.86-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:994a05ef08ef4b0b299829cde613a424382aff7efb08a7172c1fa616cc3af2ca", size = 39514880 },
]
[[package]]
@@ -3619,11 +3619,11 @@ wheels = [
[[package]]
name = "nvidia-nvtx-cu12"
-version = "12.8.90"
+version = "12.9.79"
source = { registry = "https://pypi.org/simple" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/10/c0/1b303feea90d296f6176f32a2a70b5ef230f9bdeb3a72bddb0dc922dc137/nvidia_nvtx_cu12-12.8.90-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:d7ad891da111ebafbf7e015d34879f7112832fc239ff0d7d776b6cb685274615", size = 91161 },
- { url = "https://files.pythonhosted.org/packages/a2/eb/86626c1bbc2edb86323022371c39aa48df6fd8b0a1647bc274577f72e90b/nvidia_nvtx_cu12-12.8.90-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:5b17e2001cc0d751a5bc2c6ec6d26ad95913324a4adb86788c944f8ce9ba441f", size = 89954 },
+ { url = "https://files.pythonhosted.org/packages/86/ed/bb230dce7741f2778ba2ae3e8778fdb8bc58eee9fd95f07bf7b2d18e8081/nvidia_nvtx_cu12-12.9.79-py3-none-manylinux1_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:fec150986817f2b4e7eed72ed059f2dcb9ba3856b9a96134e448eac946a6952f", size = 85504 },
+ { url = "https://files.pythonhosted.org/packages/c4/e4/82155e4aaedb41621087ba219c95e99c5e417f37a7649b4fb6ec32dcb14d/nvidia_nvtx_cu12-12.9.79-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:d1f258e752294acdb4f61c3d31fee87bd0f60e459f1e2f624376369b524cd15d", size = 86120 },
]
[[package]]
@@ -3735,10 +3735,10 @@ dependencies = [
{ name = "safetensors" },
{ name = "timm" },
{ name = "torch", version = "2.9.1", source = { registry = "https://pypi.org/simple" }, marker = "sys_platform != 'linux'" },
- { name = "torch", version = "2.9.1+cu128", source = { registry = "https://download.pytorch.org/whl/cu128" }, marker = "sys_platform == 'linux'" },
- { name = "torchvision", version = "0.24.1", source = { registry = "https://download.pytorch.org/whl/cu128" }, marker = "platform_machine == 'aarch64' and sys_platform == 'linux'" },
+ { name = "torch", version = "2.9.1+cu129", source = { registry = "https://download.pytorch.org/whl/cu129" }, marker = "sys_platform == 'linux'" },
+ { name = "torchvision", version = "0.24.1", source = { registry = "https://download.pytorch.org/whl/cu129" }, marker = "platform_machine == 'aarch64' and sys_platform == 'linux'" },
{ name = "torchvision", version = "0.24.1", source = { registry = "https://pypi.org/simple" }, marker = "sys_platform != 'linux'" },
- { name = "torchvision", version = "0.24.1+cu128", source = { registry = "https://download.pytorch.org/whl/cu128" }, marker = "platform_machine != 'aarch64' and sys_platform == 'linux'" },
+ { name = "torchvision", version = "0.24.1+cu129", source = { registry = "https://download.pytorch.org/whl/cu129" }, marker = "platform_machine != 'aarch64' and sys_platform == 'linux'" },
{ name = "tqdm" },
]
sdist = { url = "https://files.pythonhosted.org/packages/6d/7b/fd38dfd522968135dce71d0b543c2ae776f9c8e27df6ad46b63bab09eef7/open_clip_torch-2.32.0.tar.gz", hash = "sha256:0220bc111162527eb738c1fe20dbfd6ea45dfe44726b54a4de18d3945d8f2f00", size = 1491248 }
@@ -4122,7 +4122,7 @@ dependencies = [
{ name = "pyyaml" },
{ name = "safetensors" },
{ name = "torch", version = "2.9.1", source = { registry = "https://pypi.org/simple" }, marker = "sys_platform != 'linux'" },
- { name = "torch", version = "2.9.1+cu128", source = { registry = "https://download.pytorch.org/whl/cu128" }, marker = "sys_platform == 'linux'" },
+ { name = "torch", version = "2.9.1+cu129", source = { registry = "https://download.pytorch.org/whl/cu129" }, marker = "sys_platform == 'linux'" },
{ name = "tqdm" },
{ name = "transformers" },
]
@@ -5337,7 +5337,7 @@ torch = [
{ name = "numpy" },
{ name = "packaging" },
{ name = "torch", version = "2.9.1", source = { registry = "https://pypi.org/simple" }, marker = "sys_platform != 'linux'" },
- { name = "torch", version = "2.9.1+cu128", source = { registry = "https://download.pytorch.org/whl/cu128" }, marker = "sys_platform == 'linux'" },
+ { name = "torch", version = "2.9.1+cu129", source = { registry = "https://download.pytorch.org/whl/cu129" }, marker = "sys_platform == 'linux'" },
]
[[package]]
@@ -5404,7 +5404,7 @@ dependencies = [
{ name = "scikit-learn" },
{ name = "scipy" },
{ name = "torch", version = "2.9.1", source = { registry = "https://pypi.org/simple" }, marker = "sys_platform != 'linux'" },
- { name = "torch", version = "2.9.1+cu128", source = { registry = "https://download.pytorch.org/whl/cu128" }, marker = "sys_platform == 'linux'" },
+ { name = "torch", version = "2.9.1+cu129", source = { registry = "https://download.pytorch.org/whl/cu129" }, marker = "sys_platform == 'linux'" },
{ name = "tqdm" },
{ name = "transformers" },
{ name = "typing-extensions" },
@@ -5614,7 +5614,7 @@ dev = [
[[package]]
name = "sie-admin"
-version = "0.4.0"
+version = "0.4.1"
source = { editable = "packages/sie_admin" }
dependencies = [
{ name = "httpx" },
@@ -5647,7 +5647,7 @@ requires-dist = [
[[package]]
name = "sie-bench"
-version = "0.4.0"
+version = "0.4.1"
source = { editable = "packages/sie_bench" }
dependencies = [
{ name = "aiohttp" },
@@ -5730,7 +5730,7 @@ requires-dist = [
[[package]]
name = "sie-chroma"
-version = "0.4.0"
+version = "0.4.1"
source = { editable = "integrations/sie_chroma" }
dependencies = [
{ name = "chromadb" },
@@ -5802,7 +5802,7 @@ dev = [
[[package]]
name = "sie-crewai"
-version = "0.4.0"
+version = "0.4.1"
source = { editable = "integrations/sie_crewai" }
dependencies = [
{ name = "crewai" },
@@ -5827,7 +5827,7 @@ requires-dist = [
[[package]]
name = "sie-dspy"
-version = "0.4.0"
+version = "0.4.1"
source = { editable = "integrations/sie_dspy" }
dependencies = [
{ name = "dspy" },
@@ -5852,7 +5852,7 @@ requires-dist = [
[[package]]
name = "sie-haystack"
-version = "0.4.0"
+version = "0.4.1"
source = { editable = "integrations/sie_haystack" }
dependencies = [
{ name = "haystack-ai" },
@@ -5879,7 +5879,7 @@ requires-dist = [
[[package]]
name = "sie-lancedb"
-version = "0.4.0"
+version = "0.4.1"
source = { editable = "integrations/sie_lancedb" }
dependencies = [
{ name = "lancedb" },
@@ -5906,7 +5906,7 @@ requires-dist = [
[[package]]
name = "sie-langchain"
-version = "0.4.0"
+version = "0.4.1"
source = { editable = "integrations/sie_langchain" }
dependencies = [
{ name = "langchain-core" },
@@ -5933,7 +5933,7 @@ requires-dist = [
[[package]]
name = "sie-llamaindex"
-version = "0.4.0"
+version = "0.4.1"
source = { editable = "integrations/sie_llamaindex" }
dependencies = [
{ name = "llama-index-core" },
@@ -5960,7 +5960,7 @@ requires-dist = [
[[package]]
name = "sie-qdrant"
-version = "0.4.0"
+version = "0.4.1"
source = { editable = "integrations/sie_qdrant" }
dependencies = [
{ name = "qdrant-client" },
@@ -5983,7 +5983,7 @@ requires-dist = [
[[package]]
name = "sie-sdk"
-version = "0.4.0"
+version = "0.4.1"
source = { editable = "packages/sie_sdk" }
dependencies = [
{ name = "aiohttp" },
@@ -6032,7 +6032,7 @@ requires-dist = [
[[package]]
name = "sie-server"
-version = "0.4.0"
+version = "0.4.1"
source = { editable = "packages/sie_server" }
dependencies = [
{ name = "docling" },
@@ -6068,10 +6068,10 @@ dependencies = [
{ name = "timm" },
{ name = "tokenizers" },
{ name = "torch", version = "2.9.1", source = { registry = "https://pypi.org/simple" }, marker = "sys_platform != 'linux'" },
- { name = "torch", version = "2.9.1+cu128", source = { registry = "https://download.pytorch.org/whl/cu128" }, marker = "sys_platform == 'linux'" },
- { name = "torchvision", version = "0.24.1", source = { registry = "https://download.pytorch.org/whl/cu128" }, marker = "platform_machine == 'aarch64' and sys_platform == 'linux'" },
+ { name = "torch", version = "2.9.1+cu129", source = { registry = "https://download.pytorch.org/whl/cu129" }, marker = "sys_platform == 'linux'" },
+ { name = "torchvision", version = "0.24.1", source = { registry = "https://download.pytorch.org/whl/cu129" }, marker = "platform_machine == 'aarch64' and sys_platform == 'linux'" },
{ name = "torchvision", version = "0.24.1", source = { registry = "https://pypi.org/simple" }, marker = "sys_platform != 'linux'" },
- { name = "torchvision", version = "0.24.1+cu128", source = { registry = "https://download.pytorch.org/whl/cu128" }, marker = "platform_machine != 'aarch64' and sys_platform == 'linux'" },
+ { name = "torchvision", version = "0.24.1+cu129", source = { registry = "https://download.pytorch.org/whl/cu129" }, marker = "platform_machine != 'aarch64' and sys_platform == 'linux'" },
{ name = "transformers" },
{ name = "typer" },
{ name = "uvicorn", extra = ["standard"] },
@@ -6099,7 +6099,7 @@ requires-dist = [
{ name = "einops", specifier = ">=0.8,<1" },
{ name = "fastapi", specifier = ">=0.115,<1" },
{ name = "flagembedding", specifier = ">=1.3,<2" },
- { name = "flash-attn", marker = "sys_platform == 'linux' and extra == 'flash-attn'", url = "https://github.com/mjun0812/flash-attention-prebuild-wheels/releases/download/v0.7.0/flash_attn-2.7.4+cu128torch2.9-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl" },
+ { name = "flash-attn", marker = "sys_platform == 'linux' and extra == 'flash-attn'", url = "https://github.com/mjun0812/flash-attention-prebuild-wheels/releases/download/v0.7.11/flash_attn-2.7.4+cu129torch2.9-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl" },
{ name = "gliclass", specifier = ">=0.1,<1" },
{ name = "gliner", specifier = ">=0.2,<1" },
{ name = "glirel", specifier = ">=1.0,<2" },
@@ -6131,9 +6131,9 @@ requires-dist = [
{ name = "timm", specifier = ">=0.9.0,<1.0" },
{ name = "tokenizers", specifier = ">=0.20,<1" },
{ name = "torch", marker = "sys_platform != 'linux'", specifier = ">=2.9,<2.10" },
- { name = "torch", marker = "sys_platform == 'linux'", specifier = ">=2.9,<2.10", index = "https://download.pytorch.org/whl/cu128" },
+ { name = "torch", marker = "sys_platform == 'linux'", specifier = ">=2.9,<2.10", index = "https://download.pytorch.org/whl/cu129" },
{ name = "torchvision", marker = "sys_platform != 'linux'", specifier = ">=0.18,<1" },
- { name = "torchvision", marker = "sys_platform == 'linux'", specifier = ">=0.18,<1", index = "https://download.pytorch.org/whl/cu128" },
+ { name = "torchvision", marker = "sys_platform == 'linux'", specifier = ">=0.18,<1", index = "https://download.pytorch.org/whl/cu129" },
{ name = "transformers", specifier = ">=4.57,<5" },
{ name = "typer", specifier = ">=0.14,<1" },
{ name = "uvicorn", extras = ["standard"], specifier = ">=0.32,<1" },
@@ -6147,7 +6147,7 @@ dev = []
[[package]]
name = "sie-weaviate"
-version = "0.4.0"
+version = "0.4.1"
source = { editable = "integrations/sie_weaviate" }
dependencies = [
{ name = "sie-sdk" },
@@ -6487,10 +6487,10 @@ dependencies = [
{ name = "pyyaml" },
{ name = "safetensors" },
{ name = "torch", version = "2.9.1", source = { registry = "https://pypi.org/simple" }, marker = "sys_platform != 'linux'" },
- { name = "torch", version = "2.9.1+cu128", source = { registry = "https://download.pytorch.org/whl/cu128" }, marker = "sys_platform == 'linux'" },
- { name = "torchvision", version = "0.24.1", source = { registry = "https://download.pytorch.org/whl/cu128" }, marker = "platform_machine == 'aarch64' and sys_platform == 'linux'" },
+ { name = "torch", version = "2.9.1+cu129", source = { registry = "https://download.pytorch.org/whl/cu129" }, marker = "sys_platform == 'linux'" },
+ { name = "torchvision", version = "0.24.1", source = { registry = "https://download.pytorch.org/whl/cu129" }, marker = "platform_machine == 'aarch64' and sys_platform == 'linux'" },
{ name = "torchvision", version = "0.24.1", source = { registry = "https://pypi.org/simple" }, marker = "sys_platform != 'linux'" },
- { name = "torchvision", version = "0.24.1+cu128", source = { registry = "https://download.pytorch.org/whl/cu128" }, marker = "platform_machine != 'aarch64' and sys_platform == 'linux'" },
+ { name = "torchvision", version = "0.24.1+cu129", source = { registry = "https://download.pytorch.org/whl/cu129" }, marker = "platform_machine != 'aarch64' and sys_platform == 'linux'" },
]
sdist = { url = "https://files.pythonhosted.org/packages/c5/ba/3d5f3381dc291d21114e707b39791f483431361f61402483d9839b61350d/timm-0.9.16.tar.gz", hash = "sha256:891e54f375d55adf31a71ab0c117761f0e472f9f3971858ecdd1e7376b7071e6", size = 2121824 }
wheels = [
@@ -6628,8 +6628,8 @@ wheels = [
[[package]]
name = "torch"
-version = "2.9.1+cu128"
-source = { registry = "https://download.pytorch.org/whl/cu128" }
+version = "2.9.1+cu129"
+source = { registry = "https://download.pytorch.org/whl/cu129" }
resolution-markers = [
"platform_machine != 'aarch64' and sys_platform == 'linux'",
"platform_machine == 'aarch64' and platform_python_implementation != 'CPython' and sys_platform == 'linux'",
@@ -6661,14 +6661,14 @@ dependencies = [
{ name = "typing-extensions", marker = "sys_platform == 'linux'" },
]
wheels = [
- { url = "https://download-r2.pytorch.org/whl/cu128/torch-2.9.1%2Bcu128-cp312-cp312-manylinux_2_28_aarch64.whl", hash = "sha256:1176f250311fa95cc3bca8077af323e0d73ea385ba266e096af82e7e2b91f256" },
- { url = "https://download-r2.pytorch.org/whl/cu128/torch-2.9.1%2Bcu128-cp312-cp312-manylinux_2_28_x86_64.whl", hash = "sha256:7cb4018f4ce68b61fd3ef87dc1c4ca520731c7b5b200e360ad47b612d7844063" },
+ { url = "https://download-r2.pytorch.org/whl/cu129/torch-2.9.1%2Bcu129-cp312-cp312-manylinux_2_28_aarch64.whl", hash = "sha256:c501c66fe5b0e2fc70f9d8a18e17a265f92ad1d1009dba03f5938d2f15a9066f" },
+ { url = "https://download-r2.pytorch.org/whl/cu129/torch-2.9.1%2Bcu129-cp312-cp312-manylinux_2_28_x86_64.whl", hash = "sha256:9968834a95e4b09f702549285f6210eade0d268b3b7e52b35aff1c6529fb8022" },
]
[[package]]
name = "torchvision"
version = "0.24.1"
-source = { registry = "https://download.pytorch.org/whl/cu128" }
+source = { registry = "https://download.pytorch.org/whl/cu129" }
resolution-markers = [
"platform_machine == 'aarch64' and platform_python_implementation != 'CPython' and sys_platform == 'linux'",
"platform_machine == 'aarch64' and platform_python_implementation == 'CPython' and sys_platform == 'linux'",
@@ -6676,10 +6676,10 @@ resolution-markers = [
dependencies = [
{ name = "numpy", marker = "platform_machine == 'aarch64' and sys_platform == 'linux'" },
{ name = "pillow", marker = "platform_machine == 'aarch64' and sys_platform == 'linux'" },
- { name = "torch", version = "2.9.1+cu128", source = { registry = "https://download.pytorch.org/whl/cu128" }, marker = "platform_machine == 'aarch64' and sys_platform == 'linux'" },
+ { name = "torch", version = "2.9.1+cu129", source = { registry = "https://download.pytorch.org/whl/cu129" }, marker = "platform_machine == 'aarch64' and sys_platform == 'linux'" },
]
wheels = [
- { url = "https://download-r2.pytorch.org/whl/cu128/torchvision-0.24.1-cp312-cp312-manylinux_2_28_aarch64.whl", hash = "sha256:bd33a7cc32122bc92919f95ea0e7bf73588e71be0ca2c5cad8fb7eebd333e8dd" },
+ { url = "https://download-r2.pytorch.org/whl/cu129/torchvision-0.24.1-cp312-cp312-manylinux_2_28_aarch64.whl", hash = "sha256:dc8fd658fff5d5fccc466d93fc21442fb2e3566fb893d7b606307e16c453e162" },
]
[[package]]
@@ -6701,18 +6701,18 @@ wheels = [
[[package]]
name = "torchvision"
-version = "0.24.1+cu128"
-source = { registry = "https://download.pytorch.org/whl/cu128" }
+version = "0.24.1+cu129"
+source = { registry = "https://download.pytorch.org/whl/cu129" }
resolution-markers = [
"platform_machine != 'aarch64' and sys_platform == 'linux'",
]
dependencies = [
{ name = "numpy", marker = "platform_machine != 'aarch64' and sys_platform == 'linux'" },
{ name = "pillow", marker = "platform_machine != 'aarch64' and sys_platform == 'linux'" },
- { name = "torch", version = "2.9.1+cu128", source = { registry = "https://download.pytorch.org/whl/cu128" }, marker = "platform_machine != 'aarch64' and sys_platform == 'linux'" },
+ { name = "torch", version = "2.9.1+cu129", source = { registry = "https://download.pytorch.org/whl/cu129" }, marker = "platform_machine != 'aarch64' and sys_platform == 'linux'" },
]
wheels = [
- { url = "https://download-r2.pytorch.org/whl/cu128/torchvision-0.24.1%2Bcu128-cp312-cp312-manylinux_2_28_x86_64.whl", hash = "sha256:cf84eae1d2d12a7d261a7496eca00dd927b71792011b1e84d4162c950eb3201d" },
+ { url = "https://download-r2.pytorch.org/whl/cu129/torchvision-0.24.1%2Bcu129-cp312-cp312-manylinux_2_28_x86_64.whl", hash = "sha256:b91365669f0ca775e49f941fd542e89759e544bf5982b043b9e447f785179856" },
]
[[package]]
@@ -6777,9 +6777,9 @@ wheels = [
[package.optional-dependencies]
torch-vision = [
{ name = "pillow" },
- { name = "torchvision", version = "0.24.1", source = { registry = "https://download.pytorch.org/whl/cu128" }, marker = "platform_machine == 'aarch64' and sys_platform == 'linux'" },
+ { name = "torchvision", version = "0.24.1", source = { registry = "https://download.pytorch.org/whl/cu129" }, marker = "platform_machine == 'aarch64' and sys_platform == 'linux'" },
{ name = "torchvision", version = "0.24.1", source = { registry = "https://pypi.org/simple" }, marker = "sys_platform != 'linux'" },
- { name = "torchvision", version = "0.24.1+cu128", source = { registry = "https://download.pytorch.org/whl/cu128" }, marker = "platform_machine != 'aarch64' and sys_platform == 'linux'" },
+ { name = "torchvision", version = "0.24.1+cu129", source = { registry = "https://download.pytorch.org/whl/cu129" }, marker = "platform_machine != 'aarch64' and sys_platform == 'linux'" },
]
vision = [
{ name = "pillow" },
@@ -7383,7 +7383,7 @@ version = "0.0.33.post2"
source = { registry = "https://pypi.org/simple" }
dependencies = [
{ name = "numpy", marker = "sys_platform == 'linux'" },
- { name = "torch", version = "2.9.1+cu128", source = { registry = "https://download.pytorch.org/whl/cu128" }, marker = "sys_platform == 'linux'" },
+ { name = "torch", version = "2.9.1+cu129", source = { registry = "https://download.pytorch.org/whl/cu129" }, marker = "sys_platform == 'linux'" },
]
sdist = { url = "https://files.pythonhosted.org/packages/0b/69/403e963d35f1b0c52a1b3127e0bc4e94e7e50ecee8c6684a8abe40e6638e/xformers-0.0.33.post2.tar.gz", hash = "sha256:647ddf26578d2b8643230467ef1f0fbfef0bbe556a546bd27a70d4855d3433e1", size = 14783914 }
wheels = [