compile.sh 591 Bytes
Newer Older
huchen's avatar
huchen committed
1
source /opt/dtk/env.sh
2
3
4
5
6
export CPLUS_INCLUDE_PATH=${ROCM_PATH}/include:${ROCM_PATH}:/opencl/include
export CPLUS_INCLUDE_PATH=${ROCM_PATH}/hiprand/include/:${ROCM_PATH}/rocrand/include:$CPLUS_INCLUDE_PATH
export LD_LIBRARY_PATH=${ROCM_PATH}/hipblas/lib/:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH=${ROCM_PATH}/llvm/lib:$LD_LIBRARY_PATH

huchen's avatar
huchen committed
7
8
#NAME="colossalai-0.0.2-cp37-cp37m-linux_x86_64"
rm dist/*.whl -f
huchen's avatar
huchen committed
9

10
11
MAX_JOBS=32 python3 setup.py -v  bdist_wheel

huchen's avatar
huchen committed
12
13
14
pip3 install dist/*.whl  -i http://mirrors.aliyun.com/pypi/simple/  --trusted-host mirrors.aliyun.com --no-deps --force-reinstall

./test_gpu.sh