ldhldh commited on
Commit
f4e3990
1 Parent(s): 5c5d371

Upload config.py

Browse files
Files changed (1) hide show
  1. config.py +31 -0
config.py ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from petals.constants import PUBLIC_INITIAL_PEERS
2
+
3
+ from data_structures import ModelInfo
4
+
5
+ INITIAL_PEERS = PUBLIC_INITIAL_PEERS
6
+
7
+ MODELS = [
8
+ ModelInfo(
9
+ dht_prefix="StableBeluga2-hf",
10
+ repository="https://huggingface.co/petals-team/StableBeluga2",
11
+ num_blocks=80,
12
+ ),
13
+ ModelInfo(
14
+ dht_prefix="falcon-180B-chat",
15
+ repository="https://huggingface.co/tiiuae/falcon-180B-chat",
16
+ num_blocks=80,
17
+ limited=True,
18
+ ),
19
+ ModelInfo(
20
+ dht_prefix="Llama-2-70b-chat-hf",
21
+ repository="https://huggingface.co/meta-llama/Llama-2-70b-chat-hf",
22
+ num_blocks=80,
23
+ ),
24
+ ModelInfo(
25
+ dht_prefix="Llama-2-70b-hf",
26
+ repository="https://huggingface.co/meta-llama/Llama-2-70b-hf",
27
+ num_blocks=80,
28
+ ),
29
+ ]
30
+
31
+ UPDATE_PERIOD = 60