Skip to content

Commit

Permalink
sync: update ggml submodule url
Browse files Browse the repository at this point in the history
  • Loading branch information
leejet committed Aug 3, 2024
1 parent 4a6e36e commit 3d854f7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .gitmodules
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[submodule "ggml"]
path = ggml
url = https://github.com/leejet/ggml.git
url = https://github.com/ggerganov/ggml.git
2 changes: 1 addition & 1 deletion ggml
2 changes: 1 addition & 1 deletion t5.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -453,7 +453,7 @@ class T5LayerNorm : public UnaryBlock {

struct ggml_tensor* forward(struct ggml_context* ctx, struct ggml_tensor* x) {
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);
return x;
}
Expand Down

0 comments on commit 3d854f7

Please sign in to comment.