-
Notifications
You must be signed in to change notification settings - Fork 39
/
Copy pathconfig.toml
76 lines (69 loc) · 2.49 KB
/
config.toml
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
[service]
base_url = "http://sequencer.heurist.xyz"
llm_url = "http://localhost"
signal_url = "https://d2k7cjzmjgpm6p.cloudfront.net/prod"
sd_timeout_seconds = 18
llm_timeout_seconds = 180
[logging]
sd_log_filename = "sd-miner.log"
llm_log_filename = "llm-miner.log"
[versions]
sd_version = "sd-v1.4.0"
llm_version = "llm-v1.2.0"
[storage]
s3_bucket = 'heurist-images'
base_dir = "~/.cache/heurist"
keys_dir = "~/.heurist-keys"
[model_config]
model_config_url = "https://raw.githubusercontent.com/heurist-network/heurist-models/main/models.json"
vae_config_url = "https://raw.githubusercontent.com/heurist-network/heurist-models/main/vae.json"
lora_config_url = "https://raw.githubusercontent.com/heurist-network/heurist-models/main/lora.json"
default_sd_model_index = 1
flux_dev_file_downloads = [
"LICENSE.md",
"README.md",
"ae.safetensors",
"dev_grid.jpg",
"flux1-dev.safetensors",
"model_index.json",
"scheduler/scheduler_config.json",
"text_encoder/config.json",
"text_encoder/model.safetensors",
"text_encoder_2/config.json",
"text_encoder_2/model-00001-of-00002.safetensors",
"text_encoder_2/model-00002-of-00002.safetensors",
"text_encoder_2/model.safetensors.index.json",
"tokenizer/merges.txt",
"tokenizer/special_tokens_map.json",
"tokenizer/tokenizer_config.json",
"tokenizer/vocab.json",
"tokenizer_2/special_tokens_map.json",
"tokenizer_2/spiece.model",
"tokenizer_2/tokenizer.json",
"tokenizer_2/tokenizer_config.json",
"transformer/config.json",
"transformer/diffusion_pytorch_model-00001-of-00003.safetensors",
"transformer/diffusion_pytorch_model-00002-of-00003.safetensors",
"transformer/diffusion_pytorch_model-00003-of-00003.safetensors",
"transformer/diffusion_pytorch_model.safetensors.index.json",
"vae/config.json",
"vae/diffusion_pytorch_model.safetensors"
]
[system]
# Make sure to increase num_cuda_devices for SD miner if your machine has multiple GPUs
num_cuda_devices = 1
# Number of children processes is only applicable to LLM miner
num_child_process = 4
sleep_duration = 2
min_deadline = 1
reload_interval = 600
signal_interval = 600
[processing_limits]
max_iterations = 35
max_width = 2048
max_height = 2048
# Limit on the concurrent requests for LLM miner. Actual running requests may go over. Higher concurrency results in higher throughput but longer latency
concurrency_soft_limit = 5
[contract]
rpc = "https://sepolia.era.zksync.dev/"
address = "0x7798de1aE119b76037299F9B063e39760D530C10"