-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathrun_train_lion_for_nus.sh
26 lines (19 loc) · 1.15 KB
/
run_train_lion_for_nus.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#! /bin/bash
## nus mamba
CUDA_VISIBLE_DEVICES=0,1,2,3,4,5,6,7 python -m torch.distributed.launch \
--nproc_per_node=8 --master_port=29988 train.py --tcp_port 29988 --launcher pytorch \
--cfg_file ./cfgs/lion_models/lion_mamba_nusc_8x_1f_1x_one_stride_128dim.yaml \
--extra_tag lion_mamba_nusc_8x_1f_1x_one_stride_128dim \
--batch_size 16 --epochs 36 --max_ckpt_save_num 4 --workers 4 --sync_bn
## nus renet
CUDA_VISIBLE_DEVICES=0,1,2,3,4,5,6,7 python -m torch.distributed.launch \
--nproc_per_node=8 --master_port=29988 train.py --tcp_port 29988 --launcher pytorch \
--cfg_file ./cfgs/lion_models/lion_retnet_nusc_8x_1f_1x_one_stride_128dim.yaml \
--extra_tag lion_retnet_nusc_8x_1f_1x_one_stride_128dim \
--batch_size 16 --epochs 36 --max_ckpt_save_num 4 --workers 4 --sync_bn
## nus rwkv
CUDA_VISIBLE_DEVICES=0,1,2,3,4,5,6,7 python -m torch.distributed.launch \
--nproc_per_node=8 --master_port=29988 train.py --tcp_port 29988 --launcher pytorch \
--cfg_file ./cfgs/lion_models/lion_rwkv_nusc_8x_1f_1x_one_stride_128dim.yaml \
--extra_tag lion_rwkv_nusc_8x_1f_1x_one_stride_128dim \
--batch_size 16 --epochs 36 --max_ckpt_save_num 4 --workers 4 --sync_bn