forked from open-mmlab/mmsegmentation
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix k_dpm_2 & k_dpm_2_a on MPS (open-mmlab#2241)
Needed to convert `timesteps` to `float32` a bit sooner. Fixes open-mmlab#1537
- Loading branch information
1 parent
7386e77
commit 22c1ba5
Showing
2 changed files
with
13 additions
and
14 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