-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
89 lines (66 loc) · 2.62 KB
/
.env.example
File metadata and controls
89 lines (66 loc) · 2.62 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
# ============================================================================
# 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
# ============================================================================
# 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