Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
torch-cluster
Commits
b6b42122
Commit
b6b42122
authored
Sep 04, 2025
by
limm
Browse files
调试 fastpt jenkins
parent
0ab2fead
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
32 additions
and
5 deletions
+32
-5
build.sh
build.sh
+0
-5
jenkins.sh
jenkins.sh
+32
-0
No files found.
build.sh
deleted
100755 → 0
View file @
0ab2fead
#!/bin/bash
export
FORCE_CUDA
=
1
source
/usr/local/bin/fastpt
-C
python setup.py bdist_wheel
pip
install
dist/
*
.whl
test
.sh
→
jenkins
.sh
View file @
b6b42122
#!/bin/bash
set
-e
source
/opt/dtk/env.sh
export
FORCE_CUDA
=
1
source
/usr/local/bin/fastpt
-C
echo
"开始编译组件torch-cluster "
python setup.py bdist_wheel
echo
"组件torch-cluster编译完成"
ls
dist/
pip
install
dist/
*
.whl
--force-reinstall
--no-deps
echo
"组件torch-cluster安装完成"
echo
"开始torch-cluster单元测试"
if
command
-v
pytest &> /dev/null
;
then
echo
"pytest 已安装,版本:
$(
pytest
--version
)
"
# 跳过安装
...
...
@@ -7,8 +24,9 @@ else
echo
"pytest 未安装,正在安装..."
# 使用 pip 安装 (最常见)
pip
install
pytest
fi
pytest
-vs
./test
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment