Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Commit

Permalink
Add publish test of PyPi cu100mkl (#14637)
Browse files Browse the repository at this point in the history
* test build with cu80

* upgrade to cuda 10

* update the Dockerfile

* update scala gpu ci

* downgrade the version to cu92

* remove the scala gpu test

* add scala gpu test back

* remove the empty line

* fix lint

* undo nvidia docker image

* retrigger CI
  • Loading branch information
stu1130 authored and wkcn committed Apr 18, 2019
1 parent 0da4b67 commit 18d4051
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 3 deletions.
10 changes: 9 additions & 1 deletion ci/docker/runtime_functions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -1327,7 +1327,7 @@ deploy_jl_docs() {
# ...
}

build_scala_static_mkl() {
build_static_scala_mkl() {
set -ex
pushd .
scala_prepare
Expand All @@ -1345,6 +1345,14 @@ build_static_python_mkl() {
popd
}

build_static_python_cu100mkl() {
set -ex
pushd .
export mxnet_variant=cu100mkl
./ci/publish/python/build.sh
popd
}

publish_scala_build() {
set -ex
pushd .
Expand Down
15 changes: 14 additions & 1 deletion ci/jenkins/Jenkins_steps.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -521,7 +521,7 @@ def test_static_scala_cpu() {
ws('workspace/ut-publish-scala-cpu') {
timeout(time: max_time, unit: 'MINUTES') {
utils.init_git()
utils.docker_run("publish.ubuntu1404_cpu", 'build_scala_static_mkl', false)
utils.docker_run("publish.ubuntu1404_cpu", 'build_static_scala_mkl', false)
}
}
}
Expand All @@ -541,6 +541,19 @@ def test_static_python_cpu() {
}]
}

def test_static_python_gpu() {
return ['Static build GPU 14.04 Python' : {
node(NODE_LINUX_GPU) {
ws('workspace/ut-publish-python-gpu') {
timeout(time: max_time, unit: 'MINUTES') {
utils.init_git()
utils.docker_run("publish.ubuntu1404_gpu", 'build_static_python_cu100mkl', true)
}
}
}
}]
}

def test_unix_python2_cpu() {
return ['Python2: CPU': {
node(NODE_LINUX_CPU) {
Expand Down
3 changes: 2 additions & 1 deletion ci/jenkins/Jenkinsfile_unix_gpu
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,8 @@ core_logic: {
custom_steps.test_unix_python3_integration_gpu(),
custom_steps.test_unix_cpp_package_gpu(),
custom_steps.test_unix_scala_gpu(),
custom_steps.test_unix_distributed_kvstore_gpu()
custom_steps.test_unix_distributed_kvstore_gpu(),
custom_steps.test_static_python_gpu()

// Disabled due to: https://github.com/apache/incubator-mxnet/issues/11407
//custom_steps.test_unix_caffe_gpu()
Expand Down

0 comments on commit 18d4051

Please sign in to comment.