DSH-Spark-Scope: DGX Spark Nodes and Inference Workloads at a Glance in the DSH Sidebar

Introduction

When developing agents or tuning models with DeepSeek Harness (DSH), inference often runs on DGX Spark clusters. Typically, you need to open a separate Spark Scope dashboard to cross-reference model services, decode/prefill rates, and the GPU status of various nodes. Below is an introduction to the community plugin dsh-spark-scope: it embeds the Glance view from the Spark Scope mini-window into the bottom of the DSH left sidebar. This allows you to work in dsh web or Desktop without frequent page switching, while maintaining a continuous view of node and model service overviews.

What is this

dsh-spark-scope (GitHub: juliankang4/dsh-spark-scope) is released by maintainer juliankang4 and categorized as a client-side plugin in the DSH plugin directory. It relies on data provided by the independent project Spark Scope to display monitoring summaries in the DSH sidebar that are consistent with the Spark Scope mini-window: decode, prefill, status of each DGX Spark node, etc. The current plugin version is 0.0.4 with an MIT license; compatibility with DSH is noted in the README as having been tested with dsh 0.2.0-rc.2 / 0.2.1-rc.2.

Core Features

The card is located at the bottom of the sidebar (above footer items like dsh-cost-meter). The main content includes:

  1. Top: Model name, number of responding nodes, decode and prefill rates, and a five-minute sparkline.
  2. Middle: Running and queued requests, KV cache usage, TTFT / TPOT p95 for the last five minutes, and prefix cache hit rate.
  3. Bottom: GPU temperature, power consumption, load, and memory usage for each node; when there are more than four nodes, the row layout switches to two columns.

The dot next to the model name indicates status: green when Spark Scope reports cluster health, orange for other states, and red if Spark Scope is unresponsive or data has not been updated for over 20 seconds. — is displayed when there is no reading. The button in the top right corner collapses the card to a single line (model name + decode rate); the browser remembers the collapsed state. The card is hidden when the sidebar is collapsed entirely.

Differences from Inference Backends

The card only displays metrics actually reported by the inference engine that share the same labels as Spark Scope. For example, oMLX average decode/prefill rates since service startup do not include a sparkline; llama.cpp uses average decode time instead of TPOT and context usage instead of KV cache; if an API key is required to read oMLX, the card will indicate this. When multiple model services coexist, the behavior is similar to Spark Scope’s “All at once”: rates and requests are aggregated, and each service along with its decode rate and status is listed; (servers 1/2) indicates that only a subset of services reported that rate. Discrete GPU memory is labeled as VRAM; Mac nodes lack GPU temperature/power readings, and aggregated power consumption will note the number of nodes covered, such as (5/6 nodes).

How Data Enters DSH

The plugin adds a route /plugins/dsh-spark-scope/state to the dsh web server. When the page is visible, the card requests this route approximately every 2 seconds; dsh then pulls data from <your-configured-address>/api/state with a 5-second timeout. The plugin is read-only and does not modify Spark Scope or the nodes. This route uses the same login and Host validation as dsh’s native API, meaning only logged-in dsh pages can read it; Spark Scope responses exceeding 2 MB are ignored by dsh. For details, see dsh SAFETY.md.

The theme and language follow dsh (including Chinese; Korean support can be combined with dsh-locale-ko), and scaling can be consistent with dsh-ui-scale.

Installation and Enablement

In addition to installing the plugin, a running Spark Scope service is required. See spark-scope#installation for installation instructions.

For the Web side, use the official command (do not manually concatenate github:owner/repo):

dsh plugin --profile web add dsh-spark-scope

Desktop: Open Plugins → Add plugin, enter dsh-spark-scope, and install.

Configuring Spark Scope Address

Fill in the dashboard address in the Spark Scope tab of DSH Settings and press Enter. LAN addresses (e.g., http://spark-scope.local:8787) or tailnet addresses (e.g., https://spark-scope.example.ts.net) are supported; if the scheme is omitted, http:// is automatically added. Clearing the field hides the card.

If the currently open dsh page cannot save settings, the input box will be disabled with an explanation; dsh 0.2.0 only allows saving this setting on the machine running dsh.

Data is requested by the dsh process, not directly by the browser, so the address must be accessible from the computer running dsh. By default, Spark Scope only responds to localhost, IP, or its own hostname; if using a reverse proxy or other hostname, you need to configure SPARK_SCOPE_ALLOWED_HOSTS on the Spark Scope server side.

You can also write to the profile’s cordis.patch.yml:

- id: spark-scope
  name: dsh-spark-scope
  config:
    url: http://spark-scope.local:8787

Configuration fields are as follows (subject to the README):

Field Default Description
url Empty Spark Scope address (http or https); if left empty, the card is hidden

Use Cases and Notes

Suitable for: Users already running vLLM, SGLang, oMLX, llama.cpp, etc., on DGX Spark and using Spark Scope for cluster and model service monitoring; who wish to see decode/prefill and node health continuously in the sidebar while using DSH to write prompts or run agents, reducing the need to switch to a separate dashboard.

Notes:

  1. The plugin pulls intranet or tailnet addresses via the current dsh process. Before installation, it is advisable to read the repository source code and the MIT license, and deploy according to dsh security documentation.
  2. If the dsh opened in the browser is on a different machine than the one running dsh, whether Settings can save the url is subject to dsh version and policy restrictions. Please follow the interface prompts.
  3. The community plugin directory skillhub.cn is an independent site and has no official affiliation with DeepSeek / High-Flyer. The DSH ecosystem emphasizes “everything is a plugin”; this plugin is a client-side extension and does not change core DSH behavior.

Links

羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye