Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
ollama
Commits
dffc8b6e
Commit
dffc8b6e
authored
Jul 28, 2023
by
Jeffrey Morgan
Browse files
update `llama.cpp` to `d91f3f0`
parent
08710837
Changes
17
Show whitespace changes
Inline
Side-by-side
Showing
17 changed files
with
18 additions
and
18 deletions
+18
-18
llama/ggml-cuda.cu
llama/ggml-cuda.cu
+1
-1
llama/ggml-cuda.h
llama/ggml-cuda.h
+1
-1
llama/ggml-metal.h
llama/ggml-metal.h
+1
-1
llama/ggml-metal.m
llama/ggml-metal.m
+1
-1
llama/ggml-metal.metal
llama/ggml-metal.metal
+1
-1
llama/ggml-mpi.c
llama/ggml-mpi.c
+1
-1
llama/ggml-mpi.h
llama/ggml-mpi.h
+1
-1
llama/ggml-opencl.cpp
llama/ggml-opencl.cpp
+1
-1
llama/ggml-opencl.h
llama/ggml-opencl.h
+1
-1
llama/ggml.c
llama/ggml.c
+1
-1
llama/ggml.h
llama/ggml.h
+1
-1
llama/k_quants.c
llama/k_quants.c
+1
-1
llama/k_quants.h
llama/k_quants.h
+1
-1
llama/llama-util.h
llama/llama-util.h
+1
-1
llama/llama.cpp
llama/llama.cpp
+3
-3
llama/llama.h
llama/llama.h
+1
-1
llama/update-llama-cpp.sh
llama/update-llama-cpp.sh
+0
-0
No files found.
llama/ggml-cuda.cu
View file @
dffc8b6e
/**
/**
* llama.cpp - git
7c529cede6e84054e77a3eceab31c53de7b2f55b
* llama.cpp - git
d91f3f0c55663719ea03b76311e8c36ed55eb0e2
*
*
* MIT License
* MIT License
*
*
...
...
llama/ggml-cuda.h
View file @
dffc8b6e
/**
/**
* llama.cpp - git
7c529cede6e84054e77a3eceab31c53de7b2f55b
* llama.cpp - git
d91f3f0c55663719ea03b76311e8c36ed55eb0e2
*
*
* MIT License
* MIT License
*
*
...
...
llama/ggml-metal.h
View file @
dffc8b6e
//go:build darwin
//go:build darwin
/**
/**
* llama.cpp - git
7c529cede6e84054e77a3eceab31c53de7b2f55b
* llama.cpp - git
d91f3f0c55663719ea03b76311e8c36ed55eb0e2
*
*
* MIT License
* MIT License
*
*
...
...
llama/ggml-metal.m
View file @
dffc8b6e
//go:build darwin
//go:build darwin
/**
/**
* llama.cpp - git
7c529cede6e84054e77a3eceab31c53de7b2f55b
* llama.cpp - git
d91f3f0c55663719ea03b76311e8c36ed55eb0e2
*
*
* MIT License
* MIT License
*
*
...
...
llama/ggml-metal.metal
View file @
dffc8b6e
//go:build darwin
//go:build darwin
/**
/**
* llama.cpp - git
7c529cede6e84054e77a3eceab31c53de7b2f55b
* llama.cpp - git
d91f3f0c55663719ea03b76311e8c36ed55eb0e2
*
*
* MIT License
* MIT License
*
*
...
...
llama/ggml-mpi.c
View file @
dffc8b6e
//go:build mpi
//go:build mpi
/**
/**
* llama.cpp - git
7c529cede6e84054e77a3eceab31c53de7b2f55b
* llama.cpp - git
d91f3f0c55663719ea03b76311e8c36ed55eb0e2
*
*
* MIT License
* MIT License
*
*
...
...
llama/ggml-mpi.h
View file @
dffc8b6e
//go:build mpi
//go:build mpi
/**
/**
* llama.cpp - git
7c529cede6e84054e77a3eceab31c53de7b2f55b
* llama.cpp - git
d91f3f0c55663719ea03b76311e8c36ed55eb0e2
*
*
* MIT License
* MIT License
*
*
...
...
llama/ggml-opencl.cpp
View file @
dffc8b6e
//go:build opencl
//go:build opencl
/**
/**
* llama.cpp - git
7c529cede6e84054e77a3eceab31c53de7b2f55b
* llama.cpp - git
d91f3f0c55663719ea03b76311e8c36ed55eb0e2
*
*
* MIT License
* MIT License
*
*
...
...
llama/ggml-opencl.h
View file @
dffc8b6e
//go:build opencl
//go:build opencl
/**
/**
* llama.cpp - git
7c529cede6e84054e77a3eceab31c53de7b2f55b
* llama.cpp - git
d91f3f0c55663719ea03b76311e8c36ed55eb0e2
*
*
* MIT License
* MIT License
*
*
...
...
llama/ggml.c
View file @
dffc8b6e
/**
/**
* llama.cpp - git
7c529cede6e84054e77a3eceab31c53de7b2f55b
* llama.cpp - git
d91f3f0c55663719ea03b76311e8c36ed55eb0e2
*
*
* MIT License
* MIT License
*
*
...
...
llama/ggml.h
View file @
dffc8b6e
/**
/**
* llama.cpp - git
7c529cede6e84054e77a3eceab31c53de7b2f55b
* llama.cpp - git
d91f3f0c55663719ea03b76311e8c36ed55eb0e2
*
*
* MIT License
* MIT License
*
*
...
...
llama/k_quants.c
View file @
dffc8b6e
/**
/**
* llama.cpp - git
7c529cede6e84054e77a3eceab31c53de7b2f55b
* llama.cpp - git
d91f3f0c55663719ea03b76311e8c36ed55eb0e2
*
*
* MIT License
* MIT License
*
*
...
...
llama/k_quants.h
View file @
dffc8b6e
/**
/**
* llama.cpp - git
7c529cede6e84054e77a3eceab31c53de7b2f55b
* llama.cpp - git
d91f3f0c55663719ea03b76311e8c36ed55eb0e2
*
*
* MIT License
* MIT License
*
*
...
...
llama/llama-util.h
View file @
dffc8b6e
/**
/**
* llama.cpp - git
7c529cede6e84054e77a3eceab31c53de7b2f55b
* llama.cpp - git
d91f3f0c55663719ea03b76311e8c36ed55eb0e2
*
*
* MIT License
* MIT License
*
*
...
...
llama/llama.cpp
View file @
dffc8b6e
/**
/**
* llama.cpp - git
7c529cede6e84054e77a3eceab31c53de7b2f55b
* llama.cpp - git
d91f3f0c55663719ea03b76311e8c36ed55eb0e2
*
*
* MIT License
* MIT License
*
*
...
@@ -3689,7 +3689,7 @@ size_t llama_copy_state_data(struct llama_context * ctx, uint8_t * dst) {
...
@@ -3689,7 +3689,7 @@ size_t llama_copy_state_data(struct llama_context * ctx, uint8_t * dst) {
const
auto
&
kv_self
=
ctx
->
kv_self
;
const
auto
&
kv_self
=
ctx
->
kv_self
;
const
auto
&
hparams
=
ctx
->
model
.
hparams
;
const
auto
&
hparams
=
ctx
->
model
.
hparams
;
const
int
n_layer
=
hparams
.
n_layer
;
const
int
n_layer
=
hparams
.
n_layer
;
const
int
n_embd
=
hparams
.
n_embd
;
const
int
n_embd
=
hparams
.
n_embd
_gqa
()
;
const
int
n_ctx
=
hparams
.
n_ctx
;
const
int
n_ctx
=
hparams
.
n_ctx
;
const
size_t
kv_size
=
kv_self
.
buf
.
size
;
const
size_t
kv_size
=
kv_self
.
buf
.
size
;
...
@@ -3792,7 +3792,7 @@ size_t llama_set_state_data(struct llama_context * ctx, uint8_t * src) {
...
@@ -3792,7 +3792,7 @@ size_t llama_set_state_data(struct llama_context * ctx, uint8_t * src) {
const
auto
&
kv_self
=
ctx
->
kv_self
;
const
auto
&
kv_self
=
ctx
->
kv_self
;
const
auto
&
hparams
=
ctx
->
model
.
hparams
;
const
auto
&
hparams
=
ctx
->
model
.
hparams
;
const
int
n_layer
=
hparams
.
n_layer
;
const
int
n_layer
=
hparams
.
n_layer
;
const
int
n_embd
=
hparams
.
n_embd
;
const
int
n_embd
=
hparams
.
n_embd
_gqa
()
;
const
int
n_ctx
=
hparams
.
n_ctx
;
const
int
n_ctx
=
hparams
.
n_ctx
;
size_t
kv_size
;
size_t
kv_size
;
...
...
llama/llama.h
View file @
dffc8b6e
/**
/**
* llama.cpp - git
7c529cede6e84054e77a3eceab31c53de7b2f55b
* llama.cpp - git
d91f3f0c55663719ea03b76311e8c36ed55eb0e2
*
*
* MIT License
* MIT License
*
*
...
...
llama/update-llama-cpp.sh
100644 → 100755
View file @
dffc8b6e
File mode changed from 100644 to 100755
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment