refactor: unify names of the feature field of MultimodalDataItem (#8075)

This commit is contained in:
Mick
2025-07-16 17:52:38 -07:00
committed by GitHub
parent c28ad1990d
commit 4395c87a9b
33 changed files with 66 additions and 83 deletions
+1 -1
View File
@@ -144,7 +144,7 @@ class KimiVLForConditionalGeneration(nn.Module):
def get_image_feature(self, items: List[MultimodalDataItem]) -> torch.Tensor:
pixel_values = (
torch.cat([item.pixel_values for item in items], dim=0)
torch.cat([item.feature for item in items], dim=0)
.type(self.vision_tower.dtype)
.to(self.vision_tower.device)
)