Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
B
Berzelius Benchmarks
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Xuan Gu
Berzelius Benchmarks
Commits
508a7c31
Commit
508a7c31
authored
1 year ago
by
Xuan Gu
Browse files
Options
Downloads
Patches
Plain Diff
Update file benchmark_sbatch_submit.sh
parent
dace0691
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
scripts/benchmark_sbatch_submit.sh
+3
-3
3 additions, 3 deletions
scripts/benchmark_sbatch_submit.sh
with
3 additions
and
3 deletions
scripts/benchmark_sbatch_submit.sh
+
3
−
3
View file @
508a7c31
cd
/proj/nsc
/users/xuan/ngc/DeepLearningExamples/PyTorch/Segmentation/
nnUNet
cd
/proj/nsc
_testing/xuan/Berzelius-
nnU
-
Net
-Benchmark
dim
=
2
dim
=
2
...
@@ -9,7 +9,7 @@ for gpus in {1..8}; do
...
@@ -9,7 +9,7 @@ for gpus in {1..8}; do
echo
dim
${
dim
}
, nodes
${
nodes
}
, gpus
${
gpus
}
, batch_size
${
batch_size
}
, iteration
${
iteration
}
echo
dim
${
dim
}
, nodes
${
nodes
}
, gpus
${
gpus
}
, batch_size
${
batch_size
}
, iteration
${
iteration
}
# For single node
# For single node
sbatch
-o
sbatch_out/benchmark_dim
${
dim
}
_nodes
${
nodes
}
_gpus
${
gpus
}
_batchsize
${
batch_size
}
_iteration
${
iteration
}
.out benchmark_single_node.sbatch
${
dim
}
${
nodes
}
${
gpus
}
${
batch_size
}
${
iteration
}
sbatch
-o
sbatch_out/benchmark_dim
${
dim
}
_nodes
${
nodes
}
_gpus
${
gpus
}
_batchsize
${
batch_size
}
_iteration
${
iteration
}
.out
scripts/
benchmark_single_node.sbatch
${
dim
}
${
nodes
}
${
gpus
}
${
batch_size
}
${
iteration
}
sleep
1
# pause to be kind to the scheduler
sleep
1
# pause to be kind to the scheduler
...
@@ -23,7 +23,7 @@ for nodes in {2..8}; do
...
@@ -23,7 +23,7 @@ for nodes in {2..8}; do
for
iteration
in
{
1..100
}
;
do
for
iteration
in
{
1..100
}
;
do
# For multi node
# For multi node
sbatch
-o
sbatch_out/benchmark_dim
${
dim
}
_nodes
${
nodes
}
_gpus
${
gpus
}
_batchsize
${
batch_size
}
_iteration
${
iteration
}
.out benchmark_multi_node.sbatch
${
dim
}
${
nodes
}
${
gpus
}
${
batch_size
}
${
iteration
}
sbatch
-o
sbatch_out/benchmark_dim
${
dim
}
_nodes
${
nodes
}
_gpus
${
gpus
}
_batchsize
${
batch_size
}
_iteration
${
iteration
}
.out
scripts/
benchmark_multi_node.sbatch
${
dim
}
${
nodes
}
${
gpus
}
${
batch_size
}
${
iteration
}
sleep
1
# pause to be kind to the scheduler
sleep
1
# pause to be kind to the scheduler
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment