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

introduce custom_batching.sequential_vmap #9275

Merged
merged 1 commit into from
Jan 28, 2022

Conversation

froystig
Copy link
Member

@froystig froystig commented Jan 21, 2022

An anticipated common use of custom_vmap is in order to implement a map via loop (i.e. to sequentially apply the mapped function), instead of actually vectorizing.

This essentially handles #7199, but not until custom batching (#9073) is complete (supporting all transformations, documented, and public).

@froystig froystig added the pull ready Ready for copybara import and testing label Jan 21, 2022
@froystig froystig requested a review from mattjj January 21, 2022 05:32
@froystig froystig self-assigned this Jan 21, 2022
An anticipated common use of `custom_vmap` is in order to implement a
map via loop (i.e. to sequentially apply the mapped function), instead
of actually vectorizing.
@froystig froystig added pull ready Ready for copybara import and testing and removed pull ready Ready for copybara import and testing labels Jan 21, 2022
@copybara-service copybara-service bot merged commit e6f9ba0 into jax-ml:main Jan 28, 2022
@froystig froystig deleted the auto-vmap branch January 28, 2022 03:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pull ready Ready for copybara import and testing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants