NIRVANALAN commited on
Commit
7b873c3
1 Parent(s): f1d83ba

update dep

Browse files
Files changed (1) hide show
  1. ldm/modules/attention.py +4 -4
ldm/modules/attention.py CHANGED
@@ -14,10 +14,10 @@ from ldm.modules.diffusionmodules.util import checkpoint
14
  import os
15
  _ATTN_PRECISION = os.environ.get("ATTN_PRECISION", "fp32")
16
  from xformers.ops import MemoryEfficientAttentionFlashAttentionOp
17
- try:
18
- from apex.normalization import FusedRMSNorm as RMSNorm
19
- except:
20
- from dit.norm import RMSNorm
21
 
22
 
23
  def exists(val):
 
14
  import os
15
  _ATTN_PRECISION = os.environ.get("ATTN_PRECISION", "fp32")
16
  from xformers.ops import MemoryEfficientAttentionFlashAttentionOp
17
+ # try:
18
+ from apex.normalization import FusedRMSNorm as RMSNorm
19
+ # except:
20
+ # from dit.norm import RMSNorm
21
 
22
 
23
  def exists(val):