Closed qqnr88 closed 8 hours ago
Same problem here. Fixed by modifying the fused_layer_norm.py in Apex.
Change line 412 and 316 If statement as follows:
if torch.jit.is_tracing() or torch.jit.is_scripting() or (hasattr(torch.compiler, 'is_compiling') and torch.compiler.is_compiling()) or not input.is_cuda:
This issue is stale because it has been open for 7 days with no activity.
This issue was closed because it has been inactive for 7 days since being marked as stale.
AttributeError: module 'torch.compiler' has no attribute 'is_compiling'