SAVRN
Search Contact SAVRN

Open-weight model

EvSpark

by Dinghao dinghhhhhhhhhhhhhhh/EvSpark

EvSpark is an open-weight model from Dinghao, released under MIT License. Its published files total 643.3 MB.

Drafter checkpoints for EvSpark: a small distilled drafter that accelerates single-stream Evo2 7B (StripedHyena2) generation while staying distributionally lossless.

Parameters
Context
Weights642.4 MB
Licensemit
AccessOpen weights
Monthly Downloads

Model Card

By Dinghao, published under mit, revision 4377dcb568eb.

Drafter checkpoints for EvSpark: a small distilled drafter that accelerates single-stream Evo2 7B (StripedHyena2) generation while staying distributionally lossless. Numbers: Evo2 7B bf16, single stream, RTX 4090, 48 genomic prompts × 1024 tokens, 3 training seeds. One checkpoint serves any decode-time draft length γ′ ≤ training γ (exact causal prefix; no retraining). Beyond 7B: the same drafter recipe retrained for Evo2 20B / 40B reaches 2.18–2.46× (real-43) and 2.51–2.78× (all-48) on one H20 (SDPA), and a predictor-guided regulatory-DNA design workflow sees a median 1.57× complete-design speedup over a calibrated batched native baseline (see paper). All four files are single-layer L27…

Read Dinghao's full model card

EvSpark — lossless speculative decoding for Evo2

Drafter checkpoints for EvSpark: a small distilled drafter that accelerates single-stream Evo2 7B (StripedHyena2) generation while staying distributionally lossless.

Paper (bioRxiv) · DOI · GitHub · ModelScope

Flagship L27_g12_150M Cost-optimal L27_g12_30M
Suite speedup (48 prompts / 43 real) 3.27× / 2.96× 3.15× / 2.82×
Distill budget 150M positions 30M (~1.06 GPU-h on one RTX 4090)
Greedy losslessness 0 non-tie divergences (48 prompts × 6 ckpts) same protocol
Long context E. coli 262k: 1.97–2.43× · B. subtilis 262k: 1.84–2.05×

Numbers: Evo2 7B bf16, single stream, RTX 4090, 48 genomic prompts × 1024 tokens, 3 training seeds. One checkpoint serves any decode-time draft length γ′ ≤ training γ (exact causal prefix; no retraining).

Beyond 7B: the same drafter recipe retrained for Evo2 20B / 40B reaches 2.18–2.46× (real-43) and 2.51–2.78× (all-48) on one H20 (SDPA), and a predictor-guided regulatory-DNA design workflow sees a median 1.57× complete-design speedup over a calibrated batched native baseline (see paper).

Checkpoints

All four files are single-layer L27 injection, d_model=1024, distilled offline from frozen Evo2 7B hidden states. The target model is never fine-tuned. Each .pt is self-contained (frozen embedding, Markov head, confidence head, metadata).

File γ Distill tokens Speedup (all-48 / real-43) Role
L27_g12_150M_s1.pt / _s2.pt 12 150M 3.27× / 2.96× flagship (default)
L27_g12_30M_s1.pt / _s2.pt 12 30M 3.15× / 2.82× ~1 GPU-hour cell

s1 / s2 are independent training seeds of the same cell.

SHA-256

File sha256
L27_g12_150M_s1.pt be6ff9f8818a83533e39d112ee9ba0028a340fe3cead8dc342c2397baf32310a
L27_g12_150M_s2.pt 654576ae3713fb4a0bc767c70f9bdaddb2f9b468a1019d14c8fff659d693af40
L27_g12_30M_s1.pt 18552e63f9facf853c7b8df31edaafaac4dec7276c9524cefa038f11b6cbc7c1
L27_g12_30M_s2.pt 571eb2ccdbef5f11026157908e29cf06ce76c6587d437da1e6797c40cf2ab6df

Quickstart

