From 0bc3e3c2af5586ce60306adf550414abbd3f93e9 Mon Sep 17 00:00:00 2001 From: jakki Date: Thu, 14 Nov 2024 16:20:15 +0200 Subject: [PATCH] Fix import errors in AppleUtils --- .../src/main/java/org/pytorch/serve/device/utils/AppleUtil.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/frontend/server/src/main/java/org/pytorch/serve/device/utils/AppleUtil.java b/frontend/server/src/main/java/org/pytorch/serve/device/utils/AppleUtil.java index 921763adca..ef3bc2485d 100644 --- a/frontend/server/src/main/java/org/pytorch/serve/device/utils/AppleUtil.java +++ b/frontend/server/src/main/java/org/pytorch/serve/device/utils/AppleUtil.java @@ -7,6 +7,8 @@ import java.util.ArrayList; import java.util.LinkedHashSet; import java.util.List; +import java.util.stream.Collectors; +import java.util.stream.IntStream; import org.pytorch.serve.device.Accelerator; import org.pytorch.serve.device.AcceleratorVendor; import org.pytorch.serve.device.interfaces.IAcceleratorUtility;