Architecture
~9 min readUpdated: November 2026

DaisyRose-27B Architecture: RL-Only Coding Agents, DSpark & SGLang

DaisyRose-27B architecture hero banner showing 27.8B RL-only hybrid Gated DeltaNet coding agent with SGLang and DSpark speculative decoding

DaisyRose-27B is RadixArk's 27.8B-parameter multimodal reasoning model built on Qwen3.8-27B using pure reinforcement learning without supervised fine-tuning or distillation. Retaining a 3:1 hybrid Gated DeltaNet and full Gated Attention stack with 262,144-token context, it lifts Terminal Bench 4.1 pass@1 from 5.6% to 12.0% and reaches 94.7% on SWE Bench Pro v2 under Apache-2.0.

Technical Review: Smoke Monkey Core Architecture Team
Tested on Node.js 18+ & BunTypeScript 5.x
Quick Answer & Executive Definition

DaisyRose-27B Architecture: RL-Only Coding Agents, DSpark & SGLang: DaisyRose-27B is RadixArk's 27.8B-parameter multimodal reasoning model built on Qwen3.8-27B using pure reinforcement learning without supervised fine-tuning or distillation. Retaining a 3:1 hybrid Gated DeltaNet and full Gated Attention stack with 262,144-token context, it lifts Terminal Bench 4.1 pass@1 from 5.6% to 12.0% and reaches 94.7% on SWE Bench Pro v2 under Apache-2.0. Designed as a zero-dependency, open-source TypeScript architecture under the MIT License with native Model Context Protocol (MCP) support and deterministic phase state machines.

Key Architectural Takeaways
Quick Implementation Exampledaisyrose-27b-coding-agent.ts
daisyrose-27b-coding-agent.tstypescript
import { createAgent } from "@smoke-monkey/harness";
// Connect Smoke Monkey Harness to a local SGLang + DSpark DaisyRose-27B endpoint
const agent = createAgent({
provider: "openai",
baseUrl: process.env.SGLANG_BASE_URL ?? "http://localhost:30000/v1",
apiKey: process.env.SGLANG_API_KEY ?? "none",
model: "DaisyRose-27B",
agentId: "build",
workspacePath: process.cwd(),
tools: ["filesystem", "terminal", "search", "git", "agent"],
permission: "ask-default",
mcp: [
{
id: "github",
name: "GitHub MCP",
description: "Repository inspection and PR verification",
command: "npx",
args: ["-y", "@modelcontextprotocol/server-github"],
enabled: true,
},
],
});
// Enforce human-in-the-loop approval for mutating terminal commands
agent.on("permission.required", (event) => {
const decision = event.data.toolName === "run_command" ? "allow" : "deny";
agent.resolvePermission(event.data.toolCallId, decision);
});
agent.on("phase.changed", (event) => {
console.log(`[DaisyRose-27B] Phase -> ${event.data.phase}`);
});
async function main() {
const result = await agent.run(
"Audit src/lib/cache.ts for race conditions, write Vitest unit tests, and run the suite."
);
console.log("Run status:", result.status, "Session:", result.sessionId);
}
main().catch(console.error);
Video Guides

Watch: Related Video Guides

DaisyRose 27B Locally: Pushing the Boundaries of Original Qwen

DaisyRose-27B doubles Terminal Bench pass@1 score

What Is DaisyRose-27B Architecture? Hybrid 3:1 Gated DeltaNet Specs

DaisyRose-27B is a 27.8B-parameter multimodal reasoning and coding agent model developed by RadixArk on top of Qwen3.8-27B (Qwen3_5ForConditionalGeneration). Rather than applying supervised fine-tuning or teacher distillation, RadixArk trained the model strictly with asynchronous reinforcement learning, preserving the base 262,144-token context window, tokenizer, and 27-layer vision encoder under an Apache-2.0 license.

At the tensor level (27,781,427,952 BF16 parameters across 18 safetensors shards), DaisyRose-27B partitions compute across three submodules: a 26.9B language backbone, a 0.46B vision tower, and a 0.42B single-layer Multi-Token Prediction (MTP) head. Its 64 decoder layers (hidden_size: 5120, intermediate_size: 17408 with SiLU gating) alternate in a strict 3:1 ratio (full_attention_interval: 4), interleaving three linear-attention Gated DeltaNet blocks before each full Gated Attention layer.

