mirror of
https://github.com/hpcaitech/ColossalAI.git
synced 2025-09-11 13:59:08 +00:00
[example] add train resnet/vit with booster example (#3694)
* [example] add train vit with booster example * [example] update readme * [example] add train resnet with booster example * [example] enable ci * [example] enable ci * [example] add requirements * [hotfix] fix analyzer init * [example] update requirements
This commit is contained in:
10
examples/tutorial/new_api/cifar_vit/test_ci.sh
Executable file
10
examples/tutorial/new_api/cifar_vit/test_ci.sh
Executable file
@@ -0,0 +1,10 @@
|
||||
#!/bin/bash
|
||||
set -xe
|
||||
|
||||
export DATA=/data/scratch/cifar-10
|
||||
|
||||
pip install -r requirements.txt
|
||||
|
||||
for plugin in "torch_ddp" "torch_ddp_fp16" "low_level_zero"; do
|
||||
colossalai run --nproc_per_node 4 train.py --interval 0 --target_acc 0.83 --plugin $plugin
|
||||
done
|
Reference in New Issue
Block a user