-
Couldn't load subscription status.
- Fork 25.7k
[ao][sparsity] Implemented state dict and serialization functionalities #79427
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
Conversation
The state of the data sparsifier object contains the name->mask mapping, name -> config mapping and the state_dict() of the container. The load_state_dict() and __set_state__() automatically creates a container moduie and loads the named data internally without having the user to intervene. Test Plan: ```python test/test_ao_sparsity.py TestBaseDataSparsifier``` [ghstack-poisoned]
🔗 Helpful links
✅ No Failures (0 Pending)As of commit 6cdae31 (more details on the Dr. CI page): Expand to see more💚 💚 Looks good so far! There are no failures yet. 💚 💚 This comment was automatically generated by Dr. CI (expand for details).Please report bugs/suggestions to the (internal) Dr. CI Users group. |
…nctionalities" The state of the data sparsifier object contains the name->mask mapping, name -> config mapping and the state_dict() of the container. The load_state_dict() and __set_state__() automatically creates a container moduie and loads the named data internally without having the user to intervene. Test Plan: ```python test/test_ao_sparsity.py TestBaseDataSparsifier``` [ghstack-poisoned]
…nctionalities" The state of the data sparsifier object contains the name->mask mapping, name -> config mapping and the state_dict() of the container. The load_state_dict() and __set_state__() automatically creates a container moduie and loads the named data internally without having the user to intervene. Test Plan: ```python test/test_ao_sparsity.py TestBaseDataSparsifier``` [ghstack-poisoned]
…nctionalities" The state of the data sparsifier object contains the name->mask mapping, name -> config mapping and the state_dict() of the container. The load_state_dict() and __set_state__() automatically creates a container moduie and loads the named data internally without having the user to intervene. Test Plan: ```python test/test_ao_sparsity.py TestBaseDataSparsifier``` [ghstack-poisoned]
…nctionalities" The state of the data sparsifier object contains the name->mask mapping, name -> config mapping and the state_dict() of the container. The load_state_dict() and __set_state__() automatically creates a container moduie and loads the named data internally without having the user to intervene. Test Plan: ```python test/test_ao_sparsity.py TestBaseDataSparsifier``` [ghstack-poisoned]
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
…nctionalities" The state of the data sparsifier object contains the name->mask mapping, name -> config mapping and the state_dict() of the container. The load_state_dict() and __set_state__() automatically creates a container moduie and loads the named data internally without having the user to intervene. Test Plan: ```python test/test_ao_sparsity.py TestBaseDataSparsifier``` [ghstack-poisoned]
…nctionalities" The state of the data sparsifier object contains the name->mask mapping, name -> config mapping and the state_dict() of the container. The load_state_dict() and __set_state__() automatically creates a container moduie and loads the named data internally without having the user to intervene. Test Plan: ```python test/test_ao_sparsity.py TestBaseDataSparsifier``` [ghstack-poisoned]
…nctionalities" The state of the data sparsifier object contains the name->mask mapping, name -> config mapping and the state_dict() of the container. The load_state_dict() and __set_state__() automatically creates a container moduie and loads the named data internally without having the user to intervene. Test Plan: ```python test/test_ao_sparsity.py TestBaseDataSparsifier``` [ghstack-poisoned]
|
@macandro96 has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator. |
…nctionalities" The state of the data sparsifier object contains the name->mask mapping, name -> config mapping and the state_dict() of the container. The load_state_dict() and __set_state__() automatically creates a container moduie and loads the named data internally without having the user to intervene. Test Plan: ```python test/test_ao_sparsity.py TestBaseDataSparsifier``` Differential Revision: [D37164117](https://our.internmc.facebook.com/intern/diff/D37164117) [ghstack-poisoned]
|
@macandro96 has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator. |
…nctionalities" The state of the data sparsifier object contains the name->mask mapping, name -> config mapping and the state_dict() of the container. The load_state_dict() and __set_state__() automatically creates a container moduie and loads the named data internally without having the user to intervene. Test Plan: ```python test/test_ao_sparsity.py TestBaseDataSparsifier``` Differential Revision: [D37164117](https://our.internmc.facebook.com/intern/diff/D37164117) [ghstack-poisoned]
|
@macandro96 has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator. |
|
@pytorchbot merge (Initiating merge automatically since Phabricator Diff has merged) |
|
@pytorchbot successfully started a merge job. Check the current status here |
|
Hey @macandro96. |
…es (#79427) Summary: Pull Request resolved: #79427 The state of the data sparsifier object contains the name->mask mapping, name -> config mapping and the state_dict() of the container. The load_state_dict() and __set_state__() automatically creates a container moduie and loads the named data internally without having the user to intervene. Test Plan: ```python test/test_ao_sparsity.py TestBaseDataSparsifier``` Reviewed By: jerryzh168 Differential Revision: D37164117 Pulled By: macandro96 fbshipit-source-id: 0696800d64c76fa943ed1fe4ac3e24d491cf8fbd
Stack from ghstack (oldest at bottom):
The state of the data sparsifier object contains the name->mask mapping, name -> config mapping and the state_dict() of the container.
The load_state_dict() and set_state() automatically creates a container moduie and loads the named data internally without having the user to intervene.
Test Plan:
python test/test_ao_sparsity.py TestBaseDataSparsifierDifferential Revision: D37164117