-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.yaml
More file actions
69 lines (56 loc) · 2.02 KB
/
config.yaml
File metadata and controls
69 lines (56 loc) · 2.02 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
# Example SyncBit Configuration
# This shows how to configure named providers that can be referenced by jobs
# Client configuration (for CLI usage)
client:
controller_addr: "http://localhost:8080"
# Daemon configuration (for agent processes)
daemon:
debug: true
agent_addr: "http://localhost:8081"
controller_addr: "http://localhost:8080"
# Named provider configurations
# These contain only authentication and connection settings
# Resource identifiers (repos, buckets, URLs) are specified per-job
providers:
# HuggingFace provider for public models
hf-public:
id: "hf-public"
type: "hf"
name: "Hugging Face Public"
# No authentication required for public repos
# HuggingFace provider for private models (if needed)
hf-private:
id: "hf-private"
type: "hf"
name: "HuggingFace Private"
token: "${HF_TOKEN}" # From environment variable
peer-main:
id: "peer-main"
type: "peer"
name: "Peer-to-Peer Transfer"
# Agent configuration (for distributed caching and peer-to-peer transfer)
agent:
# Unique agent identifier (auto-generated from hostname if not specified)
id: "test-agent-1"
# Storage configuration
storage:
# Base path where all datasets will be stored
# Each dataset gets its own subdirectory: {base_path}/{dataset_name}/
base_path: "./downloads"
# Cache configuration
cache:
# Maximum RAM usage for file cache (parsed as bytes, supports K/M/G/T suffixes)
ram_limit: "4GB"
# Maximum disk usage for cache (0 = unlimited)
disk_limit: "0"
# Network configuration for peer-to-peer communication
network:
# Address to bind the agent API server
listen_addr: "http://0.0.0.0:8081"
# Address that other agents should use to reach this agent
# If empty, will try to auto-detect from listen_addr
advertise_addr: "http://localhost:8081"
# Heartbeat interval for reporting to controller
heartbeat_interval: "10s"
# Timeout for peer-to-peer requests
peer_timeout: "30s"