Skip to content

Commit ddcda02

Browse files
committed
Hardcode IPs until DNS issues get resolved
1 parent b1ff8bd commit ddcda02

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

src/petals/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
from petals.utils import *
1212
from petals.utils.logging import initialize_logs as _initialize_logs
1313

14-
__version__ = "2.0.0.post1"
14+
__version__ = "2.0.0.post2"
1515

1616

1717
if not os.getenv("PETALS_IGNORE_DEPENDENCY_VERSION"):

src/petals/constants.py

+4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
import torch
22

33
PUBLIC_INITIAL_PEERS = [
4+
# Temporary IPs until DNS issues get resolved
5+
"/ip4/159.223.29.252/tcp/31337/p2p/QmedTaZXmULqwspJXz44SsPZyTNKxhnnFvYRajfH7MGhCY",
6+
"/ip4/24.144.96.147/tcp/31338/p2p/QmQGTqmM7NKjV6ggU1ZCap8zWiyKR89RViDXiqehSiCpY5",
7+
# Default DNS addresses
48
"/dns/bootstrap1.petals.ml/tcp/31337/p2p/QmedTaZXmULqwspJXz44SsPZyTNKxhnnFvYRajfH7MGhCY",
59
"/dns6/bootstrap1.petals.ml/tcp/31337/p2p/QmedTaZXmULqwspJXz44SsPZyTNKxhnnFvYRajfH7MGhCY",
610
"/dns/bootstrap2.petals.ml/tcp/31338/p2p/QmQGTqmM7NKjV6ggU1ZCap8zWiyKR89RViDXiqehSiCpY5",

0 commit comments

Comments
 (0)