|
|
@@ -82,7 +82,7 @@
|
|
|
<span><i class="el-icon-collection"></i> Ollama 推理引擎:运行中模型</span>
|
|
|
</div>
|
|
|
<el-table :data="gpuData ? gpuData.ollama : []" size="medium" style="width: 100%">
|
|
|
- <el-table-column label="模型名称" min-width="150">
|
|
|
+ <el-table-column label="模型名称">
|
|
|
<template slot-scope="scope">
|
|
|
<div class="model-cell">
|
|
|
<div class="model-icon"><i class="el-icon-box"></i></div>
|
|
|
@@ -90,8 +90,8 @@
|
|
|
</div>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column prop="size" label="磁盘大小" width="120"></el-table-column>
|
|
|
- <el-table-column prop="size_vram" label="显存占用 (VRAM)" width="150">
|
|
|
+ <el-table-column prop="size" label="占用总数"></el-table-column>
|
|
|
+ <el-table-column prop="size_vram" label="占用显存(VRAM)">
|
|
|
<template slot-scope="scope">
|
|
|
<span class="vram-text">{{ scope.row.size_vram }}</span>
|
|
|
</template>
|
|
|
@@ -106,9 +106,8 @@
|
|
|
></el-progress>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column prop="stat" label="活跃状态" width="120" align="center">
|
|
|
+ <el-table-column prop="stat" label="详情">
|
|
|
<template slot-scope="scope">
|
|
|
- <span class="status-dot" :class="{ 'is-active': scope.row.stat.includes('OK') }"></span>
|
|
|
{{ scope.row.stat }}
|
|
|
</template>
|
|
|
</el-table-column>
|