Back to catalog

sd1g1 /

sd1g1/dsh-muse-total-tps

Verified

DSH Web 插件:Muse Spark 使用包含 TTFT 的总生成时间计算 TPS

0 Stars0 Forks0 IssuesN/A Community rating0 Confirmed installs
READMESource: main@23cdbe24

dsh-muse-total-tps

DSH Web 插件:对 opencode-go/muse-spark-1.2-contributor 使用包含 TTFT 的总生成时间计算统计栏 TPS,避免 TTFT 很长时只按首 token 后解码时间计算导致 TPS 虚高。

安装

dsh plugin --profile web add github:sd1g1/dsh-muse-total-tps

重启 DSH 后生效,刷新 Web 页面即可看到统计栏使用新算法。

配置

默认目标:

- id: ui-muse-total-tps
  config:
    provider: opencode-go
    model: muse-spark-1.2-contributor

也可以配置多个目标:

- id: ui-muse-total-tps
  config:
    targets:
      - provider: opencode-go
        model: muse-spark-1.2-contributor

验证 / 卸载

使用目标模型完成一轮响应后,底部统计栏的 tok/s 会按 输出 tokens / (assistant/message - step/start) 计算;鼠标悬停统计栏会提示已按总生成时间调整。

dsh plugin --profile web remove @local/dsh-muse-total-tps
/ 5

No ratings yet

Community comments

No comments yet. Be the first to write one.