Skip to content

Commit

Permalink
Fix isort on examples/pytorch (#2094)
Browse files Browse the repository at this point in the history
Signed-off-by: Marc Maliar <marc.maliar77@gmail.com>
Co-authored-by: Jocelyn Huang <jocelynYH4@gmail.com>
Co-authored-by: Andreas Loutzidis <aloutzidis@gmail.com>
Co-authored-by: Akshay Gupta <akshaygupta.us@gmail.com>
Signed-off-by: Anindya Dey <anindyadey@Techs-Air-2.verizon.net>
  • Loading branch information
4 people authored and Anindya Dey committed May 3, 2024
1 parent 246dd0e commit ff2c17a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions examples/pytorch/cpu-demo/demo.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import torch

torch.distributed.init_process_group(init_method="env://")
rank = torch.distributed.get_rank()
world_size = torch.distributed.get_world_size()
Expand Down
1 change: 0 additions & 1 deletion examples/pytorch/elastic/echo/echo.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@

import torch.distributed as dist


if __name__ == "__main__":

env_dict = {
Expand Down

0 comments on commit ff2c17a

Please sign in to comment.