Exact Layer Geometry & Numerics Breakdown

Architectural ParameterDaisyRose-27B SpecificationEngineering Impact for Agents
Total Parameters27.78B (26.9B LM + 0.46B Vision + 0.42B MTP)Fits single-GPU production nodes in BF16, FP8, or NVFP4
Decoder Layer Mix64 layers (48 Gated DeltaNet + 16 Full Gated Attention)75% linear recurrence caps quadratic attention scaling
Gated DeltaNet Config16 QK heads, 48 V heads, 128 head dim, conv_kernel=4Constant-memory float32 SSM state across long traces
Full Gated Attention24 Q heads, 4 KV heads (6:1 GQA), 256 head dimCompact KV cache with attn_output_gate: true
Positional EncodingInterleaved MRoPE (partial_rotary_factor: 0.25, [11,11,10])rope_theta: 10,000,000 over 262,144 native tokens
Vision Tower27-layer ViT (1152 hidden, 16 heads, 16px patch, 2x2 merge)Native screenshot, diagram, and UI state inspection
Vocabulary & Precision248,320 tokens; BF16 (~52 GB), FP8 (~29 GB), NVFP4 (~23 GB)Drop-in compatibility with Qwen3.8-27B serving stacks

KV Cache & Memory Bandwidth Calculation

Because only 16 of the 64 layers allocate a traditional Key-Value cache while the remaining 48 Gated DeltaNet layers maintain fixed-size recurrent state buffers (mamba_ssm_dtype: float32), long-horizon KV cache growth drops by 4x compared to a homogeneous 64-layer GQA transformer:

text
BF16 KV Cache / Token = 16 layers * 2 (K+V) * 4 KV heads * 256 head_dim * 2 bytes
                      = 65,536 bytes/token (64.0 KiB/token)

FP8 (fp8_e4m3) / Token = 32,768 bytes/token (32.0 KiB/token)
Full 262,144-Token KV  = 262,144 * 32 KiB = 8.0 GiB KV cache + fixed DeltaNet states

In a 29 GB FP8 deployment on a 48 GB RTX 6000 Ada or 80 GB H100, that 8.0 GiB full-context KV budget leaves ample headroom for CUDA graphs, prefix caching, and batched tool-use rollouts without OOM eviction.

How Was DaisyRose-27B Trained? Miles Pure-RL & AgentENV Sandboxes

DaisyRose-27B was post-trained exclusively with reinforcement learning—zero supervised fine-tuning (SFT) and zero distillation—using RadixArk's open-source Miles framework. Over 18 days on 144 NVIDIA H200 GPUs (~63,000 GPU-hours), the model learned from ~1,200 multi-stage tasks allowing up to 1.5 hours, 100+ tool calls, and 1M-token summarized trajectories per rollout.

Instead of training on synthetic single-turn completions, RadixArk partnered with Eigent AI to filter thousands of candidate tasks down to ~1,200 problems targeting concrete failure modes of Qwen3.8-27B. Every task chains interdependent engineering subtasks and is calibrated so the baseline solve rate sits inside an informative RL gradient band—neither trivially solved nor zero-reward.

Asynchronous Rollout Topology & MFU Efficiency

  1. Split Heterogeneous Pool (128 + 16 H200s): 128 H200 GPUs run continuous SGLang inference against live coding sandboxes while 16 dedicated H200 GPUs asynchronously update policy weights on completed trajectories and broadcast updated parameters after every step.
  2. 37% Model FLOPs Utilization (MFU): RadixArk's internal agent-training backend reached 37% MFU versus 16% on comparable Megatron-based open-source runs, cutting required GPU time by 57% and doubling end-to-end throughput from ~8,300 tok/s to ~16,800 tok/s across 144 H200s.
  3. 944,000 Dynamic Sandboxes via AgentENV: Built on open-source AgentENV, RadixArk's 12-machine sandbox cluster executed roughly 944,000 isolated container sessions (peaking at 1,566 concurrent sandboxes) with dynamic memory overcommitment that lowered sandbox cloud spend by 80% and achieved >99.95% creation reliability.
  4. Anti-Reward-Hacking Audits: Every task where the agent could pass tests via shortcuts or harness exploits was patched or pruned prior to final RL optimization.

DaisyRose-27B Benchmarks vs Qwen3.8-27B, MoE Models & GPT-6 Luna

Evaluated with thinking mode enabled (temperature=1.0, top_p=0.95, top_k=20, reasoning_effort=xhigh), DaisyRose-27B outperforms its Qwen3.8-27B base across every coding, terminal, instruction-following, and science benchmark. Most notably, it more than doubles Terminal Bench 4.1 pass@1 from 5.6% to 12.0% and achieves 94.7% on SWE Bench Pro v2 (Full 642 tasks).

Benchmark & HarnessDaisyRose-27B (27.8B)Qwen3.8-27B (Base)Qwen3.6-35B-A3B (3B Act.)MiMo V2.6 Flash (309B/15B)Inkling 2 Small (594B/17B)GPT-6 Luna (Closed)
Terminal Bench 4.1 (mini-swe-agent, 8x)12.0%5.6%0.0%16.1%13.0%15.2%
Terminal Bench 2.1 (Terminus 2, 5x)75.5%73.0%44.9%87.6%81.3%73.0%
DeepSWE v1.1 (mini-swe-agent, 8x)46.2%42.2%0.0%67.9%72.1%66.6%
SWE Bench Pro v2 (Full 642, 5x)94.7%91.3%73.3%–97.7%–
IFBench (allenai, 300 prompts, 4x)82.4%79.5%64.4%–––
GPQA Diamond (198 questions, 8x)90.7%89.2%86.0%88.7%93.0%90.5%
HLE Text-Only (no tools, 5x)34.3%33.9%22.2%35.1%44.1%38.5%

Two engineering details matter when interpreting these scores: first, BF16 and FP8 evaluations of DaisyRose-27B differed by less than 1.0 percentage point across every tested suite, making FP8 the default production choice on 48 GB–80 GB GPUs. Second, at 27.8B dense parameters, DaisyRose-27B surpasses both GPT-6 Luna (75.5% vs 73.0% on Terminal Bench 2.1; 90.7% vs 90.5% on GPQA Diamond) and 816B-parameter Muse Spark Open (90.7% vs 89.0% on GPQA Diamond) while fitting on a single GPU.

SGLang Deployment, DSpark Speculative Decoding & GGUF Quantizations

Deploying DaisyRose-27B with SGLang and the RadixArk/Qwen3.8-27B-DSpark draft model accelerates single-session decode throughput up to 3.16x on NVIDIA H200 GPUs. DSpark is a 1.86B-parameter (1,857,358,337) BF16 speculative draft network with five GQA layers that predicts seven draft tokens per step from target layers [5, 19, 33, 47, 61].

DSpark v2 vs EAGLE vs Autoregressive Throughput (1x H200, TP1)

Measured on SGLang with max_tokens=2048, reasoning_effort=xhigh, fp8_e4m3 KV cache, and flashinfer attention:

Workload (Concurrency = 1)AutoregressiveTarget MTP (EAGLE)DSpark v1DSpark v2 (Current)
GSM8K94.2 tok/s179.9 tok/s (1.91x)238.6 tok/s (2.53x)297.3 tok/s (3.16x)
MATH-50095.0 tok/s174.0 tok/s (1.83x)214.4 tok/s (2.26x)280.0 tok/s (2.95x)
HumanEval95.8 tok/s165.5 tok/s (1.73x)205.5 tok/s (2.14x)254.8 tok/s (2.66x)
MBPP93.8 tok/s166.7 tok/s (1.78x)208.6 tok/s (2.22x)261.6 tok/s (2.79x)
MT-Bench95.8 tok/s157.4 tok/s (1.64x)171.3 tok/s (1.79x)215.8 tok/s (2.25x)

At concurrency 32 on a single H200, DSpark v2 sustains 2,545.2 tok/s on MATH-500 (1.44x speedup) and 2,472.3 tok/s on HumanEval (1.33x), with a macro-averaged acceptance length of 3.92 tokens/step across 17 workloads (64,675 prompts on 4x GB300).

Production SGLang Server Command (with Mamba Radix Cache & DSpark)

bash
docker run --gpus all --ipc=host --shm-size 32g -p 30000:30000 \
  -v ~/.cache/huggingface:/root/.cache/huggingface \
  lmsysorg/sglang:latest \
  python3 -m sglang.launch_server \
  --model-path RadixArk/DaisyRose-27B \
  --served-model-name DaisyRose-27B \
  --tp-size 1 --dp-size 1 \
  --context-length 262144 \
  --reasoning-parser qwen3 \
  --tool-call-parser qwen3_coder \
  --trust-remote-code \
  --mem-fraction-static 0.85 \
  --kv-cache-dtype fp8_e4m3 \
  --chunked-prefill-size 2048 \
  --mamba-full-memory-ratio 11.01 \
  --mamba-radix-cache-strategy extra_buffer_lazy \
  --mamba-ssm-dtype float32 \
  --speculative-algorithm DSPARK \
  --speculative-draft-model-path RadixArk/Qwen3.8-27B-DSpark \
  --speculative-draft-attention-backend flashinfer \
  --host 0.0.0.0 --port 30000

Local Workstation GGUF & Quantization Matrix

For single-GPU consumer hardware (RTX 5090, RTX 4090, or Apple Silicon) without datacenter SGLang clusters, RadixArk/DaisyRose-27B-GGUF provides importance-matrix (imatrix) quantizations calibrated over 512 x 2,048-token web and tool-calling transcripts:

Quantization ArtifactFile SizeTarget Hardware / VRAM TierOperational Notes
DaisyRose-27B-NVFP4~23.0 GBBlackwell GPUs (RTX 5090 / B200 / GB300)Native 4-bit Tensor Core throughput
DaisyRose-27B-FP8~29.0 GB48 GB–80 GB GPUs (RTX 6000 Ada / H100)<1 pt benchmark delta vs BF16
DaisyRose-27B-Q8_0.gguf29.0 GB48 GB Workstations / Mac StudioNear-lossless local reference
DaisyRose-27B-Q4_K_XL.gguf17.7 GB24 GB–32 GB GPUs (RTX 4090 / 5090)Recommended GGUF for coding agents
DaisyRose-27B-Q3_K_XL.gguf13.2 GB16 GB GPUsCompact fit; reserve >=64K context
DaisyRose-27B-Q2_K_XL.gguf10.0 GB12 GB–16 GB LaptopsLower reasoning_effort to medium/low
mmproj-DaisyRose-27B-BF16.gguf0.9 GBMultimodal Add-onRequired for image/UI inputs
bash
# Run locally via Ollama or llama.cpp with Jinja XML tool calling enabled
ollama run hf.co/RadixArk/DaisyRose-27B-GGUF:Q4_K_XL

llama-server -hf RadixArk/DaisyRose-27B-GGUF:Q4_K_XL --jinja -ngl 999 -c 65536

Critical SGLang Mamba & Context Flags

Because DaisyRose-27B uses 48 Gated DeltaNet layers, keep --mamba-ssm-dtype float32 and allocate at least 65,536 context tokens per slot. Default reasoning_effort is xhigh, which routinely emits 10k-40k <think> tokens on complex debugging tasks.

Tool Calling Protocol & Smoke Monkey Harness Orchestration

DaisyRose-27B integrates natively with Smoke Monkey Harness and Smoke Monkey Canvas via OpenAI-compatible SGLang or llama.cpp endpoints. Its Jinja chat template enforces structured <tool_call><function=name><parameter=key>value</parameter></function></tool_call> XML invocations and preserves multi-turn reasoning_content state across autonomous Explore, Plan, Edit, Verify, and Recover engineering loops.

Unlike generic chat wrappers that strip intermediate <think> traces and force the model to re-derive file state on every tool response, DaisyRose-27B defaults to preserve_thinking: true during active multi-step tool trajectories. When paired with SGLang's --reasoning-parser qwen3 and --tool-call-parser qwen3_coder, Smoke Monkey Harness receives clean separated reasoning_content streams and validated JSON tool invocations.

Configuring Reasoning Effort & Multi-Agent Canvas Workflows

  1. Dynamic Reasoning Budgets: Keep reasoning_effort: "xhigh" (temperature: 1.0, top_p: 0.95, top_k: 20) for root-cause debugging and multi-file refactors, or pass reasoning_effort: "medium" for high-throughput lint/test verification workers to bound token latency.
  2. Permission-Gated Tool Groups: Scope @smoke-monkey/harness with permission: "ask-default" so read-only filesystem and search calls (read_file, grep, glob, git_diff) auto-execute while destructive shell commands trigger human-in-the-loop approval or beforeToolCall policy hooks.
  3. Spatial Fleet Visualization: Launch npx @smoke-monkey/canvas start to wire multiple specialized DaisyRose-27B workers (e.g., an explore reader on Q4_K_XL and a build patcher on FP8 + DSpark) connected via Model Context Protocol (MCP) tools.
Google Search Questions & Answers

Frequently Asked Questions

Q:How is DaisyRose-27B different from Qwen3.8-27B?

DaisyRose-27B keeps the exact 27.8B-parameter hybrid architecture, tokenizer, vision encoder, and 262,144-token context of Qwen3.8-27B, but was post-trained exclusively with asynchronous reinforcement learning (Miles) on ~1,200 curated long-horizon sandbox tasks without SFT or distillation. This doubles Terminal Bench 4.1 pass@1 from 5.6% to 12.0% and raises SWE Bench Pro v2 from 91.3% to 94.7%.

Q:How much VRAM does DaisyRose-27B need for full 256K context serving?

Weight footprints are ~52 GB in BF16, ~29 GB in FP8, and ~23 GB in Blackwell NVFP4. Because 48 of its 64 layers use constant-memory Gated DeltaNet recurrence and only 16 layers use 4-head GQA full attention, the KV cache grows at just 32 KiB/token in fp8_e4m3—requiring ~8.0 GiB of KV cache at the full 262,144-token context plus fixed float32 Mamba state buffers.

Q:How fast is Qwen3.8-27B-DSpark speculative decoding with DaisyRose-27B?

Pairing DaisyRose-27B with the 1.86B Qwen3.8-27B-DSpark draft model in SGLang raises single-request H200 decode speed from 94.2–95.8 tok/s (autoregressive) to 254.8 tok/s on HumanEval (2.66x), 261.6 tok/s on MBPP (2.79x), and 297.3 tok/s on GSM8K (3.16x), with a 3.92-token macro-average acceptance length.

Q:Which GGUF quantization of DaisyRose-27B should I run on a 24 GB RTX 4090 or 5090?

Use DaisyRose-27B-Q4_K_XL.gguf (17.7 GB) with at least a 65,536-token context window (-c 65536) and --jinja enabled in llama-server or Ollama. For 16 GB GPUs, use Q3_K_XL (13.2 GB) and consider lowering reasoning_effort to medium so long thinking chains do not exhaust context.

Q:What SGLang flags are required for DaisyRose-27B tool calling and Mamba caching?

Pass --reasoning-parser qwen3, --tool-call-parser qwen3_coder, --kv-cache-dtype fp8_e4m3, --mamba-full-memory-ratio 11.01, --mamba-radix-cache-strategy extra_buffer_lazy, and --mamba-ssm-dtype float32. Keeping the Mamba SSM state in float32 prevents numerical drift across long multi-turn coding trajectories.

Q:Can I connect DaisyRose-27B to Smoke Monkey Harness and MCP tools?

Yes. Initialize createAgent from @smoke-monkey/harness with provider: 'openai', baseUrl pointing to your SGLang (port 30000) or llama-server (port 8080) endpoint, model: 'DaisyRose-27B', and attach stdio or streamable-HTTP MCP servers in the mcp array.

Related Alternatives & Comparisons

Related Architecture Guides

View all guides

Build with Smoke Monkey Harness

Zero dependencies. 24 built-in tools. Human-in-the-loop safety. 100% open source under the MIT License.

npm install smoke-monkey-harness