Skip to content

Commit cb75d9a

Browse files
committed
set vllm container env vars
1 parent 37d5a41 commit cb75d9a

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

utilities/llmd_utils.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
from utilities.exceptions import InferenceResponseError
2020
from utilities.infra import get_services_by_isvc_label
2121
from utilities.llmd_constants import (
22+
ContainerImages,
2223
LLMDGateway,
2324
LLMEndpoint,
2425
KServeGateway,
@@ -248,6 +249,12 @@ def create_llmisvc(
248249

249250
if container_env is None:
250251
container_env = [{"name": "VLLM_LOGGING_LEVEL", "value": "DEBUG"}]
252+
# Add FIPS-compatible env vars for vLLM CPU image
253+
if container_image == ContainerImages.VLLM_CPU:
254+
container_env.extend([
255+
{"name": "VLLM_ADDITIONAL_ARGS", "value": "--ssl-ciphers ECDHE+AESGCM:DHE+AESGCM"},
256+
{"name": "VLLM_CPU_KVCACHE_SPACE", "value": "4"},
257+
])
251258
template_config: Dict[str, Any] = {"configRef": config_refs["template_ref"]}
252259

253260
if any([

0 commit comments

Comments
 (0)