mirror of
https://github.com/hpcaitech/ColossalAI.git
synced 2025-09-14 13:42:12 +00:00
[examples] update autoparallel tutorial demo (#2449)
* [examples] update autoparallel tutorial demo * add test_ci.sh * polish * add conda yaml
This commit is contained in:
11
examples/tutorial/auto_parallel/test_ci.sh
Normal file
11
examples/tutorial/auto_parallel/test_ci.sh
Normal file
@@ -0,0 +1,11 @@
|
||||
#!/bin/bash
|
||||
set -euxo pipefail
|
||||
|
||||
conda init bash
|
||||
conda env create -f environment.yaml
|
||||
conda activate auto
|
||||
cd ../../..
|
||||
pip uninstall colossalai
|
||||
pip install -v .
|
||||
cd ./examples/tutorial/auto_parallel
|
||||
colossalai run --nproc_per_node 4 auto_parallel_with_resnet.py -s
|
Reference in New Issue
Block a user