-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
81 lines (61 loc) · 2.63 KB
/
Copy path.env.example
File metadata and controls
81 lines (61 loc) · 2.63 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
# ==============================================================================
# IntrinTrans LangGraph environment configuration template
# ==============================================================================
# Copy this file to .env and fill in the actual values:
# cp .env.example .env
# ==============================================================================
# ── LLM configuration ──
OPENAI_API_KEY=sk-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
# Recommended: use OpenRouter to route LLM requests
OPENAI_BASE_URL=https://openrouter.ai/api/v1
# Or use OpenAI directly:
# OPENAI_BASE_URL=https://api.openai.com/v1
# Default model to use
OPENAI_MODEL=deepseek/deepseek-v3
# API timeout in seconds
OPENAI_TIMEOUT=600
# Maximum retry attempts
MAX_RETRIES=3
# ── LLM Reasoning control ──
# Enable deep reasoning mode (effective for models that support reasoning,
# e.g. DeepSeek-R1, Claude 3.7 Sonnet; silently ignored for others)
LLM_REASONING_ENABLED=true
# Reasoning effort level: low / medium / high (mutually exclusive with MAX_TOKENS)
# Leave blank to use model default reasoning budget
LLM_REASONING_EFFORT=
# Reasoning max token budget (mutually exclusive with EFFORT; 0 = disabled)
# LLM_REASONING_MAX_TOKENS=0
# ── Remote RISC-V device (optional, for hardware testing) ──
# SSH jump host configuration
JUMP_HOST=
# RISC-V device SSH connection string
RISCV_DEVICE_HOST=
# ── RISC-V cross-compilation toolchain ──
# Directory containing riscv64-unknown-linux-gnu-gcc/g++ (prepended to PATH during builds)
RISCV_TOOLCHAIN_PATH=
# ── QEMU emulator (for local testing) ──
# Path to qemu-riscv64 binary
QEMU_BIN=/path/to/qemu-riscv64
# ── VecIntrinBench path configuration ──
# Path to the VecIntrinBench directory
VECINTRINS_BASE_PATH=./VecIntrinBench
# Test directory (relative to VECINTRINS_BASE_PATH)
TEST_DIR=test/
# Performance test directory (relative to VECINTRINS_BASE_PATH)
PERFORMANCE_TEST_DIR=perf/
# ── Register liveness analysis script ──
# Path to test_max_vector_liveness.sh
REGISTER_LIVENESS_SCRIPT=/path/to/test_max_vector_liveness.sh
# ==============================================================================
# LangGraph workflow configuration
# ==============================================================================
# Max translation attempts (compile+test failures both count toward this limit)
MAX_TRANSLATION_ATTEMPTS=10
# Max optimization iterations
MAX_OPTIMIZATION_ATTEMPTS=3
# Max fix attempts per optimization version
MAX_FIX_ATTEMPTS=5
# Enable checkpointing (resumable execution)
ENABLE_CHECKPOINTING=false
# Translation result output directory
OUTPUT_DIR=output