Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ModelZoo
VAR_pytorch
Commits
67f3d069
Commit
67f3d069
authored
Nov 12, 2024
by
suily
Browse files
Update test.sh
parent
3047eb14
Pipeline
#1901
canceled with stages
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
test.sh
test.sh
+2
-2
No files found.
test.sh
View file @
67f3d069
export
CUDA
_VISIBLE_DEVICES
=
1,2,3,4
export
HIP
_VISIBLE_DEVICES
=
1,2,3,4
export
HSA_FORCE_FINE_GRAIN_PCIE
=
1
#多卡用,强制开启PCIe细粒度模式,有助于提升多卡间通信效率。
export
USE_MIOPEN_BATCHNORM
=
1
# 多GPU进行并行计算时的性能优化
...
...
@@ -16,4 +16,4 @@ export USE_MIOPEN_BATCHNORM=1 # 多GPU进行并行计算时的性能优化
# --wpe=0.1: 训练结束时的最终lr
torchrun
--nproc_per_node
=
4
--nnodes
=
1
--node_rank
=
0 train.py
\
--depth
=
16
--bs
=
192
--ep
=
5
--fp16
=
1
--alng
=
1e-3
--wpe
=
0.1
\
--data_path
=
/home/VAR/dataset
\ No newline at end of file
--data_path
=
/home/VAR/dataset
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment