-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix some bugs for get_indice_pairs_backward_musa
- Loading branch information
1 parent
b2953be
commit b5fda52
Showing
5 changed files
with
44 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -57,7 +57,14 @@ def torch_to_np_type(dtype): | |
marks=pytest.mark.skipif( | ||
not IS_MUSA_AVAILABLE, reason='requires MUSA support')) | ||
]) | ||
@pytest.mark.parametrize('dtype', [torch.half, torch.float32]) | ||
@pytest.mark.parametrize('dtype', [ | ||
pytest.param( | ||
torch.half, | ||
marks=pytest.mark.skipif( | ||
IS_MUSA_AVAILABLE, | ||
reason='TODO [email protected]: not supported yet')), | ||
torch.float32 | ||
]) | ||
@pytest.mark.parametrize('shape', [(2, 600, 2), (2, 600, 2)]) | ||
def test_chamfer_distance_npu_dynamic_shape(dtype, device, shape): | ||
if device == 'musa': | ||
|