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

Call Tensor::alias() when returning an input Tensor #1433

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

ds5678
Copy link

@ds5678 ds5678 commented Jan 10, 2025

This ensures that disposing the result has the same impact as it would with a different size.

@ds5678
Copy link
Author

ds5678 commented Jan 10, 2025

The continuous integration failed, but I don't see how I did anything wrong.

Copy link
Contributor

@yueyinqiu yueyinqiu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TestLoadJIT_3 sometimes just fail. That's not your problem.

By the way, you could edit RELEASENOTES.md as well. (I don't know, since we didn't do that in #1421.)

@ds5678 ds5678 changed the title Call Tensor::alias() when concatenating a list of count 1 Call Tensor::alias() when returning an input Tensor Jan 10, 2025
@ds5678
Copy link
Author

ds5678 commented Jan 14, 2025

By the way, you could edit RELEASENOTES.md as well. (I don't know, since we didn't do that in #1421.)

I haven't done this because the wording was ambiguous on whether or not I should, and I didn't want to cause merge conflicts with any other pull requests.

@ds5678
Copy link
Author

ds5678 commented Jan 15, 2025

Is there anything I need to do in order for this to be merged? It's blocking my third pull request.

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.

2 participants