dsh-scnet 0.4.1 → 0.4.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -113
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
# DSH-SCNet
|
|
2
2
|
|
|
3
|
-
[
|
|
4
|
-
|
|
5
|
-
## English
|
|
3
|
+
[简体中文](./README_CN.md)
|
|
6
4
|
|
|
7
5
|
DSH-SCNet (`dsh-scnet` on npm) is a community-maintained DSH bundle for operating Supercomputing Network (SCNet) clusters. It packages the canonical [`scnet-hpc`](https://github.com/lql341/scnet-hpc) skill, profile-aware shell utilities, and seven deterministic tools for SSH setup, Slurm job generation, cluster discovery, and compute-node diagnostics.
|
|
8
6
|
|
|
@@ -103,113 +101,3 @@ The naming and attribution policy follows the [DeepSeek Harness brand guidelines
|
|
|
103
101
|
This project is released under the [MIT License](LICENSE). Subject to the license terms, the software may be used, copied, modified, merged, published, sublicensed, and distributed, including for commercial purposes.
|
|
104
102
|
|
|
105
103
|
Redistributions must retain the copyright notice and the MIT license notice. The software is provided “as is,” without warranties of any kind; users are responsible for evaluating the suitability and risks of the bundle, skill instructions, cluster profiles, scripts, and generated outputs for their own environment.
|
|
106
|
-
|
|
107
|
-
---
|
|
108
|
-
|
|
109
|
-
## 简体中文
|
|
110
|
-
|
|
111
|
-
[English](#english) | [简体中文](#简体中文)
|
|
112
|
-
|
|
113
|
-
<p align="center">在 DeepSeek Harness 里操作超算互联网(SCNet)集群:配 SSH、生成 CPU/DCU Slurm 作业、探测/刷新集群、运行计算节点探针、排查失败,附海光 DCU/DTK 知识和英文快速指南。</p>
|
|
114
|
-
|
|
115
|
-
> 本项目是独立维护的社区项目,与 DeepSeek Harness 兼容,但不是 DeepSeek 官方产品,也不表示 DeepSeek 对本项目提供背书、合作或授权。
|
|
116
|
-
|
|
117
|
-
## 这是什么
|
|
118
|
-
|
|
119
|
-
一个 DeepSeek Harness bundle 插件,把 `scnet-hpc` 的 Agent Skill 和 bash 脚本包装成 DSH 可安装包。装好后 DSH 模型在涉及超算集群、Slurm 作业、海光 DCU/DTK 时会加载对应 skill,并可调用工具完成确定性操作。
|
|
120
|
-
|
|
121
|
-
## 安装
|
|
122
|
-
|
|
123
|
-
推荐从 npm 安装:
|
|
124
|
-
|
|
125
|
-
```sh
|
|
126
|
-
dsh plugin --profile web add dsh-scnet
|
|
127
|
-
```
|
|
128
|
-
|
|
129
|
-
git 源、本地目录安装以及验证步骤见[安装说明](./docs/installation.zh-CN.md)。
|
|
130
|
-
|
|
131
|
-
## 能力面
|
|
132
|
-
|
|
133
|
-
### Skills
|
|
134
|
-
|
|
135
|
-
| Skill | 作用 |
|
|
136
|
-
|---|---|
|
|
137
|
-
| scnet-hpc | 国产超算使用规范:连接、提交/监控、调试、失败排查、海光 DCU/DTK 资源索引 |
|
|
138
|
-
|
|
139
|
-
### 内置集群
|
|
140
|
-
|
|
141
|
-
| 短名 | 描述 | 加速器 |
|
|
142
|
-
|---|---|---|
|
|
143
|
-
| zzeshell | 超算互联网 · 郑州 | 海光 BW1000 DCU (gfx936) ×8, 64GB/卡 |
|
|
144
|
-
| kseshell | 超算互联网 · 昆山 | 海光 Z100 DCU (gfx906) ×4, 16GB/卡 |
|
|
145
|
-
| wuzhshell | 超算互联网 · 乌镇 | 海光 Z100 DCU (gfx906) ×4, 16GB/卡 |
|
|
146
|
-
| xianshell | 超算互联网 · 西安 | 海光 Z100 DCU (gfx906) ×4, 16GB/卡 |
|
|
147
|
-
|
|
148
|
-
### Tools
|
|
149
|
-
|
|
150
|
-
| 工具 | 说明 |
|
|
151
|
-
|---|---|
|
|
152
|
-
| scnet_list_clusters | 列出已配置的集群 profile |
|
|
153
|
-
| scnet_show_cluster | 读取指定集群的完整参数 |
|
|
154
|
-
| scnet_generate_job | 按 profile 生成加速器或 CPU-only Slurm 作业,支持显式分区覆盖 |
|
|
155
|
-
| scnet_setup_ssh | 配置本地到集群的 SSH 连接 |
|
|
156
|
-
| scnet_probe_cluster | 探测新集群并生成 profile |
|
|
157
|
-
| scnet_refresh_cluster | 动态刷新已有集群的规则缓存 |
|
|
158
|
-
| scnet_run_compute_probe | 在计算节点运行最小能力探针 |
|
|
159
|
-
|
|
160
|
-
## 文档
|
|
161
|
-
|
|
162
|
-
- [安装说明](./docs/installation.zh-CN.md)
|
|
163
|
-
- [测试说明](./docs/testing.zh-CN.md)
|
|
164
|
-
|
|
165
|
-
## 结构
|
|
166
|
-
|
|
167
|
-
```
|
|
168
|
-
.
|
|
169
|
-
├── package.json # dsh.bundle manifest
|
|
170
|
-
├── cordis.patch.yml # bundle 组合层
|
|
171
|
-
├── index.mjs # Cordis 入口,注册 7 个工具
|
|
172
|
-
├── skills/scnet-hpc/
|
|
173
|
-
│ ├── clusters/
|
|
174
|
-
│ │ ├── zzeshell.conf
|
|
175
|
-
│ │ ├── kseshell.conf
|
|
176
|
-
│ │ ├── wuzhshell.conf
|
|
177
|
-
│ │ └── xianshell.conf
|
|
178
|
-
│ ├── scripts/
|
|
179
|
-
│ └── references/
|
|
180
|
-
├── sync.sh # 从 canonical 仓库同步
|
|
181
|
-
├── README.md # 英文默认说明
|
|
182
|
-
├── README_CN.md # 中文说明
|
|
183
|
-
├── docs/ # 中英文安装与测试文档
|
|
184
|
-
├── LICENSE
|
|
185
|
-
└── .gitignore
|
|
186
|
-
```
|
|
187
|
-
|
|
188
|
-
## 同步
|
|
189
|
-
|
|
190
|
-
本仓库是发布面,知识内容(`skills/scnet-hpc/` 下的 SKILL.md、clusters、references、scripts)从 canonical 仓库 `lql341/scnet-hpc` 同步:
|
|
191
|
-
|
|
192
|
-
```sh
|
|
193
|
-
./sync.sh # 当前本机布局默认 ../../skills/scnet-hpc
|
|
194
|
-
./sync.sh --src /path/to/scnet-hpc
|
|
195
|
-
```
|
|
196
|
-
|
|
197
|
-
只改 canonical,本仓库跑 sync 更新;不要把 `skills/scnet-hpc/` 当手工维护目录。
|
|
198
|
-
`sync.sh` 会自动排除 `scripts/install.sh` 和 `clusters/.cache/`,避免把安装脚本或本机动态缓存打进发布包。
|
|
199
|
-
|
|
200
|
-
## 隐私与安全
|
|
201
|
-
|
|
202
|
-
- 仓库不含私钥、token、用户名、密钥指纹。
|
|
203
|
-
- `scnet_setup_ssh` 会写入 `~/.ssh/`,调用前确认私钥路径和集群。
|
|
204
|
-
- `scnet_generate_job` 生成的 `.slurm` 可能含本机用户名,`.gitignore` 已排除。
|
|
205
|
-
- SSH 接入端点仅使用平台面向用户公开提供的信息,由 canonical 仓库维护。
|
|
206
|
-
- `scnet_refresh_cluster` / `scnet_run_compute_probe` 会 SSH 到远端并可能提交作业;运行前确认集群和副作用。
|
|
207
|
-
- `clusters/.cache/` 是本机动态探测缓存,`.gitignore` 已排除,不应提交。
|
|
208
|
-
|
|
209
|
-
## License
|
|
210
|
-
|
|
211
|
-
本项目采用 [MIT License](LICENSE) 开源。除许可证正文另有规定外,使用者可以自由使用、复制、修改、合并、发布、再许可和销售本项目及其衍生作品。
|
|
212
|
-
|
|
213
|
-
再发布本项目或其重要组成部分时,应保留版权声明和 MIT 许可声明。本项目按“现状”提供,不对适销性、特定用途适用性或不侵权作任何明示或默示保证;使用者应自行评估 DSH bundle、skill 说明、集群配置、脚本和生成结果在其环境中的适用性与风险。
|
|
214
|
-
|
|
215
|
-
项目命名与归属声明遵循 [DeepSeek Harness 品牌素材使用规范](https://github.com/deepseek-ai/deepseek-harness/blob/dsh-v0.1.0-rc.8/BRAND_GUIDELINES.zh.md)。
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-scnet",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.2",
|
|
4
4
|
"description": "Community DeepSeek Harness bundle for SCNet HPC: profile-based SSH, CPU/DCU Slurm jobs, cluster probing, compute-node diagnostics, and Hygon DCU/DTK guidance.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./index.mjs",
|