forked from Dao-AILab/flash-attention
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add RNG state to kernel launch params Signed-off-by: Kirthi Shankar Sivamani <[email protected]> * Save seed and offset for backward Signed-off-by: Kirthi Shankar Sivamani <[email protected]> * Single thread write to global mem Signed-off-by: Kirthi Shankar Sivamani <[email protected]> * compute_dq_dk_dv_1colblock get seed and offset from launch params Signed-off-by: Kirthi Shankar Sivamani <[email protected]> * compute_dq_dk_dv_1rowblock get seed and offset from launch params Signed-off-by: Kirthi Shankar Sivamani <[email protected]> * Change forward c++ APIs to save RNG state for backward Signed-off-by: Kirthi Shankar Sivamani <[email protected]> * Change backward c++ APIs to set RNG state for bprop launcher Signed-off-by: Kirthi Shankar Sivamani <[email protected]> * Bug fixes Signed-off-by: Kirthi Shankar Sivamani <[email protected]> * Python side API changes Signed-off-by: Kirthi Shankar Sivamani <[email protected]> * Bug fix; only save seeds instead of full offset Signed-off-by: Kirthi Shankar Sivamani <[email protected]> * Account for 3D grid size Signed-off-by: Kirthi Shankar Sivamani <[email protected]> --------- Signed-off-by: Kirthi Shankar Sivamani <[email protected]>
- Loading branch information
Showing
5 changed files
with
75 additions
and
82 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
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
Oops, something went wrong.