Commit c5bcf328 authored by Michael Yang's avatar Michael Yang
Browse files

update llama.cpp

parent f0b365a4
/**
* llama.cpp - git c574bddb368424b5996cbee2ec45ec050967d404
* llama.cpp - git 8183159cf3def112f6d1fe94815fce70e1bffa12
*
* MIT License
*
......
/**
* llama.cpp - git c574bddb368424b5996cbee2ec45ec050967d404
* llama.cpp - git 8183159cf3def112f6d1fe94815fce70e1bffa12
*
* MIT License
*
......
This diff is collapsed.
/**
* llama.cpp - git c574bddb368424b5996cbee2ec45ec050967d404
* llama.cpp - git 8183159cf3def112f6d1fe94815fce70e1bffa12
*
* MIT License
*
......
//go:build darwin
/**
* llama.cpp - git c574bddb368424b5996cbee2ec45ec050967d404
* llama.cpp - git 8183159cf3def112f6d1fe94815fce70e1bffa12
*
* MIT License
*
......
//go:build darwin
/**
* llama.cpp - git c574bddb368424b5996cbee2ec45ec050967d404
* llama.cpp - git 8183159cf3def112f6d1fe94815fce70e1bffa12
*
* MIT License
*
......
//go:build darwin
/**
* llama.cpp - git c574bddb368424b5996cbee2ec45ec050967d404
* llama.cpp - git 8183159cf3def112f6d1fe94815fce70e1bffa12
*
* MIT License
*
......
//go:build mpi
/**
* llama.cpp - git c574bddb368424b5996cbee2ec45ec050967d404
* llama.cpp - git 8183159cf3def112f6d1fe94815fce70e1bffa12
*
* MIT License
*
......
//go:build mpi
/**
* llama.cpp - git c574bddb368424b5996cbee2ec45ec050967d404
* llama.cpp - git 8183159cf3def112f6d1fe94815fce70e1bffa12
*
* MIT License
*
......
//go:build opencl
/**
* llama.cpp - git c574bddb368424b5996cbee2ec45ec050967d404
* llama.cpp - git 8183159cf3def112f6d1fe94815fce70e1bffa12
*
* MIT License
*
......
//go:build opencl
/**
* llama.cpp - git c574bddb368424b5996cbee2ec45ec050967d404
* llama.cpp - git 8183159cf3def112f6d1fe94815fce70e1bffa12
*
* MIT License
*
......
/**
* llama.cpp - git c574bddb368424b5996cbee2ec45ec050967d404
* llama.cpp - git 8183159cf3def112f6d1fe94815fce70e1bffa12
*
* MIT License
*
......
/**
* llama.cpp - git c574bddb368424b5996cbee2ec45ec050967d404
* llama.cpp - git 8183159cf3def112f6d1fe94815fce70e1bffa12
*
* MIT License
*
......
/**
* llama.cpp - git c574bddb368424b5996cbee2ec45ec050967d404
* llama.cpp - git 8183159cf3def112f6d1fe94815fce70e1bffa12
*
* MIT License
*
......
/**
* llama.cpp - git c574bddb368424b5996cbee2ec45ec050967d404
* llama.cpp - git 8183159cf3def112f6d1fe94815fce70e1bffa12
*
* MIT License
*
......
/**
* llama.cpp - git c574bddb368424b5996cbee2ec45ec050967d404
* llama.cpp - git 8183159cf3def112f6d1fe94815fce70e1bffa12
*
* MIT License
*
......
/**
* llama.cpp - git c574bddb368424b5996cbee2ec45ec050967d404
* llama.cpp - git 8183159cf3def112f6d1fe94815fce70e1bffa12
*
* MIT License
*
......
......@@ -128,11 +128,6 @@ func New(model string, opts api.Options) (*LLM, error) {
C.llama_backend_init(C.bool(llm.UseNUMA))
// TODO: GQA == 8 suggests 70B model which doesn't support metal
if llm.NumGQA == 8 {
llm.NumGPU = 0
}
params := C.llama_context_default_params()
params.seed = C.uint(llm.Seed)
params.n_ctx = C.int(llm.NumCtx)
......
/**
* llama.cpp - git c574bddb368424b5996cbee2ec45ec050967d404
* llama.cpp - git 8183159cf3def112f6d1fe94815fce70e1bffa12
*
* MIT License
*
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment