-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
tl.broadcast
bug?
#2157
Comments
I am also confused by why implicit and explicit broadcast are broken but reshaping using
|
From
To preserve ordering you should use indexing with IMO |
Didn't pay attention to that. Just assumed it has same semantics as torch view. Yes indeed the name should be changed. |
GPU: A6000
Version: 2.1.0 (nightly build)
TLDR:
Broadcasting a vector to the shape of a 2D matrix and then multiplying them produces wrong results.
Details:
In the minimal reproducible kernel below I store the output of
tl.broadcast_to
to a tensor T and on inspection ofv
andT
the output is clearly wrong.The text was updated successfully, but these errors were encountered: