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 f3e0911 commit 447ccd0Copy full SHA for 447ccd0
1 file changed
src/diffusers/utils/import_utils.py
@@ -99,6 +99,7 @@ def _is_package_available(pkg_name: str, get_dist_name: bool = False) -> Tuple[b
99
else:
100
logger.info("Disabling PyTorch because USE_TORCH is set")
101
_torch_available = False
102
+ _torch_version = "N/A"
103
104
_jax_version = "N/A"
105
_flax_version = "N/A"
0 commit comments