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

More fixes for functions #503

Merged
merged 32 commits into from
Jul 30, 2024
Merged

More fixes for functions #503

merged 32 commits into from
Jul 30, 2024

Conversation

majosm
Copy link
Collaborator

@majosm majosm commented Jun 15, 2024

(Probably easier to read commit by commit.)

@majosm majosm marked this pull request as ready for review June 17, 2024 19:44
@majosm
Copy link
Collaborator Author

majosm commented Jun 17, 2024

@inducer I think this is ready for a look. (I'm getting some lingering doc errors about np.bool_, but I see them with main too, so I think they're unrelated?)

@majosm majosm force-pushed the more-function-fixes branch from 9d8b85f to de0ad07 Compare June 17, 2024 22:48
@majosm majosm force-pushed the more-function-fixes branch 2 times, most recently from a67b520 to 72bf01d Compare June 28, 2024 15:12
@inducer inducer force-pushed the more-function-fixes branch from 72bf01d to ecf1532 Compare July 1, 2024 21:07
@majosm majosm force-pushed the more-function-fixes branch from ecf1532 to d073b9f Compare July 2, 2024 01:44
Copy link
Owner

@inducer inducer left a comment

Choose a reason for hiding this comment

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

Thanks for working on this. Just a few hopefully relatively simple things, then this should be good to go.

pytato/transform/__init__.py Outdated Show resolved Hide resolved
pytato/transform/__init__.py Outdated Show resolved Hide resolved
pytato/function.py Outdated Show resolved Hide resolved
pytato/function.py Outdated Show resolved Hide resolved
pytato/function.py Outdated Show resolved Hide resolved
pytato/transform/__init__.py Outdated Show resolved Hide resolved
@majosm majosm force-pushed the more-function-fixes branch 3 times, most recently from 9c34aa1 to 11eaa85 Compare July 11, 2024 20:21
@majosm majosm requested a review from inducer July 11, 2024 21:04
@majosm
Copy link
Collaborator Author

majosm commented Jul 11, 2024

Should be ready for another look. (Previous review was up through the second "add FIXME".)

@majosm majosm mentioned this pull request Jul 12, 2024
@majosm majosm force-pushed the more-function-fixes branch from 11eaa85 to 1e7c71d Compare July 25, 2024 20:53
@majosm
Copy link
Collaborator Author

majosm commented Jul 25, 2024

Should be ready for another look. (Previous review was up through the second "add FIXME".)

Ready for real this time. @inducer

default map_call implementation was removed from CombineMapper, so it needs to be here
@majosm majosm mentioned this pull request Jul 26, 2024
@@ -1215,19 +1227,44 @@ class CachedWalkMapper(WalkMapper):

def __init__(self) -> None:
super().__init__()
self._visited_nodes: set[Any] = set()
self._visited_arrays_or_names: set[Any] = set()
Copy link
Owner

Choose a reason for hiding this comment

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

Leave these changes for #531?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Reverted.

@majosm majosm requested a review from inducer July 30, 2024 13:20
@inducer inducer merged commit a8793a9 into inducer:main Jul 30, 2024
11 checks passed
@inducer
Copy link
Owner

inducer commented Jul 30, 2024

Thanks!

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