Repository navigation
Releases
v0.2.0
GravityOCR serving with self-speculative decoding on upstream SGLang v0.5.10 (inference/gravityocr/, #72), plus the System One decision API and the GravityOCR evaluation and Mac setup. This is the pinned stack for the Trillion Labs Hackathon 2026, Track 2.
Toolchain (inference/gravityocr/sglang/requirements-lock.txt): torch 2.9.1, triton 3.5.1, flashinfer-python 0.6.7.post2, sglang-kernel 0.4.1, transformers 5.3.0; SGLang v0.5.10 (1519acf) + gravityocr_selfspec.patch.
What's Changed
- docs: add GOVERNANCE.md by @usik-luke-trl in #29
- docs: project-evaluation records (docs/oss/) by @usik-luke-trl in #30
- chore: fix CODEOWNERS again, and make the next break loud by @usik-luke-trl in #22
- docs: unpublish the community launch plan by @usik-luke-trl in #31
- metrics: weekly snapshots, an internal series, and a review per period by @usik-luke-trl in #32
- docs: conduct reports go to admin@ by @usik-luke-trl in #33
- docs: name the three participant types by @usik-luke-trl in #34
- docs: assign the four duty roles across all three maintainers by @usik-luke-trl in #35
- metrics: open a PR instead of pushing to main by @usik-luke-trl in #36
- compliance: release the weights under Apache-2.0 by @usik-luke-trl in #12
- feat(inference): Jev request encoding, pointer head and kev export script by @usik-luke-trl in #42
- deps: floor filelock at 4.2.1 (six advisories, one HIGH) by @usik-luke-trl in #45
- ci: pin every action to a commit SHA, and fail when one is not by @usik-luke-trl in #44
- metrics: read collaborators with affiliation=all, and refuse an empty list by @usik-luke-trl in #46
- metrics: split the population from an explicit roster, and count authors by @usik-luke-trl in #51
- chore(metrics): snapshot 2026-W44 by @github-actions[bot] in #53
- ci: move the scheduled workflows off the hour, and fix the weekday they land on by @usik-luke-trl in #54
- feat(inference/mlx): on-device self-speculative decoding + OpenAI server (Apple Silicon) by @guks-trl in #4
- fix(sglang): self-spec corrupted requests that joined a running decode batch by @guks-trl in #20
- fix(benchmark): BFCL prompt format and value typing; FunctionChat stale cache by @guks-trl in #21
- feat(train): stream packed multi-turn rows with carry-over by @guks-trl in #37
- feat(train): image+text (VL) training for Qwen3.5 by @guks-trl in #38
- docs(security): name the GitHub advisory route beside the email by @usik-luke-trl in #55
- fix(governance): correct the maintainer handle, and check every file that names one by @usik-luke-trl in #56
- docs(agents): configure the engineering agent skills for this repo by @usik-luke-trl in #59
- feat(train): typed-decision training in kev's scheme by @guks-trl in #39
- nano-inference: decision server on stock SGLang by @guks-trl in #40
- chore(codeowners): drop @hongjoonahn-trl as a code owner by @usik-luke-trl in #74
- chore(deps): bump certifi from 2026.7.22 to 2026.10.18 by @dependabot[bot] in #75
- chore(deps): bump nltk from 3.10.3 to 3.10.4 in /inference by @dependabot[bot] in #76
- chore(deps): bump setuptools from 81.0.0 to 84.1.0 by @dependabot[bot] in #77
- fix(metrics): label snapshots with the ISO week in KST by @usik-luke-trl in #73
- refactor(inference): one nano-inference per model; inference/zoro-1 serves Zoro-1 by @usik-luke-trl in #68
- feat(inference/mlx): Zoro-1 Chat, typed decisions and data tools for on-device Zoro-1 by @guks-trl in #69
- docs: waving Zoro-1 mascot and a Zoro-1 Chat section in the READMEs by @guks-trl in #90
- Make the training flow easier to follow by @wonsukyang-trl in #88
- docs: center the README header by @guks-trl in #91
- chore(metrics): snapshot 2026-W45 by @github-actions[bot] in #84
- feat(inference): inference/gravityocr serves GravityOCR with self-speculative decoding on upstream SGLang by @dohyunkim-trl in #72
- chore(metrics): snapshot 2026-W47 by @github-actions[bot] in #103
- chore(deps): bump opentelemetry-api from 1.45.1 to 1.45.2 by @dependabot[bot] in #99
- feat(inference): typed decisions at POST /v1/systemone (System One API) by @guks-trl in #94
- Add WorkflowEvals for decision models by @wonsukyang-trl in #89
- Rename export_kev_checkpoint.py to export_decision_checkpoint.py; /v1/decide reasoning budget; decision_head.pt by @guks-trl in #97
- docs(gravityocr): 10-minute getting-started notebook for GravityOCR serving, on an L40 or a Mac by @hongjoonahn-trl in #86
- feat(benchmark): GravityOCR evaluation on docr-ko-eval, one setup.sh and one run.sh by @hongjoonahn-trl in #95
- feat(gravityocr): the Mac MLX engine in the repo; run.sh evaluates on a Mac by @hongjoonahn-trl in #109
New Contributors
- @github-actions[bot] made their first contribution in #53
- @dependabot[bot] made their first contribution in #75
- @dohyunkim-trl made their first contribution in #72
- @hongjoonahn-trl made their first contribution in #86
Full Changelog: v0.1.2...v0.2.0
v0.1.2 — datasets security bump and supply-chain fixes
A security dependency bump, and the supply-chain plumbing that v0.1.1 was cut thirty
minutes too early to include.
Changed
datasetsfloored at>=5.0.1(GHSA-379c-qx7v-6h59, path traversal in
folder-based builders). Unpinned it resolved to 2.14.4; we do not use those
builders, but nothing held us at an old version either.SECURITY.mdstates the support window: the latest release only. This is also the
denominator of the SBOM-coverage metric, so older tags are out of scope by policy
rather than counted as gaps.
Fixed
- Vulnerability exceptions now carry every id a finding is known by. pip-audit leads
with PYSEC and grype with GHSA, so an exception keyed to one silently failed to
cover the other -- all eight approved exceptions were blocking the release. - The release workflow no longer passes
--clobber. Replacing an SBOM already
published against a tag rewrites what consumers were told it contains; the upload
now fails if the tag already has assets.
v0.1.1 — supply-chain and community operations
Supply-chain and community operations. No change to the training or serving code --
train/ and inference/ are byte-identical to 0.1.0.
Added
- Supply-chain CI (
.github/workflows/supply-chain.yml): pinned-commit drift check
across the files that quote the third-party kernel commit, dependency advisories via
pip-auditgated by an approved-exception policy, and a weekly run of the kernel
fetch recipe against real upstream (resolve, checksums, patch applies, output parses). - Release SBOM (
.github/workflows/release-sbom.yml): source tarball, SHA-256
checksums, SPDX and CycloneDX from one scan boundary, metadata validation, a scan
gated by the same exception policy, and build/SBOM attestation. - Resolved dependency sets —
requirements-lock.txt(85 packages) and
inference/requirements-lock.txt(49), so the SBOM describes the real surface rather
than the single pinned declaration. - Community operations (
docs/community/): channel matrix, chat policy, moderator
runbook, label definitions and a launch plan;COMMUNITY.md; a help/contribute/report
section in the README. - Community automation: a weekday alert for items with no human response for 48h,
and an alert whenhelp wantedorgood first issueis applied. Both post to
whichever chat webhook secret is configured and print without failing when none is. .github/CODEOWNERSover licensing, security and CI paths, with a CI check that every
handle still resolves.docs/metrics/README.md— what response-time measurement covers, and the explicit
commitment not to measure individuals.COMPLIANCE.md§4b — base-model and derived-checkpoint licensing.
Changed
- Build backend requires
setuptools>=83(PYSEC-2026-3447). - Dependabot update PRs paused as
.github/dependabot.yml.disabled.
Fixed
release-sbom.ymlran its tooling from the released tag, which fails for any tag
older than the tooling. It now builds the artifact withgit archive <tag>while the
tooling stays on the default branch.- CODEOWNERS handles after two owner renames; GitHub does not redirect a renamed handle
and CODEOWNERS ignores unknown ones silently.
v0.1.0 — initial public release
Initial public release of trida-stack — the training and serving stack for
Trillion Labs' Trida two-stream block-diffusion language models
(Qwen3 / Qwen3.5-based), under the Apache License 2.0.
Added
- Two-stream block-diffusion training stack (
train/): AR → diffusion SFT
(Fast-dLLM v2 style) that converts a pretrained autoregressive checkpoint into
a block-diffusion model, with an AR auxiliary loss that keeps a usable causal
head. Native-torch FSDP2 (no DeepSpeed); packing, length/response bucketing,
multi-turn supervision, activation offload, and fused cross-entropy. Supports
dense Qwen3 (full attention) and hybrid Qwen3.5 (gated-delta linear + periodic
full attention) paths. Saved checkpoints are stock HF causal LMs plus a
<|mask|>token and ablock_diffusion.jsonsidecar. - nano-inference serving stack (
inference/): a thin, nanoGPT-style wrapper
(serve.py/chat.py/eval.py) that serves one checkpoint in several
decode modes — causal, block-diffusion, and lossless self-speculative — behind
an OpenAI-compatible API, plus per-family decode configs and quick quality /
throughput benchmarks (gsm8k / mmlu_pro / ifeval). - SGLang serving recipe: true block-diffusion (bidirectional-within-block
attention, variable-length commits) and the self-speculative path. - vLLM serving backend (
inference/vllm/): out-of-tree plugin
(VLLM_PLUGINS=trida_diffusion) for block-diffusion and self-spec / AR-Trust
decoding, with a CPU correctness test for the two-stream GDN decode crux. - Benchmark harness wrappers (
benchmark/): first-party register/run drivers
and serving glue for BFCL, tau2-bench, FunctionChat, KoAgentBench, SWE-bench,
Terminal-Bench, and lm-evaluation-harness (the harnesses themselves install
separately). - Community and compliance docs:
README.md,COMPLIANCE.md,NOTICE,
LICENSE,CONTRIBUTING.md,CODE_OF_CONDUCT.md,SECURITY.md, issue / PR
templates,CITATION.cff, and the dataset catalog. - Setup docs for the one-time third-party kernel fetch in the root,
train/,
inference/andinference/vllm/READMEs — the fetched kernels are
PolyForm-Noncommercial and not vendored, so a fresh clone cannot build the
two-stream training or diffusion-serving paths without running the recipe.
Notes
- The two-stream Gated-DeltaNet + block-diffusion Triton kernels are not
bundled. They are fetched/patched via recipe
(train/block_gated_delta_rule/fetch_kernels.sh,inference/sglang/) and are
PolyForm Noncommercial 1.0.0 — the two-stream training and diffusion-serving
paths are noncommercial-only. SeeCOMPLIANCE.md§1b.