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
b7da791b
Commit
b7da791b
authored
1 year ago
by
Xuan Gu
Browse files
Options
Downloads
Patches
Plain Diff
Update 2 files
- /README.md - /scripts/benchmark_single_node.sbatch
parent
b51a967b
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
README.md
+2
-0
2 additions, 0 deletions
README.md
scripts/benchmark_single_node.sbatch
+2
-2
2 additions, 2 deletions
scripts/benchmark_single_node.sbatch
with
4 additions
and
2 deletions
README.md
+
2
−
0
View file @
b7da791b
...
...
@@ -14,6 +14,8 @@ cd ~/DeepLearningExamples/nnunet_for_pytorch_$VERSION/
-
Build the nnU-Net PyTorch Docker container
Change the pytorch-lightning version to 1.5.10 to avoid the
`from torchmetrics.utilities.data import get_num_classes as _get_num_classes`
error.
Add
`ENV PYTHONNOUSERSITE=True`
to the
`Dockerfile`
to disable the user packages.
```
docker build -t nnunet .
```
...
...
This diff is collapsed.
Click to expand it.
scripts/benchmark_single_node.sbatch
+
2
−
2
View file @
b7da791b
...
...
@@ -10,10 +10,10 @@
# This version does not run on multi-node
# For apptainer
rm
-f
results/benchmark_dim
${
1
}
_nodes
${
2
}
_gpus
${
3
}
_batchsize
${
4
}
_tf32_iteration
${
5
}
.json
apptainer
exec
--nv
--no-home
-B
${
PWD
}
/data:/data
-B
${
PWD
}
/results:/results nvidia_nnu-net_for_pytorch_21.11.0.sif bash
-c
"cd /workspace/nnunet_pyt && python scripts/benchmark.py --mode train --gpus
${
3
}
--dim
${
1
}
--batch_size
${
4
}
--logname='benchmark_dim
${
1
}
_nodes
${
2
}
_gpus
${
3
}
_batchsize
${
4
}
_tf32_iteration
${
5
}
.json'"
apptainer
exec
--nv
-B
${
PWD
}
/data:/data
-B
${
PWD
}
/results:/results nvidia_nnu-net_for_pytorch_21.11.0.sif bash
-c
"cd /workspace/nnunet_pyt && python scripts/benchmark.py --mode train --gpus
${
3
}
--dim
${
1
}
--batch_size
${
4
}
--logname='benchmark_dim
${
1
}
_nodes
${
2
}
_gpus
${
3
}
_batchsize
${
4
}
_tf32_iteration
${
5
}
.json'"
rm
-f
results/benchmark_dim
${
1
}
_nodes
${
2
}
_gpus
${
3
}
_batchsize
${
4
}
_amp_iteration
${
5
}
.json
apptainer
exec
--nv
--no-home
-B
${
PWD
}
/data:/data
-B
${
PWD
}
/results:/results nvidia_nnu-net_for_pytorch_21.11.0.sif bash
-c
"cd /workspace/nnunet_pyt && python scripts/benchmark.py --mode train --gpus
${
3
}
--dim
${
1
}
--batch_size
${
4
}
--amp --logname='benchmark_dim
${
1
}
_nodes
${
2
}
_gpus
${
3
}
_batchsize
${
4
}
_amp_iteration
${
5
}
.json'"
apptainer
exec
--nv
-B
${
PWD
}
/data:/data
-B
${
PWD
}
/results:/results nvidia_nnu-net_for_pytorch_21.11.0.sif bash
-c
"cd /workspace/nnunet_pyt && python scripts/benchmark.py --mode train --gpus
${
3
}
--dim
${
1
}
--batch_size
${
4
}
--amp --logname='benchmark_dim
${
1
}
_nodes
${
2
}
_gpus
${
3
}
_batchsize
${
4
}
_amp_iteration
${
5
}
.json'"
###################22.11.0
...
...
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