-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
11 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,14 +11,18 @@ | |
num_nodes = args.num_nodes | ||
|
||
job_source = f"""#!/bin/bash | ||
#SBATCH --job-name=ChAI_perf_test_{num_images}x{num_nodes} | ||
#SBATCH --job-name=ChAI_perf_{num_nodes} | ||
#SBATCH --partition=workq | ||
#SBATCH --nodes={num_nodes} | ||
#SBATCH --cpus-per-task=72 | ||
#SBATCH --cpus-per-task=96 | ||
#SBATCH --time=03:00:00 | ||
#SBATCH --mail-type=ALL | ||
#SBATCH [email protected] | ||
python3 times.py measure "./MultiLocaleInference -nl {num_nodes} --numImages={num_images} --numTries=10 --printResults=false" --name "ml_test_{num_nodes}_{num_images}" | ||
for num_images in 1 5 10 50 100 500 1000 5000 10000 | ||
do | ||
python3 times.py measure "./MultiLocaleInference -nl {num_nodes} --numImages=$num_images --numTries=10 --printResults=false" --name "ml_test_{num_nodes}_$num_images" | ||
done | ||
""" | ||
|
||
with open('tmp_job.sh','w') as f: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters