Preface¶
When performing local model inference in DeepSeek Harness (DSH), the common practice is to start a separate inference service and then configure a remote or OpenAI-compatible endpoint within DSH. Model files, shards, vision projectors, MTP, and engine parameters are often scattered across directories and command lines, lacking a unified entry point when switching machines or tuning parameters.
Below is an introduction to the community plugin dsh-strata (Maintainer: averyjohnkucan-arch): It manages Strata Unleashed GGUF models, runtimes, and saved profiles within DSH’s web configuration interface, and registers models into DSH’s conversational model selector. Category: “Model Inference”; Current GitHub Stars: 0.
What is this¶
dsh-strata is a Strata local inference provider and model manager for DeepSeek Harness (README intro: Strata local inference provider and model manager for DeepSeek Harness). It is provided as an installable Cordis bundle; it does not patch the DSH core, does not replace the built-in UI, and does not require secondary compilation. During installation, it uses the peer dependencies already included with DSH and will not pull an extra provider stack.
The current plugin version is 0.1.7 (MIT), requiring DeepSeek Harness 0.2.1-rc.2 running in a Web profile. The Node development environment requires 22.19+ (see engines in package.json).
Core Features¶
Models and Profiles¶
In Settings → Models → Strata, you can:
- Add model → Select model files: Browse the host machine’s model directory, select multiple files or click Select all model files here; previously selected files are retained when browsing across directories.
- Inspect and assign: Read file headers to assign the main model, ordered shards, vision projectors, and MTP; it reports missing shards, mixed main model sets, and unsupported MTP formats.
- After editing and saving a profile, click Start: If the runtime or model pack is missing, it will prepare them before starting the service; progress can be cancelled. Installed engines and imported packs can be selected in Runtime and imported model data.
- After saving, the model appears in the model selector on the DSH conversation side.
Edit reopens a saved profile; Remove profile deletes the configuration and stops the processes owned by that profile, while downloaded model files are retained. Attach running server can explicitly attach to an already running server that advertises the profile’s model IDs; stopping or disabling an attached server only detaches it and does not terminate the external process, nor do launch settings apply to external servers.
Engine CLI and Configuration¶
Inference flags listed in the engine executable’s help are provided as corresponding controls in All engine CLI options: Leaving them empty means the engine default; for boolean items, Omit flag means not passing that flag to the process (this does not necessarily mean the engine’s default behavior is disabled). The full JSON editor supports arrays for repeated flags and {"argv":["first","second"]} for multi-value flags; extra argv is an array, not a shell string. Environment variables and full server configuration are also editable.
Runtime and Formats (Initial Release Scope)¶
The engine source code comes from StrataUnleashed, and this release pins revision c73cde37581e6a79664176a08a232480c1b1fcfc. Automatic installation currently builds the NVIDIA CUDA engine from this source on Linux, creates a Python environment, installs dependencies, and builds CPU/CUDA vision readers; it attempts a Vulkan vision reader, but retains the CPU fallback if the tool is unavailable. It requires Python with venv, Git, CMake, Ninja, a C++ compiler, and a compatible CUDA toolchain/driver; these system dependencies are not automatically installed with administrator privileges. You can also manually provide other supported engine binaries. The initial release is not a generic pre-compiled engine distribution.
Automatic model packing currently supports qwen4exp / Flash Next (using iq_pack.py within the fork). Other architectures require upstream-prepared compatible runtime packs. MTP GGUF must be in the Strata-packed Q2_0 format (accepted by mtp_rt.py); arbitrary standalone FP16/Q4/Q8 MTP GGUFs will be identified and explicitly rejected for conversion. Prepared MTP runtimes are supported; MTP will not be silently discarded, nor will the tuner move it off the text GPU.
Vision modes: Auto, GPU, iGPU/Vulkan, CPU, Off. K/V only accepts mixed formats actually supported by the engine (e.g., FP16/FP16, Q4/Q4, etc.; dropdown items do not imply that all Cartesian combinations are available).
Import, Tuning, and Data Directories¶
Import saved Strata configuration allows importing existing JSON run configurations; the import records the source file’s SHA-256 and existing checksum status. The optional Tune saved profile measures and tunes parameters on the current GPU (requires active enabling); failures or cancellations will retain the previously saved tune.
Disabling the plugin removes cards, provider registrations, and tools, and stops its owned servers; uninstalling the bundle only removes the code. Saved profiles and runtime data remain in ~/.dsh/dsh-strata/ (or $DSH_HOME/dsh-strata/) and can be restored by reinstalling; to completely clear them, you need to manually delete this directory.
Integration with DSH¶
The Host registers an LlmAdapter via ctx.llm.registerAdapter, delegating wire format conversion, images, and replay to DSH’s public PiAiAdapter, and separately registers ctx.webServer.register routes. The Agent side provides the strata_models tool, sharing the same set of operations and DSH’s approveEscalation as the card UI; host management calls require Full access or one-time approval. This initial version targets the local Web profile; remote delegation and Electron-only profiles have not yet been verified.
Installation and Activation¶
Requires DeepSeek Harness 0.2.1-rc.2 running under a Web profile.
- Open Plugins → Add plugin → GitHub.
- Paste the repository address:
https://github.com/averyjohnkucan-arch/dsh-strata
- Install and enable the plugin; refresh the browser as prompted, or restart DSH if required by the manager.
- Open Settings → Models → Strata to start configuring models.
Plugin directory page: https://www.skillhub.cn/plugins/averyjohnkucan-arch/dsh-strata (Community site, no official affiliation with DeepSeek / High-Flyer).
Typical Usage¶
- In the Strata settings page, click Add model and select GGUF and related files (including shards, vision, and MTP if needed) from the local model directory.
- Perform Inspect and assign, confirm the main model and shards are correct, and then save the profile.
- Click Start and wait for the runtime or model pack preparation to complete; once the service is ready, select the model from the model selector in the DSH conversation.
- If an external Strata process is already running, you can use Attach running server to attach to it without the plugin starting another process.
- When reusing an old environment, use Import saved Strata configuration to import JSON; when optimizing for the current GPU, perform tuning only with the understanding that Tune saved profile will overwrite adjustable items.
Use Cases and Notes¶
Suitable for developers who are already using or planning to use the Strata Unleashed GGUF ecosystem locally and wish to integrate model lifecycle management into the DSH Web settings and conversation model selection flow. The initial version focuses on Linux + CUDA automatic building and the qwen4exp / Flash Next packing path; other architectures and generic pre-compiled engines require you to prepare compatible packs or binaries yourself.
The plugin runs with the permissions of the current DSH process user. It will read/write ~/.dsh/dsh-strata/, access the model paths you select, and potentially trigger local compilation and Python environment creation. Before installation, you should read the source code and the MIT license on GitHub to ensure the environment and security boundaries meet your requirements. The community directory and GitHub description do not constitute official endorsement; stars and versions are subject to the repository and package.json.
Links¶
- Community Directory: https://www.skillhub.cn/plugins/averyjohnkucan-arch/dsh-strata
- Source Code and Full Documentation: https://github.com/averyjohnkucan-arch/dsh-strata