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

Avoid unnecessary gathering of distributed operand in mixed distributed/non-distributed logical functions #1064

Closed
ClaudiaComito opened this issue Dec 23, 2022 · 5 comments · Fixed by #1216
Assignees
Labels
enhancement New feature or request good first issue Good for newcomers logical memory footprint

Comments

@ClaudiaComito
Copy link
Contributor

Feature functionality

module heat.core.logical, functions allclose(x,y), isclose(x,y)

Currently, when only one of the operands is distributed, these functions (via __sanitize_close_input) gather the distributed operand and perform the global comparison on each process.

Modify the relevant functions to carry out the comparison on the relevant slice of non-distributed operand instead.

@Ishaan-Chandak
Copy link
Contributor

Hi @ClaudiaComito is this issue still open ?

@mrfh92
Copy link
Collaborator

mrfh92 commented Aug 17, 2023

This issue is stil open and useful.

(Reviewed within #1109)

@samadpls
Copy link
Contributor

samadpls commented Sep 6, 2023

Hey @ClaudiaComito and @mrfh92, can I work on this issue?

@github-actions
Copy link
Contributor

github-actions bot commented Sep 6, 2023

@ClaudiaComito
Copy link
Contributor Author

There you go @samadpls ! We'll get better at branch names when we get used to the automation 🙈

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers logical memory footprint
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants