Skip to content

OpenJev 1.0.0

Choose a tag to compare

@razorback16 razorback16 released this 04 Dec 06:42
· 5 commits to main since this release

OpenJev 1.0 has two top models, Perplexity's pplx-decider-v1.3 (new) and Google's DiffusionGemma,
both served from the openjev 1.0.0 image, plus Liquid AI's d1-2B and d1-3B (new) in
openjev-d1 1.0.0. OpenJev 0.7's other models keep their 0.7 images, unchanged, as compose
profiles. A 0.7 setup moves up with OPENJEV_BACKEND=diffusiongemma.

Models

  • Models go by their own names, pplx-decider-v1.3 and diffusiongemma-26b, for reads and text
    generation alike. openjev-latest names the server's default model. The old names
    openjev-1.0 and openjev-0.1 still work but are not listed in /v1/models.
  • pplx-decider-v1.3 (openjev-latest): Perplexity's
    pplx-decider-v1.3 (27B) on vLLM 0.34,
    as vLLM's own D3ForSequenceClassification. Prompts come from the checkpoint's own protocol
    code, and answers go through its calibrated temperature. Up to 32,768 tokens per request, text
    and images.
    • Isolated question layout by default (OPENJEV_DECIDER_MODE=isolated): the state is read once
      for all of a request's questions, as Perplexity trained the model, 2x to 8x faster than
      reading each question on its own (separate, still available).
    • On one 24 GB GPU at the full 32,768 tokens:
      razorback16/pplx-decider-v1.3-W4A16-GPTQ,
      int4 weights made with GPTQ on Decider's own prompts (scripts/decider/w4a16.py, 15 GiB),
      pinned to a revision. 97.7% top-answer agreement with Perplexity's runtime (isolated mode;
      bf16 98.4%), JevBench public 89.6%. A fixed 0.8 GB cache (OPENJEV_KV_CACHE_BYTES) holds 8
      sequences' Gated DeltaNet state, where vLLM's own sizing leaves none at 32k.
    • W8A8 (int8, two 24 GB GPUs) and FP8 (RTX PRO 6000) checkpoints made with scripts/decider:
      98.2% to 98.6% top-answer agreement in isolated mode, 99.3% in separate mode. A local
      checkpoint that isn't there stops the server at start with a message that says how to make it.
  • diffusiongemma-26b: Google's DiffusionGemma 26B-A4B moves from an October 2026 vLLM commit to
    vLLM 0.34, with the same two changes (docker/patches/vision_prefix_lm.py follows the helper
    vLLM 0.34 moved). Measured against 0.7.0 on an RTX PRO 6000 (724 answers): the same JevBench
    public accuracy (81.4%); 95.9% of top answers agree, where each version agrees with a rerun of
    itself on 98% to 98.5%; images agree 100%. Speed is the same from 2k-token states up; states of
    about 50 tokens take 10 ms longer (40 ms instead of 30 ms, one request at a time).
    • It now runs on 24 GB GPUs such as the RTX 3090. On GPUs without native FP8 (below compute
      capability 8.9) the KV cache is bf16, since vLLM's Triton attention refuses the checkpoint's
      FP8 cache there (OPENJEV_KV_CACHE_DTYPE sets it). OPENJEV_PROMPT_LOGPROB_CHUNK=256
      computes prompt logprobs a quarter as many tokens at a time as vLLM's 1,024 (1 GiB of
      logits), with the same logprobs, which leaves room for a KV cache at 32,768 tokens on one
      GPU. On one RTX 3090: JevBench public 81.4%.
  • d1-2b: Liquid AI's d1-2B in bf16 on Liquid AI's own
    transformers code (trust_remote_code, pinned revision), which reads all of a request's
    questions in one pass. Concurrent requests are batched into one forward pass, up to 8,192
    tokens (OPENJEV_D1_BATCH_TOKENS). JevBench public: 76.6%.
  • d1-3b: Liquid AI's d1-3B (3.1B, LFM2.5-VL-3B,
    32,768 tokens), in the same image and on the same code, with OPENJEV_BACKEND=d1-3b
    (OPENJEV_D1=d1-3b in compose). JevBench public: 74.9%.
    • The d1 image compiles the model with torch.compile, one layer at a time, and warms up a grid
      of request shapes before /health answers, so no request waits for a compile; a shape the
      warm-up missed is read uncompiled (OPENJEV_D1_COMPILE). The d1-cache volume keeps the
      kernels across restarts. GPU memory is then capped at the warm-up's peak plus 0.25 GiB
      (OPENJEV_D1_GPU_MEMORY sets it instead).
    • OPENJEV_DEVICE=cuda:0,cuda:1 splits d1-2B over two GPUs, about 2.8 GB on each, at about the
      speed of one. On two RTX 3090s, d1-2B reads a 100-token state at 104 req/s and a 1k-token
      state at 25 req/s (32 at a time). d1-3B runs on one GPU.

Running it

  • One docker-compose.yml for any models on any GPUs. Each model is a profile with its own
    container: decider, diffusiongemma, d1, and 0.7's laya, verdict, clm, jevk5 and
    clef. .env says which run and on which GPU (COMPOSE_PROFILES=decider,diffusiongemma,
    DECIDER_GPU=0, DIFFUSIONGEMMA_GPU=1), and docker compose up -d starts them.
  • A gateway container (razorback16/openjev-gateway, OPENJEV_BACKEND=gateway, no GPU) holds
    :8080. It finds which model containers are up and what each serves, and passes reads,
    decisions and text generation to the right one. /v1/models lists the models that are up, and
    openjev-latest names pplx-decider-v1.3 when it runs (OPENJEV_DEFAULT_MODEL).
  • pplx-decider-v1.3, DiffusionGemma and d1 take their settings from their GPU when they start
    (openjev/sizing.py), each one only when unset: on a 24 GB GPU the whole GPU (the int4 decider;
    DiffusionGemma at 32,768 tokens), on 64 GiB and up a fixed share sized on the RTX PRO 6000, so
    both fit with d1 beside them (the FP8 decider in half; DiffusionGemma at 65,536 tokens in
    0.35). A model that doesn't fit the memory free on its GPU stops with a message that says what
    to change. Models that share a GPU start one at a time.
  • One vLLM image, docker/Dockerfile, on vLLM 0.34 and a new base,
    openjev-base:cu130-torch2.14, serves both top models. OPENJEV_BACKEND picks one: decider
    (the default) or diffusiongemma (0.7's name, vllm, still works). It is published three
    times, the same layers with another default: openjev and openjev-decider
    (pplx-decider-v1.3) and openjev-diffusiongemma (DiffusionGemma). DiffusionGemma's 0.7.0
    image stays as openjev-diffusiongemma:0.7.0 (and openjev:0.7.0);
    docker/Dockerfile.diffusiongemma still builds it.

API

  • /health answers 503 (engine_dead) when the vLLM engine inside the server has died (a CUDA
    out-of-memory error, say) while the API server stays up, so the container's healthcheck fails
    and it can be restarted.
  • GET /health?routes=1 adds each routed container's own health, from its /health (2 s timeout,
    no read), so the gateway reports every model at once.

Fixes

  • An image that decodes from base64 but is not a valid image gets a 400 instead of a 500 from
    pplx-decider-v1.3, Clef and the MLX backend, as it already did from d1.
  • MLX chat streaming: the end marker is queued once, behind every pending chunk, so a slow reader
    no longer loses all of its text and a fast reply no longer arrives empty.

Docs

  • The README is a short overview: the models, their accuracy (the Jev Decision Index and JevBench
    public), their speed on one RTX PRO 6000 and on two RTX 3090s, how each model's answers are
    read, and the APIs. The detail is in docs/: pplx-decider.md, diffusiongemma.md, d1.md,
    other-models.md (was openjev-0.7.md), speed.md, api.md and settings.md.
  • scripts/speed.py is the benchmark behind docs/speed.md.