feat(Me): 性能自检卡 — 后端标识 + prefill/decode 实测 + 引擎对比存档

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
link2026
2026-06-10 06:42:59 +08:00
parent 8494e51823
commit a65c63947b
4 changed files with 260 additions and 65 deletions

View File

@@ -28,13 +28,13 @@ struct ModelManagementView: View {
actionButtons
.padding(.top, 4)
if service.states[.mnnLLM]?.phase == .ready {
if service.states[.mnnLLM]?.phase == .ready || service.states[.llm]?.phase == .ready {
NavigationLink {
ModelSelfTestView()
} label: {
HStack(spacing: 6) {
Image(systemName: "play.circle")
Text("运行推理自检")
Image(systemName: "gauge.with.needle")
Text("性能自检")
}
.frame(maxWidth: .infinity)
}