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

Examples of parallel training on one GPU using functorch.vmap with torchopt #32

Merged

Conversation

Benjamin-eecs
Copy link
Member

@Benjamin-eecs Benjamin-eecs commented Jul 19, 2022

#23

under examples/functorch folder

cc @vmoens @waterhorse1 @zou3519 @Chillee

@XuehaiPan XuehaiPan added enhancement New feature or request functorch Something functorch related labels Jul 20, 2022
@Benjamin-eecs Benjamin-eecs linked an issue Jul 20, 2022 that may be closed by this pull request
2 tasks
@Benjamin-eecs Benjamin-eecs marked this pull request as ready for review July 21, 2022 13:11
Copy link
Contributor

@vmoens vmoens left a comment

Choose a reason for hiding this comment

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

Just a couple of comments here and there :)

examples/functorch/parallel_train_torchopt.py Outdated Show resolved Hide resolved
examples/functorch/parallel_train_torchopt.py Outdated Show resolved Hide resolved
@Benjamin-eecs
Copy link
Member Author

Just a couple of comments here and there :)

Also, there is a colab to play with :)

@XuehaiPan XuehaiPan added the example / tutorial Something related to examples or tutorials label Jul 26, 2022
Copy link
Member

@XuehaiPan XuehaiPan left a comment

Choose a reason for hiding this comment

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

Please resolve the conversations and add a new line to the changelog.

examples/functorch/parallel_train_torchopt.py Outdated Show resolved Hide resolved
examples/functorch/parallel_train_torchopt.py Outdated Show resolved Hide resolved
examples/functorch/parallel_train_torchopt.py Outdated Show resolved Hide resolved
examples/functorch/parallel_train_torchopt.py Outdated Show resolved Hide resolved
examples/functorch/parallel_train_torchopt.py Outdated Show resolved Hide resolved
examples/functorch/parallel_train_torchopt.py Outdated Show resolved Hide resolved
examples/functorch/parallel_train_torchopt.py Outdated Show resolved Hide resolved
tests/unit/low_level/test_low_level_inplace.py Outdated Show resolved Hide resolved
torchopt/_src/transform.py Outdated Show resolved Hide resolved
examples/functorch/parallel_train_torchopt.py Outdated Show resolved Hide resolved
Benjamin-eecs and others added 2 commits August 11, 2022 17:09
Co-authored-by: Xuehai Pan <XuehaiPan@outlook.com>
Co-authored-by: Xuehai Pan <XuehaiPan@outlook.com>
@Benjamin-eecs Benjamin-eecs merged commit ee0e4eb into metaopt:main Aug 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request example / tutorial Something related to examples or tutorials functorch Something functorch related
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Feature Request] Parallel training using vmap
4 participants