This repository was archived by the owner on Aug 3, 2026. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy path.env.example
More file actions
49 lines (41 loc) · 2.3 KB
/
Copy path.env.example
File metadata and controls
49 lines (41 loc) · 2.3 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
# Ralph environment configuration
# Copy to .env and fill in your values: cp .env.example .env
# ---- Chain backend ----
# "local" = JSON-file ledger (testing)
# "bittensor" = real Bittensor testnet/mainnet
RALPH_CHAIN=local
# ---- Bittensor (only needed when RALPH_CHAIN=bittensor) ----
BT_NETWORK=test # "test" for testnet, "finney" for mainnet
BT_NETUID= # your subnet netuid (assigned at registration)
BT_WALLET=default # wallet name (btcli wallet list)
BT_HOTKEY=default # hotkey name
# ---- wandb ----
# All Ralph miner runs log to the central ralphlabs-hub entity for a unified
# network view. Each miner needs WANDB_API_KEY (their own personal key);
# membership on the ralphlabs-hub team grants write access.
WANDB_ENTITY=ralphlabs-hub # central ralph observability entity
WANDB_PROJECT=ralph # project name
# WANDB_API_KEY= # set per-miner, never commit
# ---- HuggingFace ----
HF_TOKEN= # write token for RalphLabsAI/proof-bundles
RALPH_HF_REPO=RalphLabsAI/proof-bundles
# ---- GitHub: PR submission (miner side) ----
# When set, scripts/miner_run.py pushes the patched branch to RALPH_RECIPE_FORK
# and opens a PR against RALPH_RECIPE_UPSTREAM. Submission.json carries pr_url.
RALPH_MINER_GH= # your GitHub username (also used as wandb tag)
RALPH_MINER_GH_TOKEN= # PAT with public_repo scope on your fork
RALPH_RECIPE_FORK= # e.g. https://github.com/<you>/recipe.git
RALPH_RECIPE_UPSTREAM=RalphLabsAI/recipe
# ---- GitHub: PR merge / tag / release (validator side) ----
# When set, validator/service.py squash-merges the winning PR, tags
# recipe-vX.Y.Z, and publishes a release with the metrics body. Recommend
# a dedicated ralph-bot account; PAT needs public_repo on RalphLabsAI/recipe.
RALPH_BOT_GH_TOKEN=
# ---- Recipe repo ----
# The canonical training recipe lives in a separate repo (RalphLabsAI/recipe).
# Default resolution: ../recipe (sibling of the ralph checkout).
# Override here if you clone it somewhere else.
# RALPH_RECIPE_DIR=/path/to/RalphLabsAI/recipe
# ---- Shadeform GPU rental ----
# API key stored separately at /root/.shadeform_api_key (not here)
SHADEFORM_SSH_KEY_ID= # optional: your ssh key ID on Shadeform