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;