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

Cache the PyTorch "files.txt". #1982

Merged
merged 11 commits into from
Sep 2, 2022
Merged

Commits on Sep 2, 2022

  1. Cache the PyTorch "files.txt".

    The cached "files.txt" ensures DJL will still run when the machine is offline, and the native torch jar is not added to the classpath.
    demq authored Sep 2, 2022
    Configuration menu
    Copy the full SHA
    7207609 View commit details
    Browse the repository at this point in the history
  2. Create cache dir first and close the stream.

    Ensure the cache directory is present before creating the tempfiles.txt. Close the stream before moving it to files.txt, needed in Windos.
    demq authored Sep 2, 2022
    Configuration menu
    Copy the full SHA
    61f70c8 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    deb9745 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    953b8e2 View commit details
    Browse the repository at this point in the history
  5. Update engines/pytorch/pytorch-engine/src/main/java/ai/djl/pytorch/jn…

    …i/LibUtils.java
    
    Co-authored-by: Frank Liu <[email protected]>
    demq and frankfliu authored Sep 2, 2022
    Configuration menu
    Copy the full SHA
    f8ff0f2 View commit details
    Browse the repository at this point in the history
  6. Update engines/pytorch/pytorch-engine/src/main/java/ai/djl/pytorch/jn…

    …i/LibUtils.java
    
    Co-authored-by: Frank Liu <[email protected]>
    demq and frankfliu authored Sep 2, 2022
    Configuration menu
    Copy the full SHA
    da88626 View commit details
    Browse the repository at this point in the history
  7. Update engines/pytorch/pytorch-engine/src/main/java/ai/djl/pytorch/jn…

    …i/LibUtils.java
    
    Co-authored-by: Frank Liu <[email protected]>
    demq and frankfliu authored Sep 2, 2022
    Configuration menu
    Copy the full SHA
    c156032 View commit details
    Browse the repository at this point in the history
  8. Update engines/pytorch/pytorch-engine/src/main/java/ai/djl/pytorch/jn…

    …i/LibUtils.java
    
    Co-authored-by: Frank Liu <[email protected]>
    demq and frankfliu authored Sep 2, 2022
    Configuration menu
    Copy the full SHA
    b0f1a40 View commit details
    Browse the repository at this point in the history
  9. Update engines/pytorch/pytorch-engine/src/main/java/ai/djl/pytorch/jn…

    …i/LibUtils.java
    
    Co-authored-by: Frank Liu <[email protected]>
    demq and frankfliu authored Sep 2, 2022
    Configuration menu
    Copy the full SHA
    13bd724 View commit details
    Browse the repository at this point in the history
  10. Update LibUtils.java

    demq authored Sep 2, 2022
    Configuration menu
    Copy the full SHA
    9d23351 View commit details
    Browse the repository at this point in the history
  11. format java code

    Change-Id: I6ff0db5a61438300a434dd5bf3aa70c52ebda572
    frankfliu committed Sep 2, 2022
    Configuration menu
    Copy the full SHA
    570c4c3 View commit details
    Browse the repository at this point in the history