We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents aca5b06 + 4830575 commit d16221cCopy full SHA for d16221c
1 file changed
src/diffusers/utils/dynamic_modules_utils.py
@@ -151,8 +151,8 @@ def check_imports(filename):
151
missing_packages.append(imp)
152
153
if len(missing_packages) > 0:
154
- raise ImportError(
155
- "This modeling file requires the following packages that were not found in your environment: "
+ logger.warning(
+ "This modeling file might require the following packages that were not found in your environment: "
156
f"{', '.join(missing_packages)}. Run `pip install {' '.join(missing_packages)}`"
157
)
158
0 commit comments