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

[autodiff] Support basic operations for forward mode autodiff #5160

Merged
merged 5 commits into from
Jun 14, 2022

Conversation

erizmr
Copy link
Contributor

@erizmr erizmr commented Jun 14, 2022

Stack from ghstack (oldest at bottom):

Support cpu and gpu backends.
The cc backend has an issue on FieldBuilder ref to #5143.
The opengl backend currently does not support materializing multiple snode trees (see OpenglProgramImpl::compile_snode_tree_types), thus FieldBuilder is not supported.

Related #5055

Support cpu and gpu backends.
The cc backend has an issue on FieldBuilder ref to #5143.
The opengl backend currently does not support materializing multiple snode trees (see OpenglProgramImpl::compile_snode_tree_types), thus FieldBuilder is not supported.

[ghstack-poisoned]
erizmr added a commit that referenced this pull request Jun 14, 2022
Support cpu and gpu backends.
The cc backend has an issue on FieldBuilder ref to #5143.
The opengl backend currently does not support materializing multiple snode trees (see OpenglProgramImpl::compile_snode_tree_types), thus FieldBuilder is not supported.

ghstack-source-id: b6a758af374b78d151a19297dd3351ef33bd85e7
Pull Request resolved: #5160
…iff"

Support cpu and gpu backends.
The cc backend has an issue on FieldBuilder ref to #5143.
The opengl backend currently does not support materializing multiple snode trees (see OpenglProgramImpl::compile_snode_tree_types), thus FieldBuilder is not supported.

[ghstack-poisoned]
erizmr added a commit that referenced this pull request Jun 14, 2022
Support cpu and gpu backends.
The cc backend has an issue on FieldBuilder ref to #5143.
The opengl backend currently does not support materializing multiple snode trees (see OpenglProgramImpl::compile_snode_tree_types), thus FieldBuilder is not supported.

ghstack-source-id: 97cafab313a596b79295050d6edbfd4625917a97
Pull Request resolved: #5160
…iff"

Support cpu and gpu backends.
The cc backend has an issue on FieldBuilder ref to #5143.
The opengl backend currently does not support materializing multiple snode trees (see OpenglProgramImpl::compile_snode_tree_types), thus FieldBuilder is not supported.

[ghstack-poisoned]
erizmr added a commit that referenced this pull request Jun 14, 2022
Support cpu and gpu backends.
The cc backend has an issue on FieldBuilder ref to #5143.
The opengl backend currently does not support materializing multiple snode trees (see OpenglProgramImpl::compile_snode_tree_types), thus FieldBuilder is not supported.

ghstack-source-id: 3148a68ab7d4146586ac2a272b7aa6808c821c51
Pull Request resolved: #5160
…iff"


Support cpu and gpu backends.
The cc backend has an issue on FieldBuilder ref to #5143.
The opengl backend currently does not support materializing multiple snode trees (see OpenglProgramImpl::compile_snode_tree_types), thus FieldBuilder is not supported.

Related #5055 

[ghstack-poisoned]
erizmr added a commit that referenced this pull request Jun 14, 2022
Support cpu and gpu backends.
The cc backend has an issue on FieldBuilder ref to #5143.
The opengl backend currently does not support materializing multiple snode trees (see OpenglProgramImpl::compile_snode_tree_types), thus FieldBuilder is not supported.

ghstack-source-id: 6b8ea7fff130cea9ef9c78933291b6f719cab9de
Pull Request resolved: #5160
Copy link
Contributor

@ailzhang ailzhang left a comment

Choose a reason for hiding this comment

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

As discussed offline, we'll merge this prototype first and there're a few followups:

  • Add a test for fwdmode context manager
  • Try getting rid of different compiled_functions inside Kernel class.
  • Enforce checking for ti.ad in test_api.py

…iff"


Support cpu and gpu backends.
The cc backend has an issue on FieldBuilder ref to #5143.
The opengl backend currently does not support materializing multiple snode trees (see OpenglProgramImpl::compile_snode_tree_types), thus FieldBuilder is not supported.

Related #5055 

[ghstack-poisoned]
erizmr added a commit that referenced this pull request Jun 14, 2022
Support cpu and gpu backends.
The cc backend has an issue on FieldBuilder ref to #5143.
The opengl backend currently does not support materializing multiple snode trees (see OpenglProgramImpl::compile_snode_tree_types), thus FieldBuilder is not supported.

ghstack-source-id: 28c6d5f219d93aa8688b910e9ce84ec77d195728
Pull Request resolved: #5160
@ailzhang ailzhang merged commit 937c317 into gh/erizmr/7/base Jun 14, 2022
ailzhang pushed a commit that referenced this pull request Jun 14, 2022
Support cpu and gpu backends.
The cc backend has an issue on FieldBuilder ref to #5143.
The opengl backend currently does not support materializing multiple snode trees (see OpenglProgramImpl::compile_snode_tree_types), thus FieldBuilder is not supported.

ghstack-source-id: 28c6d5f219d93aa8688b910e9ce84ec77d195728
Pull Request resolved: #5160
@ailzhang ailzhang deleted the gh/erizmr/7/head branch June 14, 2022 12:22
@erizmr erizmr mentioned this pull request Jun 14, 2022
20 tasks
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