Skip to content

Conversation

qthequartermasterman
Copy link

Description

Brief description of what this PR is about

Updates PyTorch to 2.7.0. Changes inspired by this PR: #3517.

  • If this change is a backward incompatible change, why must this change be made?
  • Interesting edge cases to note here

@qthequartermasterman
Copy link
Author

@xyang16 made a similar change in #3517

@qthequartermasterman
Copy link
Author

@xyang16 Any idea why bumping pytorch is causing the Onnx Runtime build to fail with

java.io.FileNotFoundException: https://publish.djl.ai/pytorch/2.7.0/jnilib/0.34.0/linux-x86_64/cpu/libdjl_torch.so

?

@xyang16
Copy link
Contributor

xyang16 commented Jul 2, 2025

@qthequartermasterman Thanks for contributing! Could you update to pytorch 2.7.1? Looks like 2.7.1 is the latest stable release.

@qthequartermasterman
Copy link
Author

qthequartermasterman commented Jul 2, 2025

Thanks for contributing! Could you update to pytorch 2.7.1? Looks like 2.7.1 is the latest stable release.

@xyang16 Happy to make this change, but I am making this change in anticipation of deepjavalibrary/djl-serving#2841. vLLM==0.9.1 requires exactly torch==2.7.0. Would it be acceptable to build both versions? Or would building 2.7.1 be fine?

@qthequartermasterman
Copy link
Author

@xyang16 Is there any update on this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants