radiance 1.7.0

- every model serves without a GPU: libavx covers every op, so `--kernels libavx` alone serves
  every shipped container
- Qwen3-ASR (zivius): speech to text on /v1/audio/transcriptions and live over /v1/realtime
- /v1/messages works with Claude Code as it ships (gearwave00001)
- a long agent conversation keeps its cached history when the client rewrites its last turn
  (manueloverride)
- a stream's first event goes out with the first token, so llama-benchy measures prefill right
- opt-in --prefill-interleave (Smellyyyy, baKon) and --prefill-span (keptn42)
- four-rank TP releases the link early; four-rank selftests and docs/TP4.md (goodman-b)
- NVFP4 and FP8 compressed-tensors imports (devmilan); tools/rad-export for finetunes and LoRA
  adapters (baKon)
- many fixes, among them lost tokens on stop strings under concurrency, keep-alive, MiniCPM5 tool
  arguments and the CPU's vision and audio encoders
- plugin ABI 17 and changed op schemas: out-of-tree plugins must be rebuilt
This commit is contained in:
Deadcode committed 2026-10-16 18:25:18 +02:00
1 parent b068190326
commit 1e968f6e1d
739 files changed
+128447 -84632

No files matched your search

@@ -0,0 +1,4 @@
<s><|im_start|>user
Hi.<|im_end|>
<|im_start|>assistant
<think>
@@ -0,0 +1,4 @@
<s><|im_start|>user
Hi.<|im_end|>
<|im_start|>assistant
<think>
@@ -0,0 +1,12 @@
<s><|im_start|>user
First question.<|im_end|>
<|im_start|>assistant
<think>
Thinking about the first.
</think>
First answer.<|im_end|>
<|im_start|>user
Second question.<|im_end|>
<|im_start|>assistant
<think>
@@ -0,0 +1,12 @@
<s><|im_start|>user
First question.<|im_end|>
<|im_start|>assistant
<think>
Thinking about the first.
</think>
First answer.<|im_end|>
<|im_start|>user
Second question.<|im_end|>
<|im_start|>assistant
<think>
@@ -0,0 +1,12 @@
<s><|im_start|>user
First question.<|im_end|>
<|im_start|>assistant
<think>
Thinking about the first.
</think>
First answer.<|im_end|>
<|im_start|>user
Second question.<|im_end|>
<|im_start|>assistant
<think>
@@ -0,0 +1,8 @@
<s><|im_start|>user
Hi.<|im_end|>
<|im_start|>assistant
<think>
</think>
Hello.<|im_end|>
@@ -0,0 +1,39 @@
<s><|im_start|>system
# Tools
You are provided with function signatures within <tools></tools> XML tags:
<tools>
{"type": "function", "function": {"name": "read", "description": "Read a file.", "parameters": {"type": "object", "properties": {"path": {"type": "string", "description": "Absolute path"}, "limit": {"type": "integer"}}, "required": ["path"]}}}
{"type": "function", "function": {"name": "edit", "description": "Apply edits — exact text, «quoted» & <tagged>, 日本語.", "parameters": {"type": "object", "properties": {"path": {"type": "string"}, "edits": {"type": "array", "items": {"type": "object", "properties": {"oldText": {"type": "string"}, "newText": {"type": "string"}}, "required": ["oldText", "newText"]}}, "dry_run": {"type": "boolean"}, "mode": {"type": "string", "enum": ["fast", "safe"]}}, "required": ["path", "edits"]}}}
{"type": "function", "function": {"name": "ping", "description": "Takes no arguments.", "parameters": {"type": "object", "properties": {}}}}
</tools>
Tool usage guidelines:
- You may call zero or more functions. If no function calls are needed, just answer normally and do not include any <function ... </function>.
- When calling a function, return an XML object within <function ... </function> using:
<function name="function-name"><param name="param-name">param-value</param></function>
- param-value may be multi-line. If it contains <, & or newline characters, wrap it in a CDATA block: <param name="param-name"><![CDATA[...multi-line value...]]></param><|im_end|>
<|im_start|>user
Edit both files, then ping.<|im_end|>
<|im_start|>assistant
<think>
</think>
Doing all three.
<function name="edit"><param name="path">/work/a.py</param><param name="edits">[{'oldText': ' return a\n', 'newText': " return a < b & c # it's\n"}, {'oldText': 'x\ty', 'newText': '\\"'}]</param><param name="dry_run">False</param><param name="mode">safe</param></function>
<function name="read"><param name="path">/work/über.py</param><param name="limit">3</param></function>
<function name="ping"></function><|im_end|>
<|im_start|>user
<tool_response>
{"ok": true}
</tool_response>
<tool_response>
x = 1
</tool_response>
<tool_response>
pong
</tool_response><|im_end|>
<|im_start|>assistant
<think>
@@ -0,0 +1,6 @@
<s><|im_start|>system
You are terse.<|im_end|>
<|im_start|>user
What is 2+2?<|im_end|>
<|im_start|>assistant
<think>
@@ -0,0 +1,7 @@
<s><|im_start|>user
Hi.<|im_end|>
<|im_start|>assistant
<think>
</think>
@@ -0,0 +1,38 @@
<s><|im_start|>system
# Tools
You are provided with function signatures within <tools></tools> XML tags:
<tools>
{"type": "function", "function": {"name": "read", "description": "Read a file.", "parameters": {"type": "object", "properties": {"path": {"type": "string", "description": "Absolute path"}, "limit": {"type": "integer"}}, "required": ["path"]}}}
{"type": "function", "function": {"name": "edit", "description": "Apply edits — exact text, «quoted» & <tagged>, 日本語.", "parameters": {"type": "object", "properties": {"path": {"type": "string"}, "edits": {"type": "array", "items": {"type": "object", "properties": {"oldText": {"type": "string"}, "newText": {"type": "string"}}, "required": ["oldText", "newText"]}}, "dry_run": {"type": "boolean"}, "mode": {"type": "string", "enum": ["fast", "safe"]}}, "required": ["path", "edits"]}}}
{"type": "function", "function": {"name": "ping", "description": "Takes no arguments.", "parameters": {"type": "object", "properties": {}}}}
</tools>
Tool usage guidelines:
- You may call zero or more functions. If no function calls are needed, just answer normally and do not include any <function ... </function>.
- When calling a function, return an XML object within <function ... </function> using:
<function name="function-name"><param name="param-name">param-value</param></function>
- param-value may be multi-line. If it contains <, & or newline characters, wrap it in a CDATA block: <param name="param-name"><![CDATA[...multi-line value...]]></param><|im_end|>
<|im_start|>user
Fix /work/a.py.<|im_end|>
<|im_start|>assistant
<think>
Read it first.
</think>
<function name="read"><param name="path">/work/a.py</param><param name="limit">40</param></function><|im_end|>
<|im_start|>user
<tool_response>
print(1)
</tool_response><|im_end|>
<|im_start|>assistant
<think>
</think>
It prints 1.<|im_end|>
<|im_start|>user
Now make it print 2.<|im_end|>
<|im_start|>assistant
<think>
@@ -0,0 +1,30 @@
<s><|im_start|>system
# Tools
You are provided with function signatures within <tools></tools> XML tags:
<tools>
{"type": "function", "function": {"name": "read", "description": "Read a file.", "parameters": {"type": "object", "properties": {"path": {"type": "string", "description": "Absolute path"}, "limit": {"type": "integer"}}, "required": ["path"]}}}
{"type": "function", "function": {"name": "edit", "description": "Apply edits — exact text, «quoted» & <tagged>, 日本語.", "parameters": {"type": "object", "properties": {"path": {"type": "string"}, "edits": {"type": "array", "items": {"type": "object", "properties": {"oldText": {"type": "string"}, "newText": {"type": "string"}}, "required": ["oldText", "newText"]}}, "dry_run": {"type": "boolean"}, "mode": {"type": "string", "enum": ["fast", "safe"]}}, "required": ["path", "edits"]}}}
{"type": "function", "function": {"name": "ping", "description": "Takes no arguments.", "parameters": {"type": "object", "properties": {}}}}
</tools>
Tool usage guidelines:
- You may call zero or more functions. If no function calls are needed, just answer normally and do not include any <function ... </function>.
- When calling a function, return an XML object within <function ... </function> using:
<function name="function-name"><param name="param-name">param-value</param></function>
- param-value may be multi-line. If it contains <, & or newline characters, wrap it in a CDATA block: <param name="param-name"><![CDATA[...multi-line value...]]></param><|im_end|>
<|im_start|>user
Fix /work/a.py.<|im_end|>
<|im_start|>assistant
<think>
Read it first.
</think>
<function name="read"><param name="path">/work/a.py</param><param name="limit">40</param></function><|im_end|>
<|im_start|>user
<tool_response>
print(1)
</tool_response><|im_end|>
<|im_start|>assistant
<think>
@@ -0,0 +1,32 @@
<s><|im_start|>system
# Tools
You are provided with function signatures within <tools></tools> XML tags:
<tools>
{"type": "function", "function": {"name": "read", "description": "Read a file.", "parameters": {"type": "object", "properties": {"path": {"type": "string", "description": "Absolute path"}, "limit": {"type": "integer"}}, "required": ["path"]}}}
{"type": "function", "function": {"name": "edit", "description": "Apply edits — exact text, «quoted» & <tagged>, 日本語.", "parameters": {"type": "object", "properties": {"path": {"type": "string"}, "edits": {"type": "array", "items": {"type": "object", "properties": {"oldText": {"type": "string"}, "newText": {"type": "string"}}, "required": ["oldText", "newText"]}}, "dry_run": {"type": "boolean"}, "mode": {"type": "string", "enum": ["fast", "safe"]}}, "required": ["path", "edits"]}}}
{"type": "function", "function": {"name": "ping", "description": "Takes no arguments.", "parameters": {"type": "object", "properties": {}}}}
</tools>
Tool usage guidelines:
- You may call zero or more functions. If no function calls are needed, just answer normally and do not include any <function ... </function>.
- When calling a function, return an XML object within <function ... </function> using:
<function name="function-name"><param name="param-name">param-value</param></function>
- param-value may be multi-line. If it contains <, & or newline characters, wrap it in a CDATA block: <param name="param-name"><![CDATA[...multi-line value...]]></param><|im_end|>
<|im_start|>user
Fix /work/a.py.<|im_end|>
<|im_start|>assistant
<think>
Read it first.
</think>
<function name="read"><param name="path">/work/a.py</param></function><|im_end|>
<|im_start|>user
<tool_response>
print(1)
</tool_response><|im_end|>
<|im_start|>user
Go on.<|im_end|>
<|im_start|>assistant
<think>
@@ -0,0 +1,19 @@
<s><|im_start|>system
# Tools
You are provided with function signatures within <tools></tools> XML tags:
<tools>
{"type": "function", "function": {"name": "read", "description": "Read a file.", "parameters": {"type": "object", "properties": {"path": {"type": "string", "description": "Absolute path"}, "limit": {"type": "integer"}}, "required": ["path"]}}}
{"type": "function", "function": {"name": "edit", "description": "Apply edits — exact text, «quoted» & <tagged>, 日本語.", "parameters": {"type": "object", "properties": {"path": {"type": "string"}, "edits": {"type": "array", "items": {"type": "object", "properties": {"oldText": {"type": "string"}, "newText": {"type": "string"}}, "required": ["oldText", "newText"]}}, "dry_run": {"type": "boolean"}, "mode": {"type": "string", "enum": ["fast", "safe"]}}, "required": ["path", "edits"]}}}
{"type": "function", "function": {"name": "ping", "description": "Takes no arguments.", "parameters": {"type": "object", "properties": {}}}}
</tools>
Tool usage guidelines:
- You may call zero or more functions. If no function calls are needed, just answer normally and do not include any <function ... </function>.
- When calling a function, return an XML object within <function ... </function> using:
<function name="function-name"><param name="param-name">param-value</param></function>
- param-value may be multi-line. If it contains <, & or newline characters, wrap it in a CDATA block: <param name="param-name"><![CDATA[...multi-line value...]]></param><|im_end|>
<|im_start|>user
Read /work/a.py.<|im_end|>
<|im_start|>assistant
<think>
@@ -0,0 +1,21 @@
<s><|im_start|>system
You are a coding agent.
# Tools
You are provided with function signatures within <tools></tools> XML tags:
<tools>
{"type": "function", "function": {"name": "read", "description": "Read a file.", "parameters": {"type": "object", "properties": {"path": {"type": "string", "description": "Absolute path"}, "limit": {"type": "integer"}}, "required": ["path"]}}}
{"type": "function", "function": {"name": "edit", "description": "Apply edits — exact text, «quoted» & <tagged>, 日本語.", "parameters": {"type": "object", "properties": {"path": {"type": "string"}, "edits": {"type": "array", "items": {"type": "object", "properties": {"oldText": {"type": "string"}, "newText": {"type": "string"}}, "required": ["oldText", "newText"]}}, "dry_run": {"type": "boolean"}, "mode": {"type": "string", "enum": ["fast", "safe"]}}, "required": ["path", "edits"]}}}
{"type": "function", "function": {"name": "ping", "description": "Takes no arguments.", "parameters": {"type": "object", "properties": {}}}}
</tools>
Tool usage guidelines:
- You may call zero or more functions. If no function calls are needed, just answer normally and do not include any <function ... </function>.
- When calling a function, return an XML object within <function ... </function> using:
<function name="function-name"><param name="param-name">param-value</param></function>
- param-value may be multi-line. If it contains <, & or newline characters, wrap it in a CDATA block: <param name="param-name"><![CDATA[...multi-line value...]]></param><|im_end|>
<|im_start|>user
Read /work/a.py.<|im_end|>
<|im_start|>assistant
<think>
@@ -0,0 +1,19 @@
<s><|im_start|>system
# Tools
You are provided with function signatures within <tools></tools> XML tags:
<tools>
{"type": "function", "function": {"name": "read", "description": "Read a file.", "parameters": {"type": "object", "properties": {"path": {"type": "string", "description": "Absolute path"}, "limit": {"type": "integer"}}, "required": ["path"]}}}
{"type": "function", "function": {"name": "edit", "description": "Apply edits — exact text, «quoted» & <tagged>, 日本語.", "parameters": {"type": "object", "properties": {"path": {"type": "string"}, "edits": {"type": "array", "items": {"type": "object", "properties": {"oldText": {"type": "string"}, "newText": {"type": "string"}}, "required": ["oldText", "newText"]}}, "dry_run": {"type": "boolean"}, "mode": {"type": "string", "enum": ["fast", "safe"]}}, "required": ["path", "edits"]}}}
{"type": "function", "function": {"name": "ping", "description": "Takes no arguments.", "parameters": {"type": "object", "properties": {}}}}
</tools>
Tool usage guidelines:
- You may call zero or more functions. If no function calls are needed, just answer normally and do not include any <function ... </function>.
- When calling a function, return an XML object within <function ... </function> using:
<function name="function-name"><param name="param-name">param-value</param></function>
- param-value may be multi-line. If it contains <, & or newline characters, wrap it in a CDATA block: <param name="param-name"><![CDATA[...multi-line value...]]></param><|im_end|>
<|im_start|>user
Übersetze: 日本語 🙂 "quoted" \ back<|im_end|>
<|im_start|>assistant
<think>