Skip to content

cu-Jev

A CUDA-native decision engine that turns an open Qwen3.5 checkpoint into a System One endpoint with Jev's wire format, answering many typed questions per state from C and CUDA with no PyTorch at runtime.

Stars
5
Language
C
License
APACHE-2.0
Published by
Community
Author
dtunai
Last verified
Oct 2026

dtunai/cu-Jev

User repository on GitHub

View on GitHub

cuda-Jev — a CUDA-native Jev System One decision inference engine. Jev compatible API, examples, and reproducible benchmarks.

Forks
0
Last pushed
Updated Sep 2026

Repo stats from the GitHub API, cached Oct 2026.Homepage

About this project

cu-Jev A CUDA-native System One decision engine with a Jev-compatible API. One state in, many typed decisions out. Full C/CUDA, a little Python, no PyTorch at runtime. POST /v1/systemone {state, model, questions} → {model, answers, usage}. cu-Jev turns an open Qwen3.5 checkpoint (0.8B · 2B · 4B · 9B) into a decision function with the exact wire format of TypeSafe's Jev: send a state and a map of typed questions (noul / choice / score), get typed answers with probabilities and confidence. Nothing is decoded, ever.

Quoted from the project's README. Read the full README.

Highlights

  • Nothing is decoded: at the last token of each question branch it reads the option-label logits straight off the LM head.
  • The state runs once; each question is a short branch over its KV cache, and branches never see each other.
  • Point TYPESAFE_BASE_URL at it and the official Python and JS SDKs work unchanged, models.list() included.
  • Oracle tests compare full-vocabulary logits against transformers at the read-out position: identical argmax and top-5 on every probe.

Watch out

The hardware envelope is narrow: Linux, an NVIDIA GPU of compute capability 8.0 or newer, CUDA 12.4 or 13 with nvcc, CMake 3.24+, and a build step. The README lists Qwen3.5-27B as not yet supported because six query heads per KV head needs a kernel variant, all MoE sizes are out, and the vision tower and MTP head inside the checkpoints are skipped. Speed figures are its own on one machine. Copy reviewed against the repository README on 2026-10-04, not from running it.

Questions about this entry

Short answers drawn from the linked project or page.

More Jev resources like this

24GitHub stars
Unofficial laptop study of parallel constrained decoding: prefill once, share the KV cache across fields, and decide all schema fields in one batched forward pass without writing JSON.
Jev Practices & Patterns#community#jevbest#catalog-import
16GitHub stars
Vendor-neutral harness that tests whether Jev reranking improves a small RAG stack, using frozen hybrid BM25 plus BGE-M3 candidates and isolating retrieval, rerank, and generation stages.
Jev Practices & Patterns#community#jevbest#catalog-import
7GitHub stars
Benchmark harness that tests whether models can forecast federal motion-to-dismiss outcomes from the written record, scored per claim-defendant pair with micro-Brier and clustered intervals.
Jev Practices & Patterns#community#jevbest#catalog-import
Frozen 100-question-per-cell check of TypeSafe Jev on Korean versus English reading, paraphrase, and medical exam items, with recorded responses and uncertainty intervals.
Jev Practices & Patterns#community#jevbest#catalog-import
7GitHub stars
Word-level language model experiment that uses Jev as its output layer, with explicit tokenizer, sampler, repetition mask, stop rules, and chunk verification.
Jev Practices & Patterns#community#jevbest#catalog-import
8GitHub stars
Reproducible harness comparing Jev, Laya, two LLMs, and two BERT variants on SST-2, AG News, and Banking77 for accuracy, calibration, latency, throughput, and cost.
Jev Practices & Patterns#community#awesomejev#catalog-import

From the Jev guides

Original write-ups on what this entry is for.

Most Jev accuracy problems are state problems. What belongs in a state, what is a pre-made judgment to leave out, and why naming the slice you ask about matters more than the wording.
Jev Practices & Patterns#state#design#primitives
Read article
A Noul returns one number and no separate confidence. How to read the value, pin its boundary with criteria, split compound questions, and set a per-action threshold that matches the cost of being wrong.
Jev Practices & Patterns#noul#primitives#confidence
Read article
A Score is a weighted position, not a ruler. Why the number can land between levels, why levels are judged separately, and how to combine several atomic scores in code instead of one crowded rubric.
Jev Practices & Patterns#score#primitives#scoring
Read article
Back to all resources

From the Jev community

Posts from builders shipping with Jev right now.

Follow @typesafeai