These files are drafters, not a standalone DNA LM. You need Evo2 7B + the EvSpark engine (block verify + Hyena/attention state-slice rollback).

git clone https://github.com/dhnihaoya/EvSpark && cd EvSpark
# env: torch 2.7.1 + flash-attn 2.8.0.post2 + evo2  (see GitHub README)
python scripts/download_ckpt.py L27_g12_150M_s1          # HF first, ModelScope fallback
python scripts/demo.py --ckpt L27_g12_150M_s1 --n-tokens 1024

Library:

from evspark import EvSpark

with EvSpark.load("L27_g12_150M_s1") as es:
    out = es.generate("ACGTACGT...", n_tokens=1024)       # T=1.0, top_k=4
    print(out.text, f"{out.tok_s:.1f} tok/s, tau={out.mean_tau:.2f}")

    g = es.generate(prompt, greedy=True)
    nat = es.generate_native(prompt, greedy=True)
    assert g.ids.tolist() == nat.ids.tolist()             # token-for-token

Decode-time γ′ without retraining:

es.generate(prompt, n_tokens=1024, gamma=8)               # γ′=8 from a γ=12 ckpt

Manual download:

from huggingface_hub import hf_hub_download
path = hf_hub_download("dinghhhhhhhhhhhhhhh/EvSpark", "L27_g12_150M_s1.pt")

If huggingface.co is unreachable: HF_ENDPOINT=https://hf-mirror.com, or pull the same files from ModelScope.

Citation

@article{ding2026evspark,
  title   = {EvSpark: Lossless Speculative Decoding for Hybrid DNA Foundation Models},
  author  = {Ding, Hao and Wu, Nannan and Qiu, Tianyi},
  journal = {bioRxiv},
  year    = {2026},
  doi     = {10.64898/2026.09.02.749017},
  url     = {https://www.biorxiv.org/content/10.64898/2026.09.02.749017}
}

Paper: https://www.biorxiv.org/content/10.64898/2026.09.02.749017

License

Checkpoints and code are MIT. Evo2 / Vortex weights and runtime follow their upstream licenses.

Identity and Version

Repository
dinghhhhhhhhhhhhhhh/EvSpark
Publisher
Dinghao
Task
Not stated by the source
Modality
Other
Library
pytorch
Parameters
Not stated by the source
Languages
dna
Revision
4377dcb568ebfe4e0aa29cf9bc8b33b30d466b00
First published
2026-09-02
Last updated
2026-09-20

Files and Weights

7 files, 643.3 MB in total. The weights are 4 files totalling 642.4 MB in pt.

Weights4 files · 642.4 MB
Documentation1 file · 4.8 KB
Other1 file · 949.7 KB
Repository1 file · 1.6 KB
Every file
FileTypeSizeSHA-256
L27_g12_150M_s1.ptWeights160.6 MB be6ff9f8818a
L27_g12_150M_s2.ptWeights160.6 MB 654576ae3713
L27_g12_30M_s1.ptWeights160.6 MB 18552e63f9fa
L27_g12_30M_s2.ptWeights160.6 MB 571eb2ccdbef
README.mdDocumentation4.8 KB
fig1_hero.pngOther949.7 KB 9094ed05ff8d
.gitattributesRepository1.6 KB

License and Download

License
mit
Access
Open weights, no gate
Download size
642.4 MB
Download from Dinghao

Released by Dinghao through its official repository on Hugging Face. Read the license.

Built From

  • Adapter of arcinstitute/evo2_7b
  • Derived from arcinstitute/evo2_7b

Memory Requirements

PrecisionWeights in memory
As published642.4 MB

Weights only, from the published parameter count; the key-value cache and runtime add to this.

Questions About EvSpark

Can I use EvSpark commercially?

Yes. EvSpark is released under MIT License. The MIT License is a short permissive license. It permits commercial use, modification and redistribution, provided the copyright notice and permission notice are included.