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

fix: use reshape instead of view #338

Merged
merged 3 commits into from
Oct 24, 2024
Merged

fix: use reshape instead of view #338

merged 3 commits into from
Oct 24, 2024

Conversation

dacorvo
Copy link
Collaborator

@dacorvo dacorvo commented Oct 24, 2024

Most of the time, we want the resulting Tensor to be contiguous, so it is better to use reshape to enforce it.

Fixes #327

Most of the time, we want the resulting Tensor to be contiguous, so it
is better to use reshape to enforce it.
There are still accuracy issues on AMD CPUs. A fix should be available
in 2.6.
@dacorvo dacorvo merged commit f31a083 into main Oct 24, 2024
15 of 16 checks passed
@dacorvo dacorvo deleted the reshape_view branch October 24, 2024 17:09
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

Successfully merging this pull request may close these issues.

issues with non-contiguous Tensor
1 participant