Skip to content

Commit

Permalink
fixed linting errors
Browse files Browse the repository at this point in the history
Signed-off-by: Alp Dener <[email protected]>
  • Loading branch information
denera committed Dec 17, 2024
1 parent 360c127 commit 3afa7c1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions transformer_engine/pytorch/module/linear.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
# See LICENSE for license information.

"""Linear API"""
import sys
from functools import reduce
from operator import mul as multiply_op
from typing import Any, Callable, Dict, Optional, Tuple, Union
Expand Down Expand Up @@ -925,7 +924,7 @@ def __init__(
self.ub_bulk_wgrad,
]
):
assert ub_name is not None, f"Userbuffer name [string] is not set."
assert ub_name is not None, f"Comm+GEMM overlap layer '{ub_name}' is not initialized."
self.ub_name = ub_name

assert not (self.ub_overlap_rs_fprop and self.ub_overlap_ag_fprop), (
Expand Down

0 comments on commit 3afa7c1

Please sign in to comment.