Files

19 lines
735 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.

# xc_validation_strategy_vllm_gguf_hygon_zkl
批量向 ModelHub XC 平台提交 GGUF 模型适配任务的策略服务zhouyuanxi 账号),
之后保持 HTTP 服务存活供平台探活。
## 功能
- 通过 `/api/adapt/task/add` 接口xc-Token 认证)批量提交模型适配任务
- llamacpp 框架hygon_k100-ai GPU模型文件名一律 `.f16.gguf`
- 提交成功的模型写入 `submitted_adapt_tasks.txt`
- 暴露 `/health``/status` 接口满足平台运行时契约
## 平台契约说明
- Dockerfile 位于仓库根目录,基于官方轻量基础镜像
- 暴露 8080 端口并实现 `GET /health`
- 通过环境变量 `STRATEGY_ID` 获取策略 ID
- 正确处理 `SIGTERM` 信号,支持优雅停机