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
pytorch3d
Commits
aed41b36
Commit
aed41b36
authored
Sep 10, 2025
by
limm
Browse files
add jenkins.sh
parent
241710b3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
38 additions
and
0 deletions
+38
-0
jenkins.sh
jenkins.sh
+38
-0
No files found.
jenkins.sh
0 → 100755
View file @
aed41b36
#!/bin/bash
pip
install
pandas
-i
https://mirrors.huaweicloud.com/artifactory/pypi-public/simple
pip
install
lpips
-i
https://mirrors.huaweicloud.com/artifactory/pypi-public/simple
pip
install
plotly
-i
https://mirrors.huaweicloud.com/artifactory/pypi-public/simple
pip
install
visdom
-i
https://mirrors.huaweicloud.com/artifactory/pypi-public/simple
pip
install
sqlalchemy
-i
https://mirrors.huaweicloud.com/artifactory/pypi-public/simple
pip
install
pycuda
-i
https://mirrors.huaweicloud.com/artifactory/pypi-public/simple
pip
install
PyOpenGL PyOpenGL_accelerate
-i
https://mirrors.huaweicloud.com/artifactory/pypi-public/simple
set
-e
source
/opt/dtk/env.sh
source
/usr/local/bin/fastpt
-C
echo
"开始编译组件pytorch3d"
export
FORCE_CUDA
=
1
pip
install
-e
.
python3 setup.py
-v
bdist_wheel
echo
"组件pytorch3d 编译完成"
ls
dist/
pip
install
dist/pytorch3d
*
.whl
pip
install
dist/pytorch3d
*
.whl
--force-reinstall
--no-deps
echo
"组件pytorch3d安装完成"
echo
"开始pytorch3d单元测试"
if
command
-v
pytest &> /dev/null
;
then
echo
"pytest 已安装,版本:
$(
pytest
--version
)
"
# 跳过安装
else
echo
"pytest 未安装,正在安装..."
# 使用 pip 安装 (最常见)
pip
install
pytest
fi
pytest
-vs
./tests
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