-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy path.env.example
More file actions
104 lines (77 loc) · 3.07 KB
/
Copy path.env.example
File metadata and controls
104 lines (77 loc) · 3.07 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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
# ============================================================================
# Triton Optimizer Configuration
# ============================================================================
# Copy this file to .env and fill in your settings
# ============================================================================
# LLM Configuration
# ============================================================================
# Model name (OpenAI format: provider/model)
LLM_MODEL=gpt-5.2
# API endpoint URL
OPENAI_API_BASE=
# API key for authentication
OPENAI_API_KEY=
# Temperature for generation (0.0-1.0, lower = more deterministic)
LLM_TEMPERATURE=1
# Maximum tokens to generate
LLM_MAX_TOKENS=50000
# ============================================================================
# Agent Configuration
# ============================================================================
# Maximum iterations per optimization stage
AGENT_MAX_ITERATIONS=3
# Use CoVeR pattern (true) or ReAct (false)
USE_COVER=true
# Agent strategy: cover, react, or hybrid
AGENT_STRATEGY=cover
# ============================================================================
# Optimization Configuration
# ============================================================================
# Maximum attempts per optimization stage
MAX_ATTEMPTS_PER_STAGE=5
# Validate correctness after each stage
VALIDATE_EACH_STAGE=true
# Require correctness preservation
REQUIRE_CORRECTNESS=true
# Target speedup (minimum acceptable)
TARGET_SPEEDUP=2.0
# ============================================================================
# Intel XPU Configuration
# ============================================================================
# Target device
XPU_DEVICE=xpu
# Path to SYCL TLA (XeTLA) installation directory
SYCL_TLA_DIR=
# Path to MKL include directory
MKL_INCLUDE=/swtools/intel/mkl/latest/include
# ============================================================================
# Logging Configuration
# ============================================================================
# Log level: DEBUG, INFO, WARNING, ERROR
LOG_LEVEL=INFO
# Directory for log files
LOG_DIR=./outputs/logs
# Directory for saved kernels
KERNEL_DIR=./outputs/kernels
# Save intermediate optimization results
SAVE_INTERMEDIATE=true
# Skip correctness validation entirely
REQUIRE_CORRECTNESS=true
# Adjust tolerances (larger = more lenient)
CORRECTNESS_RTOL=1e-2 # relative tolerance
CORRECTNESS_ATOL=1e-5 # absolute tolerance
BEST_K=1
# ============================================================================
# Knowledge Base Configuration
# ============================================================================
# Path to knowledge base YAML files
KNOWLEDGE_DIR=./knowledge_base
# Automatically load knowledge base on startup
AUTO_LOAD_KNOWLEDGE=true
# ============================================================================
# VTune Profiling
# ============================================================================
# Whether to use profiling
VTUNE_ENABLED=true
# Path to the VTune binary (falls back to $VTUNE_BIN from the shell)
VTUNE_BIN=vtune