Files
modelhub-submit-agent/README.md

34 lines
738 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# ModelHub 全云端提交智能体
部署在平台容器中,从内网直接提交验证任务。
## API
| 端点 | 方法 | 说明 |
|------|------|------|
| `/health` | GET | 健康检查 |
| `/` | GET | 智能体信息 |
| `/status` | GET | 运行状态 |
| `/logs?lines=50` | GET | 查看日志 |
| `/run` | POST | 触发一次完整流程 |
## POST /run 请求体
```json
{
"gpus": ["Kunlunxin_p-800", "hygon_k100-ai"],
"limit": 30
}
```
- `gpus`: 目标 GPU 列表(可选,默认全部)
- `limit`: 每 GPU 最大提交数(可选,默认 30
## 流程
1. 搜索 ModelScopeQwen 系列关键词)
2. 下载量 ≥ 50 筛选
3. 架构检查config.json
4. 平台验证状态查重
5. 提交到 ModelHub