[Refactor] Remove get_encoder_dummy_data (#32241)

Signed-off-by: DarkLight1337 <tlleungac@connect.ust.hk>
This commit is contained in:
Cyrus Leung
2026-01-13 09:21:23 +00:00
committed by GitHub
parent 542a4059b2
commit eb28e8068d
6 changed files with 21 additions and 82 deletions
+4 -4
View File
@@ -605,6 +605,10 @@ class NemotronParseProcessingInfo(BaseProcessingInfo):
**kwargs,
)
@property
def skip_prompt_length_check(self) -> bool:
return True # Because the encoder prompt is padded
def get_supported_mm_limits(self) -> Mapping[str, int | None]:
return {"image": 1}
@@ -657,10 +661,6 @@ class NemotronParseMultiModalProcessor(
) -> str | list[int]:
return [0]
@property
def pad_dummy_encoder_prompt(self) -> bool:
return True
def _call_hf_processor(
self,
prompt: str,