"vscode:/vscode.git/clone" did not exist on "61fa640193ece1b89430417fb1604ec0dd8be6b8"
Unverified Commit c5a449f9 authored by Jeff Rasley's avatar Jeff Rasley Committed by GitHub
Browse files

Update launcher to set local rank environ variable (#597)

* Update launch.py

* formatting
parent a4763f55
......@@ -113,6 +113,7 @@ def main():
# each process's rank
dist_rank = global_rank_mapping[local_node][local_rank]
current_env["RANK"] = str(dist_rank)
current_env["LOCAL_RANK"] = str(local_rank)
# spawn the processes
cmd = [
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment