Removing go routine calling .wait from load.
This commit is contained in:
parent
ba26c7aa00
commit
321d57e1a0
1 changed files with 0 additions and 6 deletions
|
@ -300,12 +300,6 @@ func NewLlamaServer(gpus gpu.GpuInfoList, model string, ggml *GGML, adapters, pr
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
|
||||||
// reap subprocess when it exits
|
|
||||||
go func() {
|
|
||||||
// Exit status managed via getServerStatus
|
|
||||||
_ = s.cmd.Wait()
|
|
||||||
}()
|
|
||||||
|
|
||||||
// TODO - make sure this is all wired up correctly
|
// TODO - make sure this is all wired up correctly
|
||||||
// if err = s.WaitUntilRunning(); err != nil {
|
// if err = s.WaitUntilRunning(); err != nil {
|
||||||
// slog.Error("error starting llama server", "server", servers[i], "error", err)
|
// slog.Error("error starting llama server", "server", servers[i], "error", err)
|
||||||
|
|
Loading…
Add table
Reference in a new issue