Views
No views yet

1vllm serve /path/to/your/OmniAtlas-Qwen3-30B-A3B \
2 --served-model-name omniatlas-qwen3-30b-a3b \
3 --port 8080 \
4 --host 0.0.0.0 \
5 --tensor-parallel-size 8 \
6 --gpu-memory-utilization 0.9 \
7 --trust-remote-code \
8 --enable-auto-tool-choice \
9 --tool-call-parser hermes \
10 --uvicorn-log-level debug \
11 --max-model-len 655361import base64
2from openai import OpenAI
3
4client = OpenAI(base_url="http://localhost:8080/v1", api_key="empty")
5
6def encode_base64(file_path):
7 with open(file_path, "rb") as f:
8 return base64.b64encode(f.read()).decode("utf-8")
9
10video_b64 = encode_base64("/path/to/video.mp4")
11audio_b64 = encode_base64("/path/to/audio.wav")
12image_b64 = encode_base64("/path/to/image.jpg")
13
14tools = [
15 {
16 "type": "function",
17 "function": {
18 "name": "web_search",
19 "description": "Perform a Google web search and return the top results (title, URL, snippet).",
20 "parameters": {
21 "type": "object",
22 "properties": {
23 "query": {"type": "string", "description": "The search query string."}
24 },
25 "required": ["query"]
26 }
27 }
28 },
29 {
30 "type": "function",
31 "function": {
32 "name": "page_browser",
33 "description": "Fetch and extract the full text content from one or more webpages.",
34 "parameters": {
35 "type": "object",
36 "properties": {
37 "urls": {
38 "type": "array",
39 "items": {"type": "string"},
40 "description": "A list of webpage URLs to fetch content from."
41 }
42 },
43 "required": ["urls"]
44 }
45 }
46 },
47 {
48 "type": "function",
49 "function": {
50 "name": "code_executor",
51 "description": "Execute Python code in a sandbox. Available: numpy, pandas, sympy, math, etc.",
52 "parameters": {
53 "type": "object",
54 "properties": {
55 "code": {"type": "string", "description": "Python code to execute."}
56 },
57 "required": ["code"]
58 }
59 }
60 },
61]
62
63response = client.chat.completions.create(
64 model="omniatlas-qwen3-30b-a3b",
65 messages=[
66 {
67 "role": "user",
68 "content": [
69 {"type": "video_url", "video_url": {"url": f"data:video/mp4;base64,{video_b64}"}},
70 {"type": "audio_url", "audio_url": {"url": f"data:audio/wav;base64,{audio_b64}"}},
71 {"type": "image_url", "image_url": {"url": f"data:image/jpeg;base64,{image_b64}"}},
72 {"type": "text", "text": "Based on the video, audio, and image, answer the question: ..."},
73 ],
74 }
75 ],
76 tools=tools,
77 tool_choice="auto",
78)
79print(response.choices[0].message.content)1@misc{li2026omnigaia,
2 title={OmniGAIA: Towards Native Omni-Modal AI Agents},
3 author={Xiaoxi Li and Wenxiang Jiao and Jiarui Jin and Shijian Wang and Guanting Dong and Jiajie Jin and Hao Wang and Yinuo Wang and Ji-Rong Wen and Yuan Lu and Zhicheng Dou},
4 year={2026},
5 eprint={2602.22897},
6 archivePrefix={arXiv},
7 primaryClass={cs.AI},
8 url={https://arxiv.org/abs/2602.22897},
9}