()
| 43 | registry = KernelRegistry() |
| 44 | |
| 45 | assert registry._priority_map["rocm"]["attn"][0] == OpBackend.PYTORCH_ATTN |
| 46 | assert registry._priority_map["rocm"]["attn"][1] == OpBackend.ROCM_FLASH_ATTN |
| 47 | |
| 48 | |
| 49 | class TestMusaPlatform: |
| 50 | @staticmethod |
| 51 | def _mock_torch_musa_import(monkeypatch): |
| 52 | monkeypatch.setattr( |
no test coverage detected