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

upgrade djl version to 0.28.0 #2578

Merged
merged 3 commits into from
Jun 20, 2024
Merged

Conversation

rbhavna
Copy link
Collaborator

@rbhavna rbhavna commented Jun 19, 2024

Description

upgrade djl version to 0.28.0

Issues Resolved

[List any issues this PR will resolve]

Check List

  • New functionality includes testing.
    • All tests pass
  • New functionality has been documented.
    • New functionality has javadoc added
  • Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

@rbhavna rbhavna temporarily deployed to ml-commons-cicd-env June 19, 2024 22:49 — with GitHub Actions Inactive
@rbhavna rbhavna temporarily deployed to ml-commons-cicd-env June 19, 2024 22:49 — with GitHub Actions Inactive
@rbhavna rbhavna temporarily deployed to ml-commons-cicd-env June 19, 2024 22:49 — with GitHub Actions Inactive
@rbhavna rbhavna had a problem deploying to ml-commons-cicd-env June 19, 2024 22:49 — with GitHub Actions Failure
@rbhavna rbhavna had a problem deploying to ml-commons-cicd-env June 19, 2024 22:49 — with GitHub Actions Error
@rbhavna rbhavna had a problem deploying to ml-commons-cicd-env June 19, 2024 22:49 — with GitHub Actions Failure
@rbhavna rbhavna changed the title upgrade djl version to 0.28.0 to fix CVE upgrade djl version to 0.28.0 Jun 19, 2024
@rbhavna rbhavna temporarily deployed to ml-commons-cicd-env June 19, 2024 23:27 — with GitHub Actions Inactive
@rbhavna rbhavna temporarily deployed to ml-commons-cicd-env June 19, 2024 23:27 — with GitHub Actions Inactive
@rbhavna rbhavna temporarily deployed to ml-commons-cicd-env June 19, 2024 23:27 — with GitHub Actions Inactive
@rbhavna rbhavna had a problem deploying to ml-commons-cicd-env June 19, 2024 23:27 — with GitHub Actions Failure
exclude group: "com.microsoft.onnxruntime", module: "onnxruntime"
}
def os = DefaultNativePlatform.currentOperatingSystem
//arm/macos doesn't support GPU
if (os.macOsX || System.getProperty("os.arch") == "aarch64") {
dependencies {
implementation "com.microsoft.onnxruntime:onnxruntime:1.14.0"
implementation "com.microsoft.onnxruntime:onnxruntime:1.16.3!!"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What's ! means here?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The !! syntax is used to enforce the exact version of a dependency in Gradle, ensuring that no other version is used in the build process, which can help avoid compatibility issues and ensure consistency across different builds.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ylwu-amzn ylwu-amzn temporarily deployed to ml-commons-cicd-env June 20, 2024 02:36 — with GitHub Actions Inactive
@ylwu-amzn ylwu-amzn temporarily deployed to ml-commons-cicd-env June 20, 2024 02:36 — with GitHub Actions Inactive
@ylwu-amzn ylwu-amzn temporarily deployed to ml-commons-cicd-env June 20, 2024 02:36 — with GitHub Actions Inactive
@ylwu-amzn ylwu-amzn temporarily deployed to ml-commons-cicd-env June 20, 2024 02:36 — with GitHub Actions Inactive
@rbhavna rbhavna merged commit 01c85cb into opensearch-project:main Jun 20, 2024
10 of 12 checks passed
opensearch-trigger-bot bot pushed a commit that referenced this pull request Jun 20, 2024
* upgrade djl version to latest 0.28.0

Signed-off-by: Bhavana Ramaram <[email protected]>

* force onnxruntime_gpu to 1.16.3

Signed-off-by: Yaliang Wu <[email protected]>

---------

Signed-off-by: Bhavana Ramaram <[email protected]>
Signed-off-by: Yaliang Wu <[email protected]>
Co-authored-by: Yaliang Wu <[email protected]>
(cherry picked from commit 01c85cb)
opensearch-trigger-bot bot pushed a commit that referenced this pull request Jun 20, 2024
* upgrade djl version to latest 0.28.0

Signed-off-by: Bhavana Ramaram <[email protected]>

* force onnxruntime_gpu to 1.16.3

Signed-off-by: Yaliang Wu <[email protected]>

---------

Signed-off-by: Bhavana Ramaram <[email protected]>
Signed-off-by: Yaliang Wu <[email protected]>
Co-authored-by: Yaliang Wu <[email protected]>
(cherry picked from commit 01c85cb)
rbhavna added a commit that referenced this pull request Jun 20, 2024
* upgrade djl version to latest 0.28.0

Signed-off-by: Bhavana Ramaram <[email protected]>

* force onnxruntime_gpu to 1.16.3

Signed-off-by: Yaliang Wu <[email protected]>

---------

Signed-off-by: Bhavana Ramaram <[email protected]>
Signed-off-by: Yaliang Wu <[email protected]>
Co-authored-by: Yaliang Wu <[email protected]>
(cherry picked from commit 01c85cb)

Co-authored-by: Bhavana Ramaram <[email protected]>
@ylwu-amzn ylwu-amzn temporarily deployed to ml-commons-cicd-env June 20, 2024 03:47 — with GitHub Actions Inactive
@ylwu-amzn ylwu-amzn temporarily deployed to ml-commons-cicd-env June 20, 2024 03:47 — with GitHub Actions Inactive
@ylwu-amzn ylwu-amzn temporarily deployed to ml-commons-cicd-env June 20, 2024 03:47 — with GitHub Actions Inactive
@ylwu-amzn ylwu-amzn temporarily deployed to ml-commons-cicd-env June 20, 2024 03:47 — with GitHub Actions Inactive
@ylwu-amzn ylwu-amzn temporarily deployed to ml-commons-cicd-env June 20, 2024 03:47 — with GitHub Actions Inactive
@ylwu-amzn ylwu-amzn temporarily deployed to ml-commons-cicd-env June 20, 2024 03:47 — with GitHub Actions Inactive
@ylwu-amzn ylwu-amzn temporarily deployed to ml-commons-cicd-env June 20, 2024 04:45 — with GitHub Actions Inactive
@ylwu-amzn ylwu-amzn temporarily deployed to ml-commons-cicd-env June 20, 2024 04:45 — with GitHub Actions Inactive
@ylwu-amzn ylwu-amzn temporarily deployed to ml-commons-cicd-env June 20, 2024 04:45 — with GitHub Actions Inactive
zane-neo pushed a commit that referenced this pull request Jul 4, 2024
* upgrade djl version to latest 0.28.0

Signed-off-by: Bhavana Ramaram <[email protected]>

* force onnxruntime_gpu to 1.16.3

Signed-off-by: Yaliang Wu <[email protected]>

---------

Signed-off-by: Bhavana Ramaram <[email protected]>
Signed-off-by: Yaliang Wu <[email protected]>
Co-authored-by: Yaliang Wu <[email protected]>
(cherry picked from commit 01c85cb)

Co-authored-by: Bhavana Ramaram <[email protected]>
@b4sjoo b4sjoo added the v2.16.0 Issues targeting release v2.16.0 label Jul 26, 2024
opensearch-trigger-bot bot added a commit that referenced this pull request Oct 2, 2024
* upgrade djl version to latest 0.28.0

Signed-off-by: Bhavana Ramaram <[email protected]>

* force onnxruntime_gpu to 1.16.3

Signed-off-by: Yaliang Wu <[email protected]>

---------

Signed-off-by: Bhavana Ramaram <[email protected]>
Signed-off-by: Yaliang Wu <[email protected]>
Co-authored-by: Yaliang Wu <[email protected]>
(cherry picked from commit 01c85cb)

Co-authored-by: Bhavana Ramaram <[email protected]>
(cherry picked from commit 63aeaab)
dhrubo-os pushed a commit that referenced this pull request Oct 2, 2024
* upgrade djl version to latest 0.28.0

Signed-off-by: Bhavana Ramaram <[email protected]>

* force onnxruntime_gpu to 1.16.3

Signed-off-by: Yaliang Wu <[email protected]>

---------

Signed-off-by: Bhavana Ramaram <[email protected]>
Signed-off-by: Yaliang Wu <[email protected]>
Co-authored-by: Yaliang Wu <[email protected]>
(cherry picked from commit 01c85cb)

Co-authored-by: Bhavana Ramaram <[email protected]>
(cherry picked from commit 63aeaab)

Co-authored-by: opensearch-trigger-bot[bot] <98922864+opensearch-trigger-bot[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport 2.x backport 2.15 v2.16.0 Issues targeting release v2.16.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants