fixes the asserion error when num_beams > 1

#42
by freewym - opened
Microsoft org

When doing beam search with num_beams > 1, this assertion will fail. Removes the assertion to allow beam search with num_beams > 1. This bug was reported in https://huggingface.co/microsoft/Phi-4-multimodal-instruct/discussions/31

gargamit changed pull request status to merged
Your need to confirm your account before you can post a new comment.

Sign up or log in to comment