Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[mxnet] Upgrade native build mxnet version #1517

Merged
merged 1 commit into from
Mar 2, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/native_publish_mxnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
- name: Download native binaries
run: ./gradlew :engines:mxnet:native:dMNL
- name: Publish to snapshot/staging repository
working-directory: engine/mxnet/native
working-directory: engines/mxnet/native
run: ./gradlew publish -P${{ github.event.inputs.mode }}
env:
ORG_GRADLE_PROJECT_signingKey: ${{ secrets.ORG_GRADLE_PROJECT_signingKey }}
Expand Down
4 changes: 2 additions & 2 deletions engines/mxnet/native/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ plugins {

group = "ai.djl.mxnet"

def VERSION = "1.8.0"
def VERSION = "${mxnet_version}"
boolean isRelease = project.hasProperty("release") || project.hasProperty("staging")
version = VERSION + (isRelease ? "" : "-SNAPSHOT")

Expand Down Expand Up @@ -170,7 +170,7 @@ task downloadMxnetNativeLib() {
doLast {
def url = "https://publish.djl.ai/mxnet-${VERSION}"
def files = [
"linux/common/libgfortran.so.4.gz": "mkl/linux/native/lib/libgfortran.so.4",
"linux/common/libgfortran.so.3.gz": "mkl/linux/native/lib/libgfortran.so.3",
"linux/common/libgomp.so.1.gz" : "mkl/linux/native/lib/libgomp.so.1",
"linux/common/libopenblas.so.0.gz": "mkl/linux/native/lib/libopenblas.so.0",
"linux/common/libquadmath.so.0.gz": "mkl/linux/native/lib/libquadmath.so.0",
Expand Down