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

[ci] Fixes build on macOS aarch64 machine #3191

Merged
merged 1 commit into from
May 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ public void testM5Forecasting() throws ModelException, TranslateException, IOExc

@Test
public void testAirPassenger() throws ModelException, TranslateException, IOException {
TestRequirements.engine("MXNet");
TestRequirements.linux();

float[] result = AirPassengersDeepAR.predict();
logger.info("{}", result);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public void testTrainResNet() throws ModelException, IOException, TranslateExcep
@Test
public void testTrainResNetSymbolicNightly()
throws ModelException, IOException, TranslateException {
TestRequirements.engine("MXNet");
TestRequirements.linux();
TestRequirements.nightly();
TestRequirements.gpu("MXNet");

Expand All @@ -65,6 +65,7 @@ public void testTrainResNetSymbolicNightly()
@Test
public void testTrainResNetImperativeNightly()
throws ModelException, IOException, TranslateException {
TestRequirements.linux();
TestRequirements.nightly();
TestRequirements.gpu("MXNet");

Expand Down
5 changes: 4 additions & 1 deletion integration/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,10 @@ dependencies {
implementation project(":model-zoo")
implementation project(":testing")

runtimeOnly project(":engines:mxnet:mxnet-model-zoo")
// Don't use MXNet for aarch64
if (System.properties['os.arch'] != "aarch64") {
runtimeOnly project(":engines:mxnet:mxnet-model-zoo")
}
runtimeOnly project(":engines:pytorch:pytorch-model-zoo")
runtimeOnly project(":engines:pytorch:pytorch-jni")
runtimeOnly project(":engines:tensorflow:tensorflow-model-zoo")
Expand Down
Loading