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

Add partial support for setitem with fancy indexing #2453

Merged
merged 11 commits into from
Oct 23, 2021

Conversation

hekaisheng
Copy link
Contributor

What do these changes do?

This PR implements setitem with fancy indexes, as mentioned in title, it's not a complete implementation, works only when index on each axis is a tensor, mixed indexing is not supported now.

@hekaisheng hekaisheng added mod: tensor type: feature New feature to be backported Indicate that the PR need to be backported to stable branch labels Sep 14, 2021
@hekaisheng hekaisheng added this to the v0.8.0b1 milestone Sep 14, 2021
@hekaisheng hekaisheng added this to In progress in Tensor via automation Sep 14, 2021
@hekaisheng hekaisheng changed the title Add part support for setitem with fancy indexing Add partial support for setitem with fancy indexing Sep 14, 2021
@qinxuye qinxuye modified the milestones: v0.8.0b1, v0.8.0b2 Sep 21, 2021
@qinxuye qinxuye modified the milestones: v0.8.0b2, v0.8.0rc1 Oct 9, 2021
@hekaisheng hekaisheng force-pushed the feature/setitem branch 3 times, most recently from 65320eb to 4532829 Compare October 19, 2021 06:11
Copy link
Collaborator

@qinxuye qinxuye left a comment

Choose a reason for hiding this comment

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

I left some comments

mars/opcodes.py Outdated Show resolved Hide resolved
mars/services/scheduling/worker/execution.py Show resolved Hide resolved
mars/tensor/indexing/setitem.py Show resolved Hide resolved
mars/tensor/indexing/setitem.py Show resolved Hide resolved
mars/tensor/indexing/setitem.py Outdated Show resolved Hide resolved
mars/tensor/indexing/setitem.py Outdated Show resolved Hide resolved
mars/tensor/indexing/setitem.py Show resolved Hide resolved
mars/opcodes.py Outdated Show resolved Hide resolved
Copy link
Collaborator

@qinxuye qinxuye left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Member

@wjsi wjsi left a comment

Choose a reason for hiding this comment

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

LGTM

Tensor automation moved this from In progress to Reviewer approved Oct 23, 2021
@wjsi wjsi merged commit 18a7d1e into mars-project:master Oct 23, 2021
Tensor automation moved this from Reviewer approved to Done Oct 23, 2021
@qinxuye qinxuye added backported already PR has been backported and removed to be backported Indicate that the PR need to be backported to stable branch labels Oct 23, 2021
@hekaisheng hekaisheng deleted the feature/setitem branch March 11, 2022 06:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backported already PR has been backported mod: tensor type: feature New feature
Projects
Tensor
  
Done
Development

Successfully merging this pull request may close these issues.

None yet

3 participants