Preface¶
When connecting local models to DeepSeek Harness (DSH), a common approach is to maintain separate startup scripts, environment variables, and YAML files for each engine, then manually register available endpoints into DSH. Whenever you switch engines (llama.cpp, NInfer, vLLM-based Docker solutions, etc.), you have to re-align parameters and VRAM estimations with your hardware.
dsh-plugin-local-infer, published by maintainer cybtachyon and categorized under model inference, consolidates “choosing an engine, tuning parameters, estimating VRAM, installing dependencies, starting services, performing health checks, and registering as a DSH model” into the plugin UI and backend workflow. The goal is to run local inference on local hardware with more control than out-of-the-box solutions.
What Is This¶
In one sentence: a DSH plugin for installing and managing local inference service providers such as Strata, NInfer, Hyper-Qwen (vLLM), and llama.cpp; it handles configuration, VRAM estimation, startup, and publishing confirmed-working engines as DSH models.
The repository README states it is aimed at users who want higher performance on specific hardware than Unsloth’s out-of-the-box experience. The plugin mounts a Web UI via the Cordis service layer (--profile web). The current package version is 0.1.1 (MIT), and the README badge indicates compatibility with DSH 0.2.1-alpha.3.
Core Features¶
The following is summarized from the README’s “Using the plugin” section; all operations can be completed in the plugin panel.
Engines and Parameters¶
The Engine settings card is located on the Plugins page (older hosts may place it on the Settings page). It allows selecting engines and models, and renders parameters according to field types: checkboxes, dropdowns, sliders, text inputs, directory selectors, and chat templates (known templates plus free-form text).
Current engine support (README table):
| Engine | Docker | Local Build | Status |
|---|---|---|---|
| NInfer | Yes | Yes (cmake + CUDA) | Reference implementation; empirical VRAM models for Qwen 27B/35B artifacts |
| Hyper-Qwen (vLLM) | Yes (compose) | No | .env-driven docker-compose profiles |
| vLLM | No | No | In progress |
| llama.cpp | Yes | Yes | Declared; to be verified once binaries are available |
| Strata | Yes | No | Placeholder; parameter surface is empty, pending flag set implementation |
VRAM Estimation and Hardware Alerts¶
The VRAM Est. meter estimates weights, KV cache, overhead, and workspace as parameters change. It reports fits / tight / over relative to the detected GPU and displays the maximum context length supported under the current configuration.
When a parameter value or the parameter itself is unsafe for the current hardware, a red banner and field-level warnings appear.
System Dependencies¶
The panel lists missing host dependencies (e.g., docker, CUDA toolkit, ffmpeg, hf CLI, etc.), along with purpose descriptions, copyable installation commands per OS, and partial one-click Run (sudo) support. The Get button remains disabled until all dependencies are satisfied.
Launch, Registration, and Persistence¶
- Launch / Stop:
Launchclones or pulls engines, downloads models, starts services, and polls health endpoints;Stopshuts down services. - Register / Remove:
Registerpublishes confirmed-available engines as DSH models via the settings service (optionally setting them as the agent’s default model); changes can be version-tracked and reverted;Removeunregisters them. - Configuration is written to
~/.dsh/local-infer/config.json; values not persisted by local storage are not exposed on the browser side.
Installation and Activation¶
Command-line installation (from README):
dsh plugin --profile web add https://github.com/cybtachyon/dsh-plugin-local-infer
Web UI: open Plugins → Add Plugin, then paste https://github.com/cybtachyon/dsh-plugin-local-infer.
Runtime requirements (README): Node ^22.19.0 || >=24.0.0, pnpm 12.11.2 (pinned in mise.toml), peer dependency @deepseek-ai/cordis >= 4.0.1.
Typical Usage¶
- Add the plugin via the command above or the Web UI, and confirm the Engine settings card appears.
- Install any missing dependencies such as docker and CUDA in the dependencies panel until Get becomes available.
- Select an engine and model, adjust parameters, and watch VRAM Est. and hardware warnings to avoid
overconfigurations. - Click Launch and wait for the health check to pass.
- Click Register to use the local endpoint as a model in DSH (optionally set as the default model).
Use Stop to halt the service; use Remove to unregister the model when no longer needed.
Use Cases and Notes¶
Who it’s for: Developers already building agents or experimenting with local models on DSH who need to switch between engines such as NInfer / llama.cpp / Hyper-Qwen Docker without hand-writing startup scripts and YAML.
Platforms (summary from README’s “Supported Platforms”):
- Linux (Debian/Ubuntu
apt, Archpacman): supported. - Linux Fedora (
dnf): command set exists, but is marked as not tested on real machines. - macOS (
brew): partial support for CPU/docker paths (llama.cpp); without the NVIDIA Container Toolkit, the docker path for CUDA engines is unavailable. - Windows / WSL2: code paths are partially complete or marked as untested; WSL2 triggers dflash2 pin-memory-related rules.
The DSH ecosystem emphasizes “everything is a plugin”; the SkillHub directory page is a community listing and has no official affiliation with DeepSeek / High-Flyer.
Security and Permissions: The plugin executes installation, builds, and launches with the current dsh process permissions (including optional sudo for dependency installation). Before installing, read the GitHub repository source and the MIT license to confirm that the commands and Docker behavior comply with your environment policies.
The README also includes a Hardware guide table (impressions of capabilities drawn from r/LocalLLaMA discussions) to help compare GPU VRAM with model sizes; the table reflects community experience rather than guaranteed plugin-tested results.
Conclusion¶
dsh-plugin-local-infer ties together the configuration, VRAM estimation, dependency installation, deployment, and health checks of local inference engines into a reusable workflow inside DSH, and registers them as DSH models with one click once services are ready. If you are connecting local inference to DSH, you can review the engine status and platform notes in the directory page and repository README before enabling it.
- Directory page: https://www.skillhub.cn/plugins/cybtachyon/dsh-plugin-local-infer
- GitHub: https://github.com/cybtachyon/dsh-plugin-local-infer