Skip to content

Self-hosted AI workspace.

Python

Adjust vllm preset and offsets

pewdiepie-archdaemon6d8ea62ce456
diff --git a/static/js/cookbookServe.js b/static/js/cookbookServe.js
index c3af932fc..02d0d755a 100644
--- a/static/js/cookbookServe.js
+++ b/static/js/cookbookServe.js
@@ -1376,7 +1376,7 @@ function _rerenderCachedModels() {
['', 'None'],
['minimax_m3_cuda', 'CUDA native sampler'],
].map(([v, label]) => `<option value="${v}"${_envPresetVal === v ? ' selected' : ''}>${label}</option>`).join('');
- panelHtml += `<label class="hwfit-backend-vllm" style="grid-column:1 / 2;">${_l('Env Preset','Adds known-good environment variables without typing them. CUDA native sampler adds VLLM_TARGET_DEVICE=cuda and disables FlashInfer sampler JIT; useful when system nvcc cannot compile the sampler for the GPU architecture.')}<select class="hwfit-sf" data-field="vllm_env_preset" style="height:32px;width:120px;">${_envPresetOpts}</select></label>`;
+ panelHtml += `<label class="hwfit-backend-vllm" style="grid-column:1 / 2;">${_l('Env Preset','Adds known-good environment variables without typing them. CUDA native sampler adds VLLM_TARGET_DEVICE=cuda and disables FlashInfer sampler JIT; useful when system nvcc cannot compile the sampler for the GPU architecture.')}<select class="hwfit-sf" data-field="vllm_env_preset" style="height:32px;width:122px;">${_envPresetOpts}</select></label>`;
}
// Free-text env-vars field. Anything pasted here is prepended to the
// launch command verbatim. Use for CUDACXX, PATH overrides, NCCL_*
diff --git a/static/style.css b/static/style.css
index 366ad4bad..60fd7bc7f 100644
--- a/static/style.css
+++ b/static/style.css
@@ -24201,14 +24201,14 @@ details.hwfit-serve-advanced label:has(.hwfit-sf[data-field="vllm_attn_backend"]
}
details.hwfit-serve-advanced label:has(.hwfit-sf[data-field="vllm_block_size"]) {
position: relative;
- left: -73px;
+ left: -75px;
}
details.hwfit-serve-advanced .hwfit-sf[data-field="vllm_block_size"] {
width: calc(100% - 6px);
}
details.hwfit-serve-advanced label:has(.hwfit-sf[data-field="swap"]) {
position: relative;
- left: -71px;
+ left: -73px;
}
details.hwfit-serve-advanced label:has(.hwfit-sf[data-field="vllm_kv_cache_dtype"]) {
position: relative;