[Bugfix | Model] Fix SenseNova & Use Well-defined Model Configs (#5877)
Signed-off-by: Alex Brooks <albrooks@redhat.com>
This commit is contained in:
1 parent
f208f907bc
commit
b4b907e7b6
5 files changed
+231
-89
No files matched your search
@@ -81,6 +81,9 @@ class _DiffusionVllmModelConfig:
|
||||
use_mla: bool = False
|
||||
is_moe: bool = False
|
||||
|
||||
# Needed for models that bundle things like LogitsProcessors, e.g., SenseNova
|
||||
head_dtype: torch.dtype | None = None
|
||||
|
||||
@property
|
||||
def is_quantized(self) -> bool:
|
||||
return self.quantization is not None
|
||||
|
||||
Reference in new issue
Block a user