Uh oh!
There was an error while loading. Please reload this page.
Fix static attention mask update - #9101
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/9101
Note: Links to docs will display an error until the docs builds have been completed. ✅ No FailuresAs of commit dd04ea9 with merge base d71f54a ( This comment was automatically generated by Dr. CI and updates every 15 minutes. |
facebook-github-bot
commented
Mar 10, 2025
This pull request was exported from Phabricator. Differential Revision: D70914174 |
facebook-github-bot
commented
Mar 10, 2025
This pull request was exported from Phabricator. Differential Revision: D70914174 |
Summary: The range based for loop was making a copy of the mask, and thus the updates did not take effect. Remove the copy and move constructors of StaticKVCache and StaticAttention as they are not needed. Also add the missing deallocate call in mask's destructor. Differential Revision: D70914174
Summary: The range based for loop was making a copy of the mask, and thus the updates did not take effect. Remove the copy and move constructors of StaticKVCache and StaticAttention as they are not needed. Also add the missing deallocate call in mask's destructor. Differential Revision: D70914174
facebook-github-bot
commented
Mar 10, 2025
This pull request was exported from Phabricator. Differential Revision: D70914174 |
1 similar comment
facebook-github-bot
commented
Mar 10, 2025
This pull request was exported from Phabricator. Differential Revision: D70914174 |
Summary: Pull Request resolved: pytorch#9101 The range based for loop was making a copy of the mask, and thus the updates did not take effect. Remove the copy and move constructors of StaticKVCache and StaticAttention as they are not needed. Also add the missing deallocate call in mask's destructor. Differential Revision: D70914174
Summary: The range based for loop was making a copy of the mask, and thus the updates did not take effect. Remove the copy and move constructors of StaticKVCache and StaticAttention as they are not needed. Also add the missing deallocate call in mask's destructor. Reviewed By: billmguo Differential Revision: D70914174
Summary: The range based for loop was making a copy of the mask, and thus the updates did not take effect. Remove the copy and move constructors of StaticKVCache and StaticAttention as they are not needed. Also add the missing deallocate call in mask's destructor. Reviewed By: billmguo Differential Revision: D70914174
facebook-github-bot
commented
Mar 11, 2025
This pull request was exported from Phabricator. Differential Revision: D70914174 |
Summary: Pull Request resolved: pytorch#9101 The range based for loop was making a copy of the mask, and thus the updates did not take effect. Remove the copy and move constructors of StaticKVCache and StaticAttention as they are not needed. Also add the missing deallocate call in mask's destructor. Reviewed By: billmguo Differential Revision: D70914174
facebook-github-bot
commented
Mar 11, 2025
This pull request was exported from Phabricator. Differential Revision: D70914174 |
Summary: The range based for loop was making a copy of the mask, and thus the updates did not take effect. Remove the copy and move constructors of StaticKVCache and StaticAttention as they are not needed. Also add the missing deallocate call in mask's destructor.
Differential Revision: D70914174