Is such a tensor shape legal when ne = [x, y, z, 1] but nb = [ 1, x*y, x, x*y ] ? That is the last nb not being x*y*z #13006
Unanswered
lslusarczyk
asked this question in
Q&A
Replies: 1 comment
-
Both cases are valid in |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
When running llama-bench I've met strange tensor. Please help me to understand if there is a bug in the code which created it or if such a tensors can exist and what is their purpose.
Precisely I see a permuted tensor with float2 type inside (no quatization, complex blocks etc) and the following dimensions:
I would expect the last nb dimension to be 96 * 32 * 128 * 2
I see above tensor in matrix matrix multiplication. The second tensor of multiplication has the same "ne", but now its "nb" values I understand and that look valid to me:
Is the first tensor valid or is it a bug in a code that has created it?
The code which created it and tried to multiply is:
Beta Was this translation helpful? Give feedback.
All reactions