zhousha fae53f5a2a add a dedicated bi150 fallback account and skip hygon this round
bi150 coverage lagged hygon: the zero-credit accounts each take only one model,
so once all 34 were used the remaining models got no bi150 at all. Add
zhangyuanxi as the fallback so bi150 can catch up to hygon's coverage, using a
separate account from zhoukaile so the two cards don't compete for one quota.

hygon is already submitted for every model in the current 498-model list, so
ENABLE_HYGON_SUBMIT is off this round; flip it back on with a new model list.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-18 15:39:26 +08:00
2026-06-22 19:00:46 +08:00
2026-06-12 14:24:27 +08:00

xc_validation_strategy_gguf

GGUF 模型下载 + 验证任务提交流水线策略服务:批量创建 GGUF 模型下载任务(最大并发 8 每个模型下载成功后立即提交 hygon / bi150 两个验证任务,之后保持 HTTP 服务存活供平台探活。

功能

  • 自动登录 ModelHub 获取 Token失败时回退到预设 Token
  • 按流水线批量创建 GGUF 模型下载任务HuggingFace 源,最大并发 8
  • 每个模型下载成功后,立即提交 hygon_k100-ai 与 Iluvatar_bi-150 两个验证任务llamacpp 框架)
  • 下载成功的模型 ID 写入 downloaded_success_models.txt
  • 暴露 /health/status 接口满足平台运行时契约

项目结构

.
├── main.py            # 主入口HTTP 服务 + 下载/提交流水线
├── Dockerfile         # 平台镜像构建配置
├── requirements.txt   # Python 依赖
└── downloaded_success_models.txt   # 运行后自动生成,记录下载成功的模型

平台契约说明

本项目满足平台对策略镜像的全部必要约束:

  • Dockerfile 位于仓库根目录,基于官方轻量基础镜像
  • 暴露 8080 端口并实现 GET /health
  • 通过环境变量 STRATEGY_ID 获取策略 ID
  • 正确处理 SIGTERM 信号,支持优雅停机
Description
No description provided
Readme 688 KiB
Languages
Python 99.8%
Dockerfile 0.2%