From 624bfb0b1105e5ad305a2886ac35c219c1f46645 Mon Sep 17 00:00:00 2001 From: Michael Yang Date: Wed, 29 Jan 2025 15:08:37 -0800 Subject: [PATCH] fix linter --- convert/convert_qwen2.go | 1 - llm/server.go | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/convert/convert_qwen2.go b/convert/convert_qwen2.go index be7f5e7a2..18278802e 100644 --- a/convert/convert_qwen2.go +++ b/convert/convert_qwen2.go @@ -2,7 +2,6 @@ package convert import "github.com/ollama/ollama/fs/ggml" - type qwen2Model struct { ModelParameters MaxPositionEmbeddings uint32 `json:"max_position_embeddings"` diff --git a/llm/server.go b/llm/server.go index 37a5e1600..765d7bb9b 100644 --- a/llm/server.go +++ b/llm/server.go @@ -28,8 +28,8 @@ import ( "github.com/ollama/ollama/discover" "github.com/ollama/ollama/envconfig" "github.com/ollama/ollama/format" - "github.com/ollama/ollama/llama" "github.com/ollama/ollama/fs/ggml" + "github.com/ollama/ollama/llama" ) type LlamaServer interface {