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

Add rpath fix to Native Publish PyTorch #1639

Merged
merged 2 commits into from
May 10, 2022
Merged

Add rpath fix to Native Publish PyTorch #1639

merged 2 commits into from
May 10, 2022

Conversation

zachgk
Copy link
Contributor

@zachgk zachgk commented May 10, 2022

This adds the install name tool rpath fix to downloading the pytorch native libraries.
It also updates the gradle script that runs the publish to run on osx which has
the fixer tool instead of osx.

It does have a minor breaking aspect as now the publish must be run from osx. I
did add an early error in case it is run from a different os.

This adds the install name tool fix to downloading the pytorch native libraries.
It also updates the gradle script that runs the publish to run on osx which has
the fixer tool instead of osx.

It does have a minor breaking aspect as now the publish must be run from osx. I
did add an early error in case it is run from a different os.
@zachgk zachgk requested a review from frankfliu as a code owner May 10, 2022 01:29
@codecov-commenter
Copy link

codecov-commenter commented May 10, 2022

Codecov Report

Merging #1639 (26cf01e) into master (bb5073f) will decrease coverage by 1.19%.
The diff coverage is 62.20%.

@@             Coverage Diff              @@
##             master    #1639      +/-   ##
============================================
- Coverage     72.08%   70.89%   -1.20%     
- Complexity     5126     5436     +310     
============================================
  Files           473      507      +34     
  Lines         21970    23769    +1799     
  Branches       2351     2589     +238     
============================================
+ Hits          15838    16850    +1012     
- Misses         4925     5629     +704     
- Partials       1207     1290      +83     
Impacted Files Coverage Δ
api/src/main/java/ai/djl/modality/cv/Image.java 69.23% <ø> (-4.11%) ⬇️
...i/djl/modality/cv/translator/BigGANTranslator.java 21.42% <ø> (-5.24%) ⬇️
...odality/cv/translator/BigGANTranslatorFactory.java 33.33% <0.00%> (+8.33%) ⬆️
...nslator/InstanceSegmentationTranslatorFactory.java 14.28% <0.00%> (-3.90%) ⬇️
.../modality/cv/translator/YoloTranslatorFactory.java 8.33% <0.00%> (-1.67%) ⬇️
...i/djl/modality/cv/translator/YoloV5Translator.java 5.69% <0.00%> (ø)
...odality/cv/translator/YoloV5TranslatorFactory.java 8.33% <0.00%> (-1.67%) ⬇️
...pi/src/main/java/ai/djl/ndarray/BytesSupplier.java 54.54% <0.00%> (-12.13%) ⬇️
api/src/main/java/ai/djl/ndarray/NDArray.java 78.40% <ø> (+1.13%) ⬆️
...ain/java/ai/djl/ndarray/index/dim/NDIndexPick.java 100.00% <ø> (ø)
... and 241 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 12d043e...26cf01e. Read the comment docs.

@zachgk zachgk merged commit 84f43ab into master May 10, 2022
@zachgk zachgk deleted the ptNatMx branch May 10, 2022 18:47
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.

3 participants