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

[audio] aarch64 support for audio extension #2250

Merged
merged 1 commit into from
Dec 21, 2022

Conversation

siddvenk
Copy link
Contributor

Description

updates dependencies and adds aarch64 support for audio extension

@codecov-commenter
Copy link

codecov-commenter commented Dec 20, 2022

Codecov Report

Base: 72.08% // Head: 71.56% // Decreases project coverage by -0.52% ⚠️

Coverage data is based on head (80f5f4f) compared to base (bb5073f).
Patch coverage: 73.70% of modified lines in pull request are covered.

Additional details and impacted files
@@             Coverage Diff              @@
##             master    #2250      +/-   ##
============================================
- Coverage     72.08%   71.56%   -0.53%     
- Complexity     5126     6345    +1219     
============================================
  Files           473      631     +158     
  Lines         21970    28078    +6108     
  Branches       2351     2987     +636     
============================================
+ Hits          15838    20094    +4256     
- Misses         4925     6526    +1601     
- Partials       1207     1458     +251     
Impacted Files Coverage Δ
api/src/main/java/ai/djl/modality/cv/Image.java 69.23% <ø> (-4.11%) ⬇️
...rc/main/java/ai/djl/modality/cv/MultiBoxPrior.java 76.00% <ø> (ø)
...rc/main/java/ai/djl/modality/cv/output/Joints.java 71.42% <ø> (ø)
.../main/java/ai/djl/modality/cv/output/Landmark.java 100.00% <ø> (ø)
...main/java/ai/djl/modality/cv/output/Rectangle.java 72.41% <0.00%> (ø)
...i/djl/modality/cv/translator/BigGANTranslator.java 21.42% <0.00%> (-5.24%) ⬇️
.../modality/cv/translator/ImageFeatureExtractor.java 0.00% <0.00%> (ø)
.../ai/djl/modality/cv/translator/YoloTranslator.java 27.77% <0.00%> (+18.95%) ⬆️
...ain/java/ai/djl/modality/cv/util/NDImageUtils.java 59.21% <0.00%> (ø)
api/src/main/java/ai/djl/modality/nlp/Decoder.java 63.63% <ø> (ø)
... and 564 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

runtimeOnly "org.bytedeco:ffmpeg:5.0-1.5.7:windows-x86_64"
String arch = System.properties["os.arch"] == "aarch64" ? "arm64" : "x86_64"
String os = System.properties["os.name"].toLowerCase(Locale.ROOT)
if (os.contains("mac")) {
Copy link
Contributor

Choose a reason for hiding this comment

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

We should not pick dependencies based on current os.
If we publish the package on mac (our current CI), then only mac user can use this package when download from maven.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I see, that makes sense. I modified the change here to also include the aarch64 deps rather than pick on current os

@siddvenk siddvenk force-pushed the audio-arm64 branch 2 times, most recently from abb80f0 to 160ca6a Compare December 20, 2022 23:10
@siddvenk siddvenk merged commit ce3c317 into deepjavalibrary:master Dec 21, 2022
@siddvenk siddvenk deleted the audio-arm64 branch December 21, 2022 00:02
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