Skip to content

Possibly index out of range bug #17

@azziko

Description

@azziko

Hello,

I was refering to your project as a reference for my implementation of canary with streamAtt, and largely adopting the code from the repo. In my tests I have noticed that when PunctuationTextHistory is used, it is possible that the first input ends with a punctuation and gets discarded from the history. Subsequently, in the _update_speech... it is possible that cross_attn.shape[0] = 0, implying index out of range at https://github.com/hlt-mt/simulstream/blob/1f8b3337c5222995166555bfb36aa3fe69b94409/simulstream/server/speech_processors/base_streamatt.py#L168C1-L168C58. It just might be a fault in my implementation specifically.

Looking at the steamAtt Seamless implementation(I didn't verify this with tests), I also see that this is a plausible option.

I would appreaciate it if you confirmed or denied, so I can see where I'm making a mistake.

Thank you

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingquestionFurther information is requested

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions