Skip to content
This repository has been archived by the owner on Oct 16, 2023. It is now read-only.

Commit

Permalink
Merge pull request #13 from hpcaitech/feature/triton
Browse files Browse the repository at this point in the history
make host and port the arguement
  • Loading branch information
dujiangsu authored Mar 18, 2022
2 parents e9c126f + ded230e commit 45ee614
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions energon/engine/engine.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def launch_rpc(tp_size: int = 1,

processes = []
for rank in range(world_size-1):
p = mp.Process(target=process_func, args=(tp_size, pp_size, backend, seed, verbose, rank+1, rank+1, world_size, 'localhost', 29500))
p = mp.Process(target=process_func, args=(tp_size, pp_size, backend, seed, verbose, rank+1, rank+1, world_size, host, port))
p.start()
processes.append(p)

Expand Down Expand Up @@ -139,4 +139,4 @@ def clear(self):





0 comments on commit 45ee614

Please sign in to comment.