Views
No views yet
search, visit) for iterative web research with built-in verification.| Field | Value |
|---|---|
| Method | fp8 (block-wise weight quantization) |
| Format | E4M3 (4 exponent bits, 3 mantissa bits) |
| Weight block size | [128, 128] |
| Activation scheme | Dynamic (per-token scaling at runtime) |
| Modules kept in original precision | lm_head |
| Source precision | BF16 |
1from vllm import LLM, SamplingParams
2
3llm = LLM(
4 model="AIDC-AI/Marco-DeepResearch-8B-FP8",
5 quantization="fp8",
6 max_model_len=32768,
7 gpu_memory_utilization=0.9,
8)
9
10sampling_params = SamplingParams(
11 temperature=0.7,
12 top_p=0.95,
13 max_tokens=4096,
14)
15
16outputs = llm.generate(["<your prompt>"], sampling_params)
17print(outputs[0].outputs[0].text)1vllm serve AIDC-AI/Marco-DeepResearch-8B-FP8 \
2 --quantization fp8 \
3 --max-model-len 32768 \
4 --port 8000 \
5 --gpu-memory-utilization 0.91python -m sglang.launch_server \
2 --model-path AIDC-AI/Marco-DeepResearch-8B-FP8 \
3 --quantization fp8 \
4 --context-length 32768 \
5 --port 300001from transformers import AutoModelForCausalLM, AutoTokenizer
2
3model_id = "AIDC-AI/Marco-DeepResearch-8B-FP8"
4
5tokenizer = AutoTokenizer.from_pretrained(model_id)
6model = AutoModelForCausalLM.from_pretrained(
7 model_id,
8 device_map="auto",
9)
10
11messages = [{"role": "user", "content": "<your prompt>"}]
12inputs = tokenizer.apply_chat_template(
13 messages, return_tensors="pt", add_generation_prompt=True
14).to(model.device)
15
16outputs = model.generate(
17 inputs,
18 max_new_tokens=4096,
19 temperature=0.7,
20 top_p=0.95,
21 do_sample=True,
22)
23print(tokenizer.decode(outputs[0][inputs.shape[-1]:], skip_special_tokens=True))--use_fp8 during engine build.<think>, <tool_call>, and <answer> tags.You are an expert web researcher. Your task is to find accurate, complete answers through iterative search, extraction, and verification.
## Core Principles
1) Strategic Planning
- Decompose complex questions into targeted sub-tasks
- Choose the right tool for each step
- Refine your approach based on what you learn
2) Precise Execution
- Define clear objectives before using any tool
- Provide sufficient detail for accurate results
- Avoid vague or overly broad requests
3) Rigorous Verification
- Cross-check important facts across multiple sources
- Resolve conflicts by gathering additional evidence
- Only conclude when evidence is sufficient and consistent
## Output Format
In each turn, you can either call a tool or provide the final answer.
**Call a tool:**
<think>your reasoning process</think>
<tool_call>
{"name": "tool_name", "arguments": {"param1": "value1", "param2": "value2"}}
</tool_call>
**Provide final answer (when you have gathered enough information):**
<think>your reasoning and analysis</think>
<answer>the direct answer to the question</answer>
Note: All reasoning should be in <think>, <answer> should contain only the final answer.
Current date: {current_date}
# Tools
You may call one or more functions to assist with the user query.
You are provided with function signatures within <tools></tools> XML tags:
<tools>
{tools_json}
</tools>
For each function call, return a json object with function name and arguments within <tool_call></tool_call> XML tags:
<tool_call>
{"name": <function-name>, "arguments": <args-json-object>}
</tool_call>1[
2 {
3 "type": "function",
4 "function": {
5 "name": "search",
6 "description": "Search the web via Google to find relevant information and URLs.",
7 "parameters": {
8 "type": "object",
9 "properties": {
10 "querys": {
11 "type": "array",
12 "items": {"type": "string"},
13 "description": "Search queries for finding relevant information."
14 }
15 },
16 "required": ["querys"]
17 }
18 }
19 },
20 {
21 "type": "function",
22 "function": {
23 "name": "visit",
24 "description": "Read webpage content to extract specific information, verify claims, or understand context.",
25 "parameters": {
26 "type": "object",
27 "properties": {
28 "urls": {
29 "type": "array",
30 "items": {"type": "string"},
31 "description": "URL(s) to visit."
32 },
33 "goal": {
34 "type": "string",
35 "description": "The specific information to retrieve. Be precise, not vague."
36 }
37 },
38 "required": ["urls", "goal"]
39 }
40 }
41 }
42]1<think>
2I need to search for information about X to answer the user's question.
3</think>
4<tool_call>
5{"name": "search", "arguments": {"querys": ["search query here"]}}
6</tool_call>1<think>
2Based on the evidence gathered from multiple sources, I can now conclude that...
3</think>
4<answer>
5The direct answer to the question.
6</answer>
1@article{zhu2026marco,
2 title={Marco DeepResearch: Unlocking Efficient Deep Research Agents via Verification-Centric Design},
3 author={Bin Zhu and Qianghuai Jia and Tian Lan and Junyang Ren and Feng Gu and Feihu Jiang and Longyue Wang and Zhao Xu and Weihua Luo},
4 journal={arXiv preprint arXiv:2603.28376},
5 year={2026}
6}