Merge pull request #3464 from dhiltgen/subprocess

Fix numgpu opt miscomparison
This commit is contained in:
Daniel Hiltgen
2024-04-02 20:10:17 -07:00
committed by GitHub
2 changed files with 7 additions and 7 deletions

View File

@@ -33,14 +33,14 @@ type LlamaServer struct {
cmd *exec.Cmd
done chan error // Channel to signal when the process exits
status *StatusWriter
options *api.Options
options api.Options
}
var cpuOnlyFamilies = []string{
"mamba",
}
func NewLlamaServer(model string, adapters, projectors []string, opts *api.Options) (*LlamaServer, error) {
func NewLlamaServer(model string, adapters, projectors []string, opts api.Options) (*LlamaServer, error) {
if _, err := os.Stat(model); err != nil {
return nil, err
}