File size: 685 Bytes
309b968
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# Copy to cluster.env and set on EACH machine (change only RANK per machine).
# Then: source it and run `daisychain-train`  (or use the scripts/ helpers).

MASTER_ADDR=100.101.102.10      # the coordinator's IP (Tailscale 100.x recommended)
MASTER_PORT=29560
WORLD_SIZE=3
RANK=0                          # 0 on the coordinator, 1 / 2 / ... on the others
GLOO_SOCKET_IFNAME=tailscale0   # the NIC to use (tailscale0, or eth0 / your LAN NIC)
USE_LIBUV=0

# Task + training
DAISY_TASK=daisychain.example_task:ExampleTask   # swap for "your_module:YourTask"
DAISY_STEPS=300
DAISY_LR=0.05
DAISY_OPTIMIZER=sgd
DAISY_BASE_BATCH=32
DAISY_STATUS_FILE=status.json
DAISY_SAVE=daisychain_model.pt