From deac984180e54dcb904f415c8f2e095b8b1661a7 Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Tue, 25 Aug 2026 14:56:08 +0800
Subject: [PATCH] feat(console): auto-select cuda for detection workflows

---
 apps/workbench-console/src/components/ObjectDetectionPanel.vue |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/apps/workbench-console/src/components/ObjectDetectionPanel.vue b/apps/workbench-console/src/components/ObjectDetectionPanel.vue
index a9ba213..9410756 100644
--- a/apps/workbench-console/src/components/ObjectDetectionPanel.vue
+++ b/apps/workbench-console/src/components/ObjectDetectionPanel.vue
@@ -27,7 +27,7 @@
 <template>
   <ArtifactState :loading="store.loading" :error="store.error" />
   <section class="workspace-command">
-    <div><h2>新建检测运行</h2><p>上传少量代表性影像,CPU 基线会生成独立结果,不覆盖既有案例。</p></div>
+    <div><h2>新建检测运行</h2><p>上传少量代表性影像,任务会自动优先使用本机可用 GPU,未通过检测时回退 CPU,并生成独立结果。</p></div>
     <a-button type="primary" @click="showRunForm = !showRunForm"><PlayCircleOutlined />{{ showRunForm ? "收起运行表单" : "上传并运行" }}</a-button>
   </section>
   <section v-if="showRunForm" class="surface-section run-form"><a-alert type="info" show-icon message="单次最多 12 张图像;当前基线识别人员和常见车辆,树木不在有效类别内。" /><a-upload class="run-upload" multiple accept=".jpg,.jpeg,.png" :file-list="files.map((file) => ({ uid: file.name, name: file.name, status: 'done' as const }))" :before-upload="beforeUpload" @remove="removeFile"><a-button><UploadOutlined />选择图像</a-button></a-upload><a-alert v-if="runError" type="error" show-icon :message="runError" /><a-button type="primary" :loading="running" :disabled="!files.length" @click="submitRun"><PlayCircleOutlined />开始检测</a-button></section>

--
Gitblit v1.9.3