fix: v1.4.1 - 三项优化

1. 选模型后参数自适应调整:
   - n_gpu_layers 设为模型实际层数(而非'all')
   - 多卡时 split_mode 设为 tensor
   - tensor_split 按各卡显存比例自动计算
   - 增减/切换显卡时也自动更新 tensor_split

2. 模型路径为空时红色线框标记

3. 参数值非默认时用橙色线框标记(非红非绿)
This commit is contained in:
2026-07-20 00:21:09 +08:00
parent 26d7ee0b66
commit c12c2240a2
2 changed files with 30 additions and 8 deletions
+2
View File
@@ -378,6 +378,8 @@ header h1 {
transition: border-color 0.15s;
}
.param-item:hover { border-color: var(--accent2); }
.param-item.param-empty { border-color: var(--accent); border-width: 2px; }
.param-item.param-changed { border-color: #e9c46a; }
.param-item.modified { border-color: var(--accent2); }
/* keep old .modified for backwards compat but remove red styling */