transformers/tests/sagemaker/__init__.py

6 lines
110 B
Python

import importlib
def is_sagemaker_available():
return importlib.util.find_spec("sagemaker") is not None