-
Notifications
You must be signed in to change notification settings - Fork 108
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[KUNLUNXIN] case config: llama3-8b, chatglm3-6b, interconnect (#757)
* [KUNLUNXIN] case config: llama3-8b, chatglm3-6b, interconnect-MPI_interserver * [KUNLUNXIN] minor fix for llama3-8b, remove cpu-initialization --------- Co-authored-by: w4yne <[email protected]>
- Loading branch information
Showing
11 changed files
with
356 additions
and
299 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 3 additions & 2 deletions
5
training/kunlunxin/chatglm3_6b-deepspeed/config/config_R300x1x8.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,8 @@ | ||
seqlength = 4096 | ||
batchsize = 8 | ||
datafilename = "openwebtext_chatglm3_100M.npy" | ||
theoryflops = 128000000000000.0 | ||
theoryflops = 999000000000000.0 | ||
epochs = 1 | ||
flashattn = True | ||
gradient_checkpointing_enable = True | ||
gradient_checkpointing_enable = True | ||
load_ckpt_dir = "step0-ckpt" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
FROM klx-flagperf-mcore060:latest | ||
RUN /bin/bash -c "pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple" | ||
RUN /bin/bash -c "uname -a" | ||
RUN /bin/bash -c alias python3=python | ||
ENV PATH /root/miniconda/envs/python38_torch201_cuda/bin:$PATH | ||
|
||
RUN pip3 install loguru | ||
RUN pip3 install schedule | ||
RUN pip3 install munch |
11 changes: 11 additions & 0 deletions
11
training/kunlunxin/docker_image/megatron_core060/megatron_core060_install.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
#!/bin/bash | ||
|
||
set -x | ||
|
||
pip install schedule | ||
|
||
# xpytorch install | ||
cd /opt/xpytorch && bash xpytorch-cp38-torch201-ubuntu2004-x64.run | ||
CUDART_DUMMY_REGISTER=1 python -m torch_xmlir --doctor &> /tmp/xpytorch.version.out | ||
CUDART_DUMMY_REGISTER=1 python -c "import torch; print(torch.rand(512, 128).cuda())" &> /tmp/xpytorch.test.out | ||
|
Oops, something went wrong.