diff --git a/src/diffusers/pipelines/pipeline_utils.py b/src/diffusers/pipelines/pipeline_utils.py index 889405549933..c6e72cf3ef9f 100644 --- a/src/diffusers/pipelines/pipeline_utils.py +++ b/src/diffusers/pipelines/pipeline_utils.py @@ -829,7 +829,7 @@ def load_module(name, value): if is_transformers_available(): transformers_version = version.parse(version.parse(transformers.__version__).base_version) else: - transformers_version = version.parse("not installed") + transformers_version = "N/A" is_transformers_model = ( is_transformers_available()