File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed
var/ramble/repos/builtin/applications/py-nemo-2 Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ class PyNemo2(BasePyNemo):
4040 "pretraining_exec" ,
4141 'bash -c "cd /opt/NeMo; git rev-parse HEAD; '
4242 "{custom_injected_string}; "
43- 'python3 -u {experiment_run_dir}/{nemo_config_name};"' ,
43+ 'python3 -u {experiment_run_dir}/{nemo_config_name} {nemo_cli_args} ;"' ,
4444 use_mpi = True ,
4545 )
4646
@@ -68,6 +68,13 @@ class PyNemo2(BasePyNemo):
6868 workload_group = "pretraining" ,
6969 )
7070
71+ workload_variable (
72+ "nemo_cli_args" ,
73+ default = "" ,
74+ description = "CLI args to pass to append to the Python Nemo command." ,
75+ workload_group = "pretraining" ,
76+ )
77+
7178 workload_variable (
7279 "results_mount" ,
7380 default = "{experiment_run_dir}:{experiment_run_dir}" ,
You can’t perform that action at this time.
0 commit comments