-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathconfig.example.yaml
More file actions
58 lines (52 loc) · 2.14 KB
/
Copy pathconfig.example.yaml
File metadata and controls
58 lines (52 loc) · 2.14 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
# Copyright 2026 FlagOS Contributors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# Agent Benchmark Configuration
# Agent configuration
agent:
type: claude # claude / cursor / custom
bin: claude # path to executable
timeout: 1800 # per-operator timeout (seconds)
max_retries: 3 # max retries on failure
budget: 50.0 # per-operator budget (USD, claude only)
# Device configuration
# Device type is auto-detected (CUDA, NPU, MUSA, Iluvatar, Hygon DCU, MetaX).
# Override with GEMS_VENDOR env var: nvidia, ascend, mthreads, iluvatar, hygon, muxi
device:
gpu_ids: null # null=auto-detect, or [0,1,2,3]
lock_dir: /tmp/agent_bench_gpu_locks
# Path configuration (relative to agent_bench/ directory)
paths:
prompts: prompts
runs: runs
templates: templates
python: python # Python interpreter path - set to your conda env, e.g. /path/to/conda/envs/myenv/bin/python
# Dataset to test module mapping (relative to project root)
# Sub-datasets (KernelGenBench-aten, etc.) are useful for non-NVIDIA chips that
# don't support cuBLAS operators.
test_modules:
KernelGenBench:
- src/kernelgenbench/accuracy/test_ops_with_benchmark.py
- src/kernelgenbench/accuracy/vllm13/
- src/kernelgenbench/accuracy/cublas/
KernelGenBench-aten:
- src/kernelgenbench/accuracy/test_ops_with_benchmark.py
KernelGenBench-vllm:
- src/kernelgenbench/accuracy/vllm13/
KernelGenBench-cublas:
- src/kernelgenbench/accuracy/cublas/
KernelGenBench-nocublas:
- src/kernelgenbench/accuracy/test_ops_with_benchmark.py
- src/kernelgenbench/accuracy/vllm13/
# Poll interval (seconds)
poll_interval: 10