Skip to content

Commit

Permalink
remove main args
Browse files Browse the repository at this point in the history
  • Loading branch information
Ubuntu committed Sep 6, 2024
1 parent 1b54977 commit 071d055
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/graphbolt/pyg/hetero/node_classification.py
Original file line number Diff line number Diff line change
Expand Up @@ -411,7 +411,7 @@ def parse_args():
return parser.parse_args()


def main(args):
def main():
torch.set_float32_matmul_precision(args.precision)
if not torch.cuda.is_available():
args.mode = "cpu-cpu-cpu"
Expand Down Expand Up @@ -528,4 +528,4 @@ def main(args):

if __name__ == "__main__":
args = parse_args()
main(args)
main()

0 comments on commit 071d055

Please sign in to comment.