Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inference bug #10

Open
ehosseiniasl opened this issue Sep 6, 2024 · 0 comments
Open

Inference bug #10

ehosseiniasl opened this issue Sep 6, 2024 · 0 comments

Comments

@ehosseiniasl
Copy link

ehosseiniasl commented Sep 6, 2024

Hello @ZhangXInFD

There is an error running inference, due to shape error in einops

semantic tokens shape: [1, 518]
prompt tokens shape [1, 142, 8]
generated shape: [1, 518, 8]

I am using this prompt and audio files:
prompt: soundstorm-speechtokenizer/samples/Voice Conversion/2078-142845_6345-64257/prompt.wav
audio: soundstorm-speechtokenizer/samples/Voice Conversion/2078-142845_6345-64257/raw.wav

error

rearrange(generated, 'n q -> q b n', b=semantic_tokens.size(0))

EinopsError:  Error while processing rearrange-reduction pattern "n q -> q b n".
 Input tensor shape: torch.Size([1, 518, 8]). Additional info: {'b': 1}.
 Identifiers only on one side of expression (should be on both): {'b'}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant