mirror of
https://github.com/ollama/ollama.git
synced 2025-05-11 18:36:41 +02:00
comments
This commit is contained in:
parent
5e9db9fb0b
commit
df993fa37b
12 changed files with 63 additions and 61 deletions
|
@ -21,7 +21,7 @@ func TestEstimateGPULayers(t *testing.T) {
|
|||
defer f.Close()
|
||||
inputLayerCount := 5
|
||||
|
||||
tensors := []*Tensor{
|
||||
tensors := []Tensor{
|
||||
{Name: "blk.0.attn.weight", Kind: uint32(0), Offset: uint64(0), Shape: []uint64{1, 1, 1, 1}, WriterTo: bytes.NewReader(make([]byte, 32))},
|
||||
{Name: "blk.1.attn.weight", Kind: uint32(0), Offset: uint64(0), Shape: []uint64{1, 1, 1, 1}, WriterTo: bytes.NewReader(make([]byte, 32))},
|
||||
{Name: "blk.2.attn.weight", Kind: uint32(0), Offset: uint64(0), Shape: []uint64{1, 1, 1, 1}, WriterTo: bytes.NewReader(make([]byte, 32))},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue