Update modeling_minicpmv.py
Browse files271 unmodified lines272273274275276277278271 unmodified linescounter += 1batch.append(input_embeds)batch = torch.stack(batch)# output_ids = self._decode(input_embeds, tokenizer, **kwargs)if stream:kwargs.pop("decode_text")271 unmodified lines272273274275276277278271 unmodified linescounter += 1batch.append(input_embeds)batch = torch.cat(batch, dim=0)# output_ids = self._decode(input_embeds, tokenizer, **kwargs)if stream:kwargs.pop("decode_text")
modeling_minicpmv.py+1-1