-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathenv.validator.example
More file actions
52 lines (45 loc) · 2.59 KB
/
Copy pathenv.validator.example
File metadata and controls
52 lines (45 loc) · 2.59 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
# ═══════════════════════════════════════════════════════════════════════════════
# Leoma VALIDATOR — copy to .env on a validator host (`leoma serve`) and fill in.
# The validator scans on-chain reveals, dispatches duels to the eval server, and
# sets weights across the king chain. Duel parameters MUST match across validators.
# ═══════════════════════════════════════════════════════════════════════════════
# Wallet + subnet
WALLET_NAME=default
HOTKEY_NAME=default
NETWORK=finney
NETUID=99
# Eval server the validator dispatches duels to (SSH-tunnel to the GPU box).
EVAL_SERVER_URL=http://localhost:9000
# Shared Bearer token for all configured eval servers.
LEOMA_EVAL_TOKEN=
# Optional: several independently-run eval-server processes (e.g. one per GPU pair
# on an 8xH100 box — pair each with LEOMA_KING_DEVICE/LEOMA_CHALLENGER_DEVICE on that
# process, see env.eval.example). The validator fills whichever is free instead of
# being limited to one duel at a time. Comma-separated; overrides EVAL_SERVER_URL
# above when set. Leave unset for the single-server default.
# EVAL_SERVER_URLS=http://localhost:9000,http://localhost:9001,http://localhost:9002,http://localhost:9003
# Validator prescreen fetches challenger configs from Hippius Hub before dispatch.
HIPPIUS_HUB_TOKEN=
# Preflight fetches the pinned corpus manifest directly.
OBJECT_STORAGE_BACKEND=hippius
HIPPIUS_ENDPOINT=s3.hippius.com
HIPPIUS_REGION=decentralized
HIPPIUS_SOURCE_BUCKET=leoma-source
HIPPIUS_VIDEOS_READ_ACCESS_KEY=
HIPPIUS_VIDEOS_READ_SECRET_KEY=
# Duel parameters are NOT set here any more. The metric, clip count, threshold,
# alpha, bootstrap count and every generation knob are the CONSENSUS SURFACE and
# live in chain.toml, hashed into a consensus_digest that is sent with every eval
# request and echoed in every verdict. An env var is per-box, and a per-box exam is
# not consensus: one validator with a stray LEOMA_DELTA_THRESHOLD used to be enough
# to silently disagree with the rest of the subnet forever.
LEOMA_KING_CHAIN_SIZE=5
LEOMA_WEIGHT_INTERVAL=300
LEOMA_BURN_UID=0
# This validator's own bucket for durable king state (king/current.json, etc.).
R2_OWN_BUCKET=
R2_OWN_WRITE_ACCESS_KEY=
R2_OWN_WRITE_SECRET_KEY=
# Set only if your bucket is on a different R2 account than the default:
# R2_OWN_ENDPOINT=
# R2_OWN_REGION=auto