Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions src/tilegym/ops/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

"""TileGym ops module - contains all operation interfaces and backend implementations"""

import warnings
from tilegym.backend import is_backend_available

# Backend implementations
Expand All @@ -16,7 +17,6 @@
try:
from . import cutile
except (ImportError, RuntimeError):
import warnings

warnings.warn("Cutile backend import failed, cutile operations will not be available")
cutile = None # type: ignore
Expand All @@ -29,7 +29,6 @@
try:
from . import triton
except (ImportError, RuntimeError):
import warnings

warnings.warn("Triton backend import failed, triton operations will not be available")
triton = None # type: ignore
Expand Down