Self-hosted AI workspace.
Python
Set vllm env preset width
pewdiepie-archdaemoncbe8da0b1ae6
diff --git a/static/js/cookbookServe.js b/static/js/cookbookServe.jsindex e93f0b480..c3af932fc 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;">${_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:120px;">${_envPresetOpts}</select></label>`;}// Free-text env-vars field. Anything pasted here is prepended to the// launch command verbatim. Use for CUDACXX, PATH overrides, NCCL_*