Skip to content

armgit / sie

Public Imported from GitHub
0

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

4.4 KB
Raw Blame
name: transformers5
priority: 5
default: false
# Only adapters verified to work with transformers 5.x belong here.
# Do NOT copy all default adapters — they may break with the newer version.
adapters:
- sie_server.adapters.lighton_ocr.adapter
- sie_server.adapters.glm_ocr
- sie_server.adapters.gliner2.classification
- sie_server.adapters.gliner2.decide
- sie_server.adapters.gliner2.decide_lora
- sie_server.adapters.gliner2.entities
- sie_server.adapters.privacy_filter.adapter
- sie_server.adapters.st_sparse_vision.adapter
# TopK-Embed-V1 multi-vector text + page-image models (Qwen3.5 backbone, transformers>=5.2).
- sie_server.adapters.topk_embed.adapter
# Parakeet-TDT speech-to-text (ParakeetForTDT).
- sie_server.adapters.parakeet.adapter
# Perplexity's native calibrated decision readout (Qwen3.8/Qwen3.5 architecture).
- sie_server.adapters.pplx_decider.adapter
- sie_server.adapters.pplx_decider.runtime_lora
- sie_server.adapters.decision.qwen
# SAM 3 open-vocabulary detection (Sam3Model / Sam3Processor exist only in transformers 5.x).
- sie_server.adapters.sam3.adapter
# EmbeddingGemma 2 text embeddings (EmbeddingGemma2Model). The class first
# shipped in transformers 5.19.0; see models/google__embeddinggemma-2.yaml.
- sie_server.adapters.embedding_gemma2.adapter
deps:
  # Transformers 5.x for models requiring newer architecture support
  # (e.g., LightOnOCR-2-1B needs LightOnOcrForConditionalGeneration,
  # GLM-OCR needs GlmOcrForConditionalGeneration). Floor raised to 5.14
  # for the visual-SPLADE family (custom modeling code built on 5.13+),
  # then 5.17 for Perplexity's pinned native Qwen decision checkpoint, then
  # 5.19: Parakeet-TDT refuses to load below 5.18 (padded rows turn into NaN
  # under eager attention), EmbeddingGemma2Model first shipped in 5.19.0, and
  # 5.19.0 is the version the v0.10.x images already ship. The saved locks
  # pin this floor exactly.
  transformers: '>=5.19,<6'
  # Includes multimodal SparseEncoder (image documents), with the local-code
  # trust boundary validated against this exact release.
  sentence-transformers: '==5.7.0'
  # Pin torch — flash-attn's unpinned torch dep can pull in 2.10+ which breaks torchvision
  torch: '>=2.9,<2.10'
  # Keep the compiled torchvision operators paired with torch 2.9.x. A broad
  # torchvision range can resolve 0.28.x, which imports against newer torch
  # ABIs but fails at runtime with missing operators on this lane.
  torchvision: '==0.24.1'
  # No huggingface-hub override: transformers 5.x's own metadata
  # pins it to >=1.3,<2.0. An override here was previously
  # unsatisfiable against that pin and broke `uv run` resolution.
  # Let transformers drive the version.
  pillow: ''
  # gliguard-LLMGuardrails-300M uses GLiNER2 classification APIs, and the
  # GLiNER2.5-Decide models need gliner2 2.x (AutoExtractor, boundary
  # architecture). Exact: the Decide adapter builds the task prompt with the
  # package's processor. GLiGuard's outputs are unchanged from 1.3.2. gliner2
  # 2.0 declares transformers<5 only for its `local` extra, which is not used;
  # the multilingual and 1B Decide checkpoints were saved with transformers 5.
  gliner2: '==2.0.0'
  # Privacy Filter's native checkpoint and calibrated decoder use the official
  # OPF implementation. An unrelated package named opf is not a substitute.
  opf:
    url: git+https://github.com/openai/privacy-filter@f7f00ca7fb869683eb732c010299d901457f19c3
  tiktoken: '==0.12.0'
  # Parakeet's feature extractor builds its mel filter bank with librosa and
  # refuses to load without it. Exact: the version Parakeet-TDT was validated with.
  librosa: '==1.0.0'
  # TopK-Embed-V1 packed path (adapters/topk_embed/packed.py): the Gated
  # DeltaNet chunked delta rule and causal conv (flash-linear-attention's
  # Triton kernels) and FlashAttention's varlen attention. CUDA only; without
  # them the adapter runs every input as its own padded row. fla-core, not the
  # flash-linear-attention meta-package, which registers extra AutoConfig
  # model types on import. Its only base dependency is einops; torch and
  # triton come from the shared venv.
  fla-core:
    version: '==0.5.2'
    marker: sys_platform == 'linux'
  # The prebuilt wheel the default bundle uses (torch 2.9, CUDA 12.9, cp312).
  flash-attn:
    url: https://huggingface.co/superlinked/sie-wheels/resolve/43a7ce6286d60d5b8feaad1417e20a412b4b761e/flash_attn-2.7.4+cu129torch2.9-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
    marker: sys_platform == 'linux'