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

RuntimeError: output with shape [1, 4096, 77] doesn't match the broadcast shape [4, 4096, 77] #4

Closed
ScottishFold007 opened this issue Oct 22, 2022 · 1 comment

Comments

@ScottishFold007
Copy link

image

@tfernd
Copy link
Owner

tfernd commented Oct 23, 2022

Opps again. Forgot to duplicate context-weights for the number of heads in the attention... It worked in previous tests before due to broadcasting.

Tested now with batch-size of 8 and no low-ram mode.
I'll create new branches for some experimental stuff, didn't expect some code tyding up endup breaking things.

@tfernd tfernd closed this as completed Oct 24, 2022
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

2 participants