Skip to content

Commit 259504e

Browse files
[compile] Add enable_prompt_embeds to compile hash. (#27285)
Signed-off-by: zhxchen17 <[email protected]> Co-authored-by: Cyrus Leung <[email protected]>
1 parent 0484b64 commit 259504e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

vllm/config/model.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ class ModelConfig:
163163
specified by the server file system. This is a security risk. Should only
164164
be enabled in trusted environments."""
165165
allowed_media_domains: list[str] | None = None
166-
"""If set, only media URLs that belong to this domain can be used for
166+
"""If set, only media URLs that belong to this domain can be used for
167167
multi-modal inputs. """
168168
revision: str | None = None
169169
"""The specific model version to use. It can be a branch name, a tag name,
@@ -345,6 +345,7 @@ def compute_hash(self) -> str:
345345
factors.append(self.rope_scaling)
346346
factors.append(self.rope_theta)
347347
factors.append(self.video_pruning_rate)
348+
factors.append(self.enable_prompt_embeds)
348349

349350
# hf_config can control how the model looks!
350351
try:

0 commit comments

Comments
 (0)