Restructure loading conditional chain

This commit is contained in:
Bryce Reitano
2024-04-24 17:37:03 -06:00
parent ceb0e26e5e
commit 36a6daccab
2 changed files with 18 additions and 19 deletions

View File

@@ -47,7 +47,7 @@ func TestLoad(t *testing.T) {
ctx, done := context.WithTimeout(context.Background(), 5*time.Millisecond)
defer done()
s := InitScheduler(ctx)
ggml := nil // value not used in tests
var ggml *llm.GGML // value not used in tests
req := &LlmRequest{
ctx: ctx,
model: &Model{ModelPath: "foo"},