Commit cfb05a0b authored by limm's avatar limm
Browse files

Merge branch 'fix_0.1.1-fastpt' into '0.1.1-fastpt'

add jenkins.sh

See merge request !1
parents 56b3adce 09034f44
...@@ -72,7 +72,7 @@ python -c "import torch_bincount; torch_bincount.\_\_version__",版本号与 ...@@ -72,7 +72,7 @@ python -c "import torch_bincount; torch_bincount.\_\_version__",版本号与
## 单测 ## 单测
```shell ```shell
cd torch-bincount cd torch-bincount
pytest python setup.py test
``` ```
## Known Issue ## Known Issue
......
#!/bin/bash
set -e
source /opt/dtk/env.sh
export FORCE_CUDA=1
source /usr/local/bin/fastpt -C
echo "开始编译组件torch-bincount"
python3 setup.py -v bdist_wheel
echo "组件torch-bincount编译完成"
ls dist/
pip install dist/torch_bincount*.whl
pip install dist/torch_bincount*.whl --force-reinstall --no-deps
echo "组件torch-bincount安装完成"
echo "开始torch-bincount单元测试"
python setup.py test
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment