Skip to content

Commit

Permalink
rip out stats bloat
Browse files Browse the repository at this point in the history
  • Loading branch information
Gary authored and Gary committed Dec 14, 2024
1 parent a37b346 commit b69ab7f
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 68 deletions.
5 changes: 0 additions & 5 deletions exo/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@
parser.add_argument("--listen-port", type=int, default=5678, help="Listening port for discovery")
parser.add_argument("--download-quick-check", action="store_true", help="Quick check local path for model shards download")
parser.add_argument("--max-parallel-downloads", type=int, default=4, help="Max parallel downloads for model shards download")
parser.add_argument("--prometheus-client-port", type=int, default=None, help="Prometheus client port")
parser.add_argument("--broadcast-port", type=int, default=5678, help="Broadcast port for discovery")
parser.add_argument("--discovery-module", type=str, choices=["udp", "tailscale", "manual"], default="udp", help="Discovery module to use")
parser.add_argument("--discovery-timeout", type=int, default=30, help="Discovery timeout in seconds")
Expand Down Expand Up @@ -170,10 +169,6 @@ def preemptively_start_download(request_id: str, opaque_status: str):

node.on_opaque_status.register("start_download").on_next(preemptively_start_download)

if args.prometheus_client_port:
from exo.stats.metrics import start_metrics_server
start_metrics_server(node, args.prometheus_client_port)

last_broadcast_time = 0


Expand Down
Empty file removed exo/stats/__init__.py
Empty file.
27 changes: 0 additions & 27 deletions exo/stats/docker-compose-stats.yml

This file was deleted.

29 changes: 0 additions & 29 deletions exo/stats/metrics.py

This file was deleted.

7 changes: 0 additions & 7 deletions exo/stats/prometheus.yml

This file was deleted.

0 comments on commit b69ab7f

Please sign in to comment.