mirror of
https://github.com/dogkeeper886/ollama37.git
synced 2025-12-10 15:57:04 +00:00
@@ -39,6 +39,7 @@ func initBackend() error {
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
defer actual.Close()
|
||||
|
||||
actualSum := sha256.New()
|
||||
if _, err := io.Copy(actualSum, actual); err != nil {
|
||||
|
||||
@@ -28,6 +28,7 @@ func New(model string, adapters []string, opts api.Options) (LLM, error) {
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
defer f.Close()
|
||||
|
||||
ggml, err := DecodeGGML(f, ModelFamilyLlama)
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user