Skip to content

Commit

Permalink
update gpt2 kunlunxin config (#300)
Browse files Browse the repository at this point in the history
* gpt2 env config

* gpt2 config

* Update test_conf.py

---------

Co-authored-by: zhangyutong04 <zhangyutong04@baidu.com>
  • Loading branch information
dayuyuhai and zhangyutong04 authored Nov 1, 2023
1 parent 6fd0bed commit 52edef8
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
2 changes: 2 additions & 0 deletions training/kunlunxin/docker_image/pytorch/pytorch_install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,6 @@ set -xe
pip install https://bd.bcebos.com/klx-pytorch-ipipe-bd/flagperf/latest/xacc-0.1.0-cp38-cp38-linux_x86_64.whl
pip install https://bd.bcebos.com/klx-pytorch-ipipe-bd/flagperf/latest/xmlir-0.0.1-cp38-cp38-linux_x86_64.whl

pip install psutil==5.9.5 -i https://pypi.tuna.tsinghua.edu.cn/simple
pip install accelerate==0.20.3 -i https://pypi.tuna.tsinghua.edu.cn/simple
python -m xacc.install
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
export XACC_ENABLE=1
export BKCL_PCIE_RING=1
export BKCL_TIMEOUT=1800
export XMLIR_D_XPU_L3_SIZE=66060288
4 changes: 3 additions & 1 deletion training/run_benchmarks/config/test_conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,5 +101,7 @@
# "gpt3_13B:paddle_2.5.1:TP2PP4SH1SP1A10040G:1:8:1":"/raid/dataset/gpt-3/"

# kunlunxin cases
# "gpt2:pytorch:R300:1:8:1": "/raid/dataset/gpt2"
# "resnet50:pytorch:R300:1:8:1": "/raid/dataset/ImageNet_1k_2012/",
}
}

0 comments on commit 52edef8

Please sign in to comment.