Coverage for src/flag_gems/runtime/backend/_aipu/__init__.py: 100%
6 statements
« prev ^ index » next coverage.py v7.6.9, created at 2026-03-11 02:28 +0800
« prev ^ index » next coverage.py v7.6.9, created at 2026-03-11 02:28 +0800
1from backend_utils import VendorInfoBase # noqa: E402
2from triton.runtime import driver # noqa: E402
4vendor_info = VendorInfoBase(
5 vendor_name="aipu",
6 device_name="aipu",
7 device_query_cmd="aipu",
8 dispatch_key="PrivateUse1",
9)
11# The aipu backend is loaded dynamically, so here need to active first.
12driver.active.get_active_torch_device()
14CUSTOMIZED_UNUSED_OPS = ()
16__all__ = ["*"]