How to disable dashboard in serve run?

How severe does this issue affect your experience of using Ray?

  • Low: It annoys or frustrates me for a moment.

I’m hosting a ML API service (integrated with FastAPI) on a single node with ray serve using serve run config.yaml command. It automatically comes with a dashboard which I don’t need. Is there a way to disable it? There’s no documentation about how to disable that when serving with serve run here: Configuring and Managing Ray Dashboard — Ray 2.8.1.

I’m simply trying to reduce CPU load as much as possible on the hosted API server.


Yes! It’s in the exact doc you linked. Simply run

ray start --include-dashboard=False

# or if running locally
ray start --include-dashboard=False --head

before running the serve run command will prevent dashboard from starting

1 Like