File tree Expand file tree Collapse file tree 4 files changed +8
-9
lines changed Expand file tree Collapse file tree 4 files changed +8
-9
lines changed Original file line number Diff line number Diff line change 2020
2121 self :
2222 name : Georgia Tech | Phoenix (NVHPC)
23- if : github.repository == 'MFlowCode/MFC' && needs.file-changes.outputs.checkall == 'true'
24- needs : file-changes
23+ if : github.repository == 'MFlowCode/MFC'
2524 strategy :
2625 matrix :
2726 device : ['cpu', 'gpu']
@@ -34,12 +33,12 @@ jobs:
3433 ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION : true
3534 steps :
3635 - name : Clone - PR
37- uses : actions/checkout@v4
36+ uses : actions/checkout@v3
3837 with :
3938 path : pr
4039
4140 - name : Clone - Master
42- uses : actions/checkout@v4
41+ uses : actions/checkout@v3
4342 with :
4443 repository : MFlowCode/MFC
4544 ref : master
5756 (cd pr && ./mfc.sh bench_diff ../master/bench-${{ matrix.device }}.yaml ../pr/bench-${{ matrix.device }}.yaml)
5857
5958 - name : Archive Logs
60- uses : actions/upload-artifact@v4
59+ uses : actions/upload-artifact@v3
6160 if : always()
6261 with :
6362 name : logs-${{ matrix.device }}
Original file line number Diff line number Diff line change 11#! /bin/bash
22
3- n_ranks=12
3+ n_ranks=4
44
55if [ " $job_device " == " gpu" ]; then
66 n_ranks=$( nvidia-smi -L | wc -l) # number of GPUs on node
@@ -9,7 +9,7 @@ if [ "$job_device" == "gpu" ]; then
99fi
1010
1111if [" $job_device " == " gpu" ]; then
12- ./mfc.sh bench --mem 12 -j $( nproc) -o " $job_slug .yaml" -- -c phoenix $device_opts -n $n_ranks
12+ ./mfc.sh bench --mem 8 -j $( nproc) -o " $job_slug .yaml" -- -c phoenix $device_opts -n $n_ranks
1313else
1414 ./mfc.sh bench --mem 1 -j $( nproc) -o " $job_slug .yaml" -- -c phoenix $device_opts -n $n_ranks
1515fi
Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ sbatch <<EOT
4141#SBATCH --account=gts-sbryngelson3 # charge account
4242#SBATCH -N1 # Number of nodes required
4343$sbatch_device_opts
44- #SBATCH -t 02 :00:00 # Duration of the job (Ex: 15 mins)
44+ #SBATCH -t 04 :00:00 # Duration of the job (Ex: 15 mins)
4545#SBATCH -q embers # QOS Name
4646#SBATCH -o$job_slug .out # Combined output and error messages file
4747#SBATCH -W # Do not exit until the submitted job terminates.
Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ def bench(targets = None):
6161 ["--targets" ] + [t .name for t in targets ] +
6262 ["--output-summary" , summary_filepath ] +
6363 case .args +
64- ["--" , "--gbpp" , ARG ('mem' )],
64+ ["--" , ARG ('mem' )],
6565 stdout = log_file ,
6666 stderr = subprocess .STDOUT )
6767
You can’t perform that action at this time.
0 commit comments