-
Notifications
You must be signed in to change notification settings - Fork 480
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Summary: Pull Request resolved: #2206 - VBE vs standard KJTs have some ambigious / counter-inuitive beahvior around self.stride(). This diff clarifies contract that stride is always jus the max value of individual strides (aka batch size), ie. the dense representation value if you pad. - Also, for Inference use cases we need to maintain the correct stride behavior for rebatching logic, so notice the stride is kept now post splits. Reviewed By: ge0405 Differential Revision: D59340146 fbshipit-source-id: effbde94b3fab1b553acb8f48d018f25ab3234ed
- Loading branch information
1 parent
9c74d8a
commit 90f3054
Showing
2 changed files
with
30 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters