Skip to content

Commit

Permalink
Hardcode IPs until DNS issues get resolved
Browse files Browse the repository at this point in the history
  • Loading branch information
borzunov committed Jul 20, 2023
1 parent b1ff8bd commit ddcda02
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/petals/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
from petals.utils import *
from petals.utils.logging import initialize_logs as _initialize_logs

__version__ = "2.0.0.post1"
__version__ = "2.0.0.post2"


if not os.getenv("PETALS_IGNORE_DEPENDENCY_VERSION"):
Expand Down
4 changes: 4 additions & 0 deletions src/petals/constants.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
import torch

PUBLIC_INITIAL_PEERS = [
# Temporary IPs until DNS issues get resolved
"/ip4/159.223.29.252/tcp/31337/p2p/QmedTaZXmULqwspJXz44SsPZyTNKxhnnFvYRajfH7MGhCY",
"/ip4/24.144.96.147/tcp/31338/p2p/QmQGTqmM7NKjV6ggU1ZCap8zWiyKR89RViDXiqehSiCpY5",
# Default DNS addresses
"/dns/bootstrap1.petals.ml/tcp/31337/p2p/QmedTaZXmULqwspJXz44SsPZyTNKxhnnFvYRajfH7MGhCY",
"/dns6/bootstrap1.petals.ml/tcp/31337/p2p/QmedTaZXmULqwspJXz44SsPZyTNKxhnnFvYRajfH7MGhCY",
"/dns/bootstrap2.petals.ml/tcp/31338/p2p/QmQGTqmM7NKjV6ggU1ZCap8zWiyKR89RViDXiqehSiCpY5",
Expand Down

0 comments on commit ddcda02

Please sign in to comment.