[example] llama3 (#5631)

* release llama3

* [release] llama3

* [release] llama3

* [release] llama3

* [release] llama3
This commit is contained in:
binmakeswell
2024-04-23 18:48:07 +08:00
committed by GitHub
parent 4de4e31818
commit f4c5aafe29
11 changed files with 26 additions and 4 deletions

View File

@@ -0,0 +1,17 @@
#!/bin/bash
# TODO: fix this
echo "3D parallel for LLaMA-2 is not ready yet"
exit 1
################
#Load your environments and modules here
################
HOSTFILE=$(realpath hosts.txt)
cd ../..
export OMP_NUM_THREADS=8
colossalai run --nproc_per_node 8 --hostfile $HOSTFILE benchmark.py -c 70b -p 3d -g -x -b 8 --tp 4 --pp 2 --mbs 1

View File

@@ -0,0 +1,13 @@
#!/bin/bash
################
#Load your environments and modules here
################
HOSTFILE=$(realpath hosts.txt)
cd ../..
export OMP_NUM_THREADS=8
colossalai run --nproc_per_node 8 --hostfile $HOSTFILE benchmark.py -c 70b -g -x -b 2

View File

@@ -0,0 +1,13 @@
#!/bin/bash
################
#Load your environments and modules here
################
HOSTFILE=$(realpath hosts.txt)
cd ../..
export OMP_NUM_THREADS=8
colossalai run --nproc_per_node 8 --hostfile $HOSTFILE benchmark.py -c 70b -p gemini_auto -g -x -b 2