Skip to content

Commit a7fa731

Browse files
committed
fixed modulation bug
1 parent e3dfa9e commit a7fa731

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/diffusers/utils/import_utils.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,6 @@ def _is_package_available(pkg_name: str, get_dist_name: bool = False) -> Tuple[b
230230
_aiter_available, _aiter_version = _is_package_available("aiter")
231231
_kornia_available, _kornia_version = _is_package_available("kornia")
232232
_nvidia_modelopt_available, _nvidia_modelopt_version = _is_package_available("modelopt", get_dist_name=True)
233-
_apex_available, _apex_version = _is_package_available("apex")
234233

235234

236235
def is_torch_available():
@@ -421,10 +420,6 @@ def is_kornia_available():
421420
return _kornia_available
422421

423422

424-
def is_apex_available():
425-
return _apex_available
426-
427-
428423
# docstyle-ignore
429424
FLAX_IMPORT_ERROR = """
430425
{0} requires the FLAX library but it was not found in your environment. Checkout the instructions on the

0 commit comments

Comments
 (0)