Unverified Commit 259504e1 authored by Zhengxu Chen's avatar Zhengxu Chen Committed by GitHub
Browse files

[compile] Add enable_prompt_embeds to compile hash. (#27285)


Signed-off-by: default avatarzhxchen17 <zhxchen17@fb.com>
Co-authored-by: default avatarCyrus Leung <tlleungac@connect.ust.hk>
parent 0484b642
......@@ -163,7 +163,7 @@ class ModelConfig:
specified by the server file system. This is a security risk. Should only
be enabled in trusted environments."""
allowed_media_domains: list[str] | None = None
"""If set, only media URLs that belong to this domain can be used for
"""If set, only media URLs that belong to this domain can be used for
multi-modal inputs. """
revision: str | None = None
"""The specific model version to use. It can be a branch name, a tag name,
......@@ -345,6 +345,7 @@ class ModelConfig:
factors.append(self.rope_scaling)
factors.append(self.rope_theta)
factors.append(self.video_pruning_rate)
factors.append(self.enable_prompt_embeds)
# hf_config can control how the model looks!
try:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment