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
MMCV
Commits
8b99a1dd
Commit
8b99a1dd
authored
Sep 09, 2025
by
limm
Browse files
Merge branch 'cherry-pick-
a4922aeb
' into 'v2.0.1-fastpt'
add jenkins.sh See merge request
!6
parents
54f0bf4c
192fb9e6
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
34 additions
and
2 deletions
+34
-2
jenkins.sh
jenkins.sh
+33
-0
requirements/docs.txt
requirements/docs.txt
+0
-1
requirements/runtime.txt
requirements/runtime.txt
+1
-1
No files found.
jenkins.sh
0 → 100755
View file @
8b99a1dd
#!/bin/bash
pip
install
-r
requirements.txt
set
-e
source
/opt/dtk/env.sh
export
FORCE_CUDA
=
1
source
/usr/local/bin/fastpt
-C
echo
"开始编译组件mmcv"
MMCV_WITH_OPS
=
1 python3 setup.py
-v
bdist_wheel
echo
"组件mmcv编译完成"
ls
dist/
pip
install
dist/
*
.whl
pip
install
dist/
*
.whl
--force-reinstall
--no-deps
echo
"组件mmcv安装完成"
echo
"开始mmcv单元测试"
if
command
-v
pytest &> /dev/null
;
then
echo
"pytest 已安装,版本:
$(
pytest
--version
)
"
# 跳过安装
else
echo
"pytest 未安装,正在安装..."
# 使用 pip 安装 (最常见)
pip
install
pytest
fi
pytest
-vs
./tests
requirements/docs.txt
View file @
8b99a1dd
...
@@ -6,5 +6,4 @@ opencv-python
...
@@ -6,5 +6,4 @@ opencv-python
sphinx==4.0.2
sphinx==4.0.2
sphinx-copybutton
sphinx-copybutton
sphinx_markdown_tables>=0.0.16
sphinx_markdown_tables>=0.0.16
torch
urllib3<2.0.0
urllib3<2.0.0
requirements/runtime.txt
View file @
8b99a1dd
addict
addict
mmengine>=0.3.0
mmengine>=0.3.0
numpy
numpy
==1.24.3
packaging
packaging
Pillow
Pillow
pyyaml
pyyaml
...
...
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