Skip to content

Commit

Permalink
[audio] aarch64 support for audio extension
Browse files Browse the repository at this point in the history
  • Loading branch information
siddvenk committed Dec 20, 2022
1 parent ace20e1 commit abb80f0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
4 changes: 3 additions & 1 deletion extensions/audio/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ group 'ai.djl.audio'
dependencies {
api project(":api")
api project(":basicdataset")
api ("org.bytedeco:javacv:1.5.7") {
api ("org.bytedeco:javacv:1.5.8") {
exclude group: "org.bytedeco", module: "opencv"
exclude group: "org.bytedeco", module: "openblas"
exclude group: "org.bytedeco", module: "flycapture"
Expand All @@ -24,6 +24,8 @@ dependencies {
runtimeOnly "org.bytedeco:ffmpeg:5.0-1.5.7:macosx-x86_64"
runtimeOnly "org.bytedeco:ffmpeg:5.0-1.5.7:linux-x86_64"
runtimeOnly "org.bytedeco:ffmpeg:5.0-1.5.7:windows-x86_64"
runtimeOnly "org.bytedeco:ffmpeg:5.0-1.5.7:macosx-arm"
runtimeOnly "org.bytedeco:ffmpeg:5.0-1.5.7:linux-arm"

testImplementation project(":testing")
testRuntimeOnly "org.apache.logging.log4j:log4j-slf4j-impl:${log4j_slf4j_version}"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
import ai.djl.ndarray.NDArray;
import ai.djl.ndarray.NDManager;
import ai.djl.ndarray.types.Shape;
import ai.djl.testing.TestRequirements;
import ai.djl.training.util.DownloadUtils;

import org.testng.Assert;
Expand All @@ -33,7 +32,6 @@ public class FFmpegAudioFactoryTest {

@BeforeClass
public void setUp() throws IOException {
TestRequirements.notArm();
DownloadUtils.download(URL, "build/test/test_01.wav");
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
import ai.djl.ndarray.NDArray;
import ai.djl.ndarray.NDManager;
import ai.djl.ndarray.types.Shape;
import ai.djl.testing.TestRequirements;
import ai.djl.training.util.DownloadUtils;

import org.testng.Assert;
Expand All @@ -36,7 +35,6 @@ public class AudioProcessorTest {

@BeforeClass
public void setUp() throws IOException {
TestRequirements.notArm();
DownloadUtils.download(URL, "build/test/test_01.wav");
}

Expand Down

0 comments on commit abb80f0

Please sign in to comment.