Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions experiments/plantcad/exp1729_plantcad_eval.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@

logger = logging.getLogger(__name__)

# nodryrun


# -----------------------------------------------------------------------------
# Configuration
Expand Down
4 changes: 2 additions & 2 deletions lib/marin/src/marin/rl/weight_transfer/arrow_flight.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,8 @@ def _resolve_advertise_host() -> str:
pass

hostname = socket.gethostname()
# gRPC's c-ares DNS resolver can't handle .local (mDNS) hostnames
if hostname.endswith(".local"):
# gRPC's c-ares DNS resolver can't handle .local (mDNS) or .localdomain hostnames
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess we could open a socket on the 0.0.0.0 and see what IP it binds but this seems fine too.

if hostname.endswith(".local") or hostname.endswith(".localdomain"):
return "localhost"
Comment thread
rjpower marked this conversation as resolved.
return hostname

Expand Down
Loading