Commit 09034f44 authored by limm's avatar limm
Browse files

add jenkins.sh

parent 56b3adce
......@@ -72,7 +72,7 @@ python -c "import torch_bincount; torch_bincount.\_\_version__",版本号与
## 单测
```shell
cd torch-bincount
pytest
python setup.py test
```
## 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