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
df175eac
Commit
df175eac
authored
1 year ago
by
Xuan Gu
Browse files
Options
Downloads
Patches
Plain Diff
Update file README.md
parent
e6c94b2a
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
README.md
+8
-7
8 additions, 7 deletions
README.md
with
8 additions
and
7 deletions
README.md
+
8
−
7
View file @
df175eac
...
...
@@ -42,21 +42,22 @@ Docker is not available on Berzelius. We use Apptainer or Enroot.
With Apptainer
```
apptainer pull nvidia_nnu-net_for_pytorch.sif docker://berzeliushub/nvidia_nnu-net_for_pytorch:$VERSION
apptainer exec --nv -B ${PWD}/data:/data -B ${PWD}/results:/results --nv nvidia_nnu-net_for_pytorch.sif bash -c "cd /workspace/nnunet_pyt && python download.py --task 01 && python preprocess.py --task 01 --dim 2"
apptainer pull nvidia_nnu-net_for_pytorch_$VERSION.sif docker://berzeliushub/nvidia_nnu-net_for_pytorch:$VERSION
apptainer exec --nv -B ${PWD}/data:/data -B ${PWD}/results:/results --nv nvidia_nnu-net_for_pytorch_$VERSION.sif bash -c "cd /workspace/nnunet_pyt && python download.py --task 01"
apptainer exec --nv -B ${PWD}/data:/data -B ${PWD}/results:/results --nv nvidia_nnu-net_for_pytorch_$VERSION.sif bash -c "cd /workspace/nnunet_pyt && python preprocess.py --task 01 --dim 2"
```
With Enroot
<!--
With Enroot
```
enroot import 'docker://berzeliushub/nvidia_nnu-net_for_pytorch:$VERSION'
enroot create --name nnunet berzeliushub+nvidia_nnu-net_for_pytorch+$VERSION.sqsh
enroot start --rw --mount ${PWD}/data:/data --mount ${PWD}/results:/results nnunet bash -c "cd /workspace/nnunet_pyt && python download.py --task 01 && python preprocess.py --task 01 --dim 2"
enroot start --rw --mount ${PWD}/data:/data --mount ${PWD}/results:/results nnunet bash -c "cd /workspace/nnunet_pyt && python download.py --task 01 && python preprocess.py --task 01 --dim 2"
-->
```
-
For benchmarking purpose, we use copied of a single image
<!--
- For benchmarking purpose, we use copied of a single image
```
bash scripts/copy_data_for_benchmark.sh
```
```
-->
-
Submit the job to Berzelius
You can choose either singularity or enroot in the scripts
```benchmark_single_node.sbatch```
and
```benchmark_multi_node.sbatch```
.
...
...
@@ -64,7 +65,7 @@ You can choose either singularity or enroot in the scripts ```benchmark_single_n
Chnage the following settings in
`benchmark_sbatch_submit.sh`
:
1.
Data dimention,
2.
Number of nodes,
3.
Number of gpus per node,
3.
Number of gpus
used
per node,
4.
Number of iterations for each parameter setting.
5.
Batch size
...
...
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