sync: update ggml submodule url
This commit is contained in:
parent
4a6e36edc5
commit
3d854f7917
2
.gitmodules
vendored
2
.gitmodules
vendored
@ -1,3 +1,3 @@
|
|||||||
[submodule "ggml"]
|
[submodule "ggml"]
|
||||||
path = ggml
|
path = ggml
|
||||||
url = https://github.com/leejet/ggml.git
|
url = https://github.com/ggerganov/ggml.git
|
||||||
|
2
ggml
2
ggml
@ -1 +1 @@
|
|||||||
Subproject commit 89fd77041d5eb2087eb340711468a02cc479634d
|
Subproject commit 73c3287813f8977d778d3eb5006660b5ae04f288
|
2
t5.hpp
2
t5.hpp
@ -453,7 +453,7 @@ public:
|
|||||||
|
|
||||||
struct ggml_tensor* forward(struct ggml_context* ctx, struct ggml_tensor* x) {
|
struct ggml_tensor* forward(struct ggml_context* ctx, struct ggml_tensor* x) {
|
||||||
struct ggml_tensor* w = params["weight"];
|
struct ggml_tensor* w = params["weight"];
|
||||||
x = ggml_norm_ext(ctx, x, eps, false);
|
x = ggml_rms_norm(ctx, x, eps);
|
||||||
x = ggml_mul(ctx, x, w);
|
x = ggml_mul(ctx, x, w);
|
||||||
return x;
|
return x;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user