-
Notifications
You must be signed in to change notification settings - Fork 24.2k
gather / scatter dont respect non-contigous out Tensor #1193
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
Comments
Since the issue mentions just Code to demonstrate the error:
produces
|
I think there is a slight problem with how the
Since a The question is: do we want to change this to implement the first behavior, because you can trigger the same kind of error for many other function (min/max/mean for example)? |
I don't think this is a bug; right now this is expected behavior as @albanD pointed out. The out= semantics can be strange and unintuitive; many users run into it, so we should think about if and how we can retire it. |
this is covered by #8989. |
* Add fp8 conv instances and client example * Format * Add example * Update cmakelists * Add profiler mode * Format * Fix copyright headers
As @tudor-berariu reports:
We need to add the
freeCopyTo
pattern to the two functions in TH and THCThe text was updated successfully, but these errors were encountered: