Skip to content

Commit

Permalink
Use unbuffered python launch (NVIDIA#2472)
Browse files Browse the repository at this point in the history
  • Loading branch information
YuanTingHsieh committed Aug 6, 2024
1 parent b4be24e commit 73998cb
Show file tree
Hide file tree
Showing 19 changed files with 19 additions and 19 deletions.
2 changes: 1 addition & 1 deletion job_templates/cyclic_cc_pt/config_fed_client.conf
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@

args {
# the launcher will invoke the script
script = "python3 custom/{app_script} {app_config} "
script = "python3 -u custom/{app_script} {app_config} "
# if launch_once is true, the SubprocessLauncher will launch once for the whole job
# if launch_once is false, the SubprocessLauncher will launch a process for each task it receives from server
launch_once = true
Expand Down
2 changes: 1 addition & 1 deletion job_templates/cyclic_pt/config_fed_client.conf
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@

args {
# the launcher will invoke the script
script = "python3 custom/{app_script} {app_config} "
script = "python3 -u custom/{app_script} {app_config} "
# if launch_once is true, the SubprocessLauncher will launch once for the whole job
# if launch_once is false, the SubprocessLauncher will launch a process for each task it receives from server
launch_once = true
Expand Down
2 changes: 1 addition & 1 deletion job_templates/sag_cse_pt/config_fed_client.conf
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@

args {
# the launcher will invoke the script
script = "python3 custom/{app_script} {app_config} "
script = "python3 -u custom/{app_script} {app_config} "
# if launch_once is true, the SubprocessLauncher will launch once for the whole job
# if launch_once is false, the SubprocessLauncher will launch a process for each task it receives from server
launch_once = true
Expand Down
2 changes: 1 addition & 1 deletion job_templates/sag_gnn/app_1/config_fed_client.conf
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@

args {
# the launcher will invoke the script
script = "python3 custom/{app_script} {app_config} "
script = "python3 -u custom/{app_script} {app_config} "
# if launch_once is true, the SubprocessLauncher will launch once for the whole job
# if launch_once is false, the SubprocessLauncher will launch a process for each task it receives from server
launch_once = true
Expand Down
2 changes: 1 addition & 1 deletion job_templates/sag_gnn/app_2/config_fed_client.conf
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@

args {
# the launcher will invoke the script
script = "python3 custom/{app_script} {app_config} "
script = "python3 -u custom/{app_script} {app_config} "
# if launch_once is true, the SubprocessLauncher will launch once for the whole job
# if launch_once is false, the SubprocessLauncher will launch a process for each task it receives from server
launch_once = true
Expand Down
2 changes: 1 addition & 1 deletion job_templates/sag_np/config_fed_client.conf
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@

args {
# the launcher will invoke the script
script = "python3 custom/{app_script} {app_config} "
script = "python3 -u custom/{app_script} {app_config} "
# if launch_once is true, the SubprocessLauncher will launch once for the whole job
# if launch_once is false, the SubprocessLauncher will launch a process for each task it receives from server
launch_once = true
Expand Down
2 changes: 1 addition & 1 deletion job_templates/sag_np_cell_pipe/config_fed_client.conf
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@

args {
# the launcher will invoke the script
script = "python3 custom/{app_script} {app_config} "
script = "python3 -u custom/{app_script} {app_config} "
# if launch_once is true, the SubprocessLauncher will launch once for the whole job
# if launch_once is false, the SubprocessLauncher will launch a process for each task it receives from server
launch_once = true
Expand Down
2 changes: 1 addition & 1 deletion job_templates/sag_np_metrics/config_fed_client.conf
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@

args {
# the launcher will invoke the script
script = "python3 custom/{app_script} {app_config} "
script = "python3 -u custom/{app_script} {app_config} "
# if launch_once is true, the SubprocessLauncher will launch once for the whole job
# if launch_once is false, the SubprocessLauncher will launch a process for each task it receives from server
launch_once = true
Expand Down
2 changes: 1 addition & 1 deletion job_templates/sag_pt/config_fed_client.conf
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@

args {
# the launcher will invoke the script
script = "python3 custom/{app_script} {app_config} "
script = "python3 -u custom/{app_script} {app_config} "
# if launch_once is true, the SubprocessLauncher will launch once for the whole job
# if launch_once is false, the SubprocessLauncher will launch a process for each task it receives from server
launch_once = true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@

args {
# the launcher will invoke the script
script = "python3 custom/{app_script} {app_config} "
script = "python3 -u custom/{app_script} {app_config} "
# if launch_once is true, the SubprocessLauncher will launch once for the whole job
# if launch_once is false, the SubprocessLauncher will launch a process for each task it receives from server
launch_once = true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@

args {
# the launcher will invoke the script
script = "python3 custom/{app_script} {app_config} "
script = "python3 -u custom/{app_script} {app_config} "
# if launch_once is true, the SubprocessLauncher will launch once for the whole job
# if launch_once is false, the SubprocessLauncher will launch a process for each task it receives from server
launch_once = true
Expand Down
2 changes: 1 addition & 1 deletion job_templates/sag_pt_he/config_fed_client.conf
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@

args {
# the launcher will invoke the script
script = "python3 custom/{app_script} {app_config} "
script = "python3 -u custom/{app_script} {app_config} "
# if launch_once is true, the SubprocessLauncher will launch once for the whole job
# if launch_once is false, the SubprocessLauncher will launch a process for each task it receives from server
launch_once = true
Expand Down
2 changes: 1 addition & 1 deletion job_templates/sag_pt_mlflow/config_fed_client.conf
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@

args {
# the launcher will invoke the script
script = "python3 custom/{app_script} {app_config} "
script = "python3 -u custom/{app_script} {app_config} "
# if launch_once is true, the SubprocessLauncher will launch once for the whole job
# if launch_once is false, the SubprocessLauncher will launch a process for each task it receives from server
launch_once = true
Expand Down
2 changes: 1 addition & 1 deletion job_templates/sag_tf/config_fed_client.conf
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ components = [

args {
# the launcher will invoke the script
script = "python3 custom/{app_script} {app_config} "
script = "python3 -u custom/{app_script} {app_config} "
# if launch_once is true, the SubprocessLauncher will launch once for the whole job
# if launch_once is false, the SubprocessLauncher will launch a process for each task it receives from server
launch_once = true
Expand Down
2 changes: 1 addition & 1 deletion job_templates/sklearn_kmeans/config_fed_client.conf
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@

args {
# the launcher will invoke the script
script = "python3 custom/{app_script} {app_config} "
script = "python3 -u custom/{app_script} {app_config} "
# if launch_once is true, the SubprocessLauncher will launch once for the whole job
# if launch_once is false, the SubprocessLauncher will launch a process for each task it receives from server
launch_once = true
Expand Down
2 changes: 1 addition & 1 deletion job_templates/sklearn_linear/config_fed_client.conf
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@

args {
# the launcher will invoke the script
script = "python3 custom/{app_script} {app_config} "
script = "python3 -u custom/{app_script} {app_config} "
# if launch_once is true, the SubprocessLauncher will launch once for the whole job
# if launch_once is false, the SubprocessLauncher will launch a process for each task it receives from server
launch_once = true
Expand Down
2 changes: 1 addition & 1 deletion job_templates/sklearn_svm/config_fed_client.conf
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@

args {
# the launcher will invoke the script
script = "python3 custom/{app_script} {app_config} "
script = "python3 -u custom/{app_script} {app_config} "
# if launch_once is true, the SubprocessLauncher will launch once for the whole job
# if launch_once is false, the SubprocessLauncher will launch a process for each task it receives from server
launch_once = true
Expand Down
2 changes: 1 addition & 1 deletion job_templates/swarm_cse_pt/config_fed_client.conf
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ components = [

args {
# the launcher will invoke the script
script = "python3 custom/{app_script} {app_config} "
script = "python3 -u custom/{app_script} {app_config} "
# if launch_once is true, the SubprocessLauncher will launch once for the whole job
# if launch_once is false, the SubprocessLauncher will launch a process for each task it receives from server
launch_once = true
Expand Down
2 changes: 1 addition & 1 deletion job_templates/xgboost_tree/config_fed_client.conf
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@

args {
# the launcher will invoke the script
script = "python3 custom/{app_script} {app_config} "
script = "python3 -u custom/{app_script} {app_config} "
# if launch_once is true, the SubprocessLauncher will launch once for the whole job
# if launch_once is false, the SubprocessLauncher will launch a process for each task it receives from server
launch_once = true
Expand Down

0 comments on commit 73998cb

Please sign in to comment.