We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7853bfb commit 4830575Copy full SHA for 4830575
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