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
fairscale
Commits
3f459ced
Commit
3f459ced
authored
Sep 10, 2025
by
limm
Browse files
add jenkins.sh
parent
7db71092
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
35 additions
and
0 deletions
+35
-0
jenkins.sh
jenkins.sh
+35
-0
No files found.
jenkins.sh
0 → 100755
View file @
3f459ced
#!/bin/bash
pip
install
-r
requirements.txt
pip
install
pygit2
pip
install
pgzip
set
-e
source
/opt/dtk/env.sh
source
/usr/local/bin/fastpt
-C
export
BUILD_CUDA_EXTENSIONS
=
1
export
HIPCC_COMPILE_FLAGS_APPEND
=
"--gpu-max-threads-per-block=1024"
echo
"开始编译组件fairscale"
python3 setup.py
-v
bdist_wheel
echo
"组件fairscale编译完成"
ls
dist/
pip
install
dist/fairscale
*
.whl
--force-reinstall
--no-deps
echo
"组件fairscale安装完成"
echo
"开始fairscale单元测试"
if
command
-v
pytest &> /dev/null
;
then
echo
"pytest 已安装,版本:
$(
pytest
--version
)
"
# 跳过安装
else
echo
"pytest 未安装,正在安装..."
# 使用 pip 安装 (最常见)
pip
install
pytest
fi
pytest
-vs
./tests
limm
@limm
mentioned in commit
676ab281
·
Sep 10, 2025
mentioned in commit
676ab281
mentioned in commit 676ab281920b7ce8b77757cc3ffbde0599179209
Toggle commit list
limm
@limm
mentioned in merge request
!2 (merged)
·
Sep 10, 2025
mentioned in merge request
!2 (merged)
mentioned in merge request !2
Toggle commit list
limm
@limm
mentioned in commit
c107429a
·
Sep 10, 2025
mentioned in commit
c107429a
mentioned in commit c107429ab1084188b135a2b535e6d199f9b1fc9c
Toggle commit list
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