Skip to content

Commit

Permalink
✅ Skip test coverage for for checking for python 3.12
Browse files Browse the repository at this point in the history
  • Loading branch information
Abdol A committed Mar 19, 2024
1 parent 366e4fc commit 150678b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tiatoolbox/models/architecture/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def compile_model(
return model

# This check will be removed when torch.compile is supported in Python 3.12+
if sys.version_info >= (3, 12):
if sys.version_info >= (3, 12): # pragma: no cover
logger.warning(
("torch-compile is currently not supported in Python 3.12+. ",),
)
Expand Down

0 comments on commit 150678b

Please sign in to comment.