Skip to content

Commit

Permalink
add infer quick start
Browse files Browse the repository at this point in the history
  • Loading branch information
xincai98 committed Dec 19, 2024
1 parent 40b3439 commit 9cf8817
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,13 @@
import com.google.common.base.Joiner;

import java.io.File;
import java.io.IOException;
import java.nio.channels.FileLock;
import java.time.Duration;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
import java.util.concurrent.TimeUnit;
import java.util.concurrent.atomic.AtomicBoolean;
import java.util.concurrent.atomic.AtomicInteger;
import java.util.concurrent.atomic.AtomicReference;
Expand Down Expand Up @@ -193,7 +191,6 @@ private boolean createInferVirtualEnv(InferDependencyManager dependencyManager,
if (!ShellExecUtils.run(chmodCmd, Duration.ofSeconds(installEnvTimeOut), LOGGER::info, LOGGER::error)) {
return false;
}

return ShellExecUtils.run(cmd, Duration.ofSeconds(installEnvTimeOut), LOGGER::info, LOGGER::error, workingDir);
}

Expand Down

0 comments on commit 9cf8817

Please sign in to comment.