[V1] Fix multimodal profiling for Molmo (#11325)

Signed-off-by: ywang96 <ywang@example.com>
Co-authored-by: ywang96 <ywang@example.com>
This commit is contained in:
Roger Wang
2024-12-19 16:27:22 +00:00
committed by GitHub
co-authored by ywang96
parent 6c7f881541
commit 7379b3d4b2
4 changed files with 24 additions and 4 deletions
+1 -1
View File
@@ -79,7 +79,7 @@ class Processor:
# Compute MM hashes (if enabled)
mm_hashes = None
if self.use_hash:
mm_hashes = self.mm_hasher.hash_prompt(prompt)
mm_hashes = self.mm_hasher.hash_prompt_mm_data(prompt)
# Process inputs.
preprocessed_inputs = self.input_preprocessor.preprocess(