Skip to content

Commit 315488f

Browse files
committed
Add # type: ignore[type-abstract] to Factory[GpuDriver](GpuDriver)
1 parent 94badea commit 315488f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lisa/tools/gpu_drivers.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,9 @@ def create(
8686
f"Must be one of {list(ComputeSDK)}"
8787
)
8888

89-
gpu_driver_factory = Factory[GpuDriver](GpuDriver)
89+
gpu_driver_factory = Factory[GpuDriver](
90+
GpuDriver # type: ignore[type-abstract]
91+
)
9092

9193
driver_class = gpu_driver_factory.create_by_type_name(
9294
compute_sdk, node=node, **kwargs

0 commit comments

Comments
 (0)