Skip to content

Commit

Permalink
fix non reach code warning.
Browse files Browse the repository at this point in the history
  • Loading branch information
tianleiwu committed May 1, 2024
1 parent 93a6f63 commit 00db77c
Showing 1 changed file with 1 addition and 2 deletions.
Expand Up @@ -955,8 +955,7 @@ def run_performance_test(sm: int):


if __name__ == "__main__":
if ENABLE_DEBUG:
torch.set_printoptions(precision=6, edgeitems=3, linewidth=150, profile="default", sci_mode=False)
torch.set_printoptions(precision=6, edgeitems=3, linewidth=150, profile="default", sci_mode=False)

major, minor = torch.cuda.get_device_capability()
sm = major * 10 + minor
Expand Down

0 comments on commit 00db77c

Please sign in to comment.