Skip to content

Commit

Permalink
transpose and run cont
Browse files Browse the repository at this point in the history
  • Loading branch information
Lorenzo Toniazzi committed Jul 6, 2024
1 parent 8f0272c commit 798cde7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
5 changes: 4 additions & 1 deletion _BRANCH_SETUP.md
Original file line number Diff line number Diff line change
Expand Up @@ -342,4 +342,7 @@ int main() {
-n 128
```
make clean && make -j 8 LLAMA_DEBUG=1
build for debug:
```bash
make clean && make -j 8 LLAMA_DEBUG=1
```
4 changes: 2 additions & 2 deletions llama.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9731,9 +9731,9 @@ struct llm_build_context {
ggml_tensor * loraB = it->second.loraB;

ggml_tensor * t_lora = ggml_mul_mat(ctx0,
loraA,
loraB,
ggml_mul_mat(ctx0,
ggml_transpose(ctx0, loraB),
ggml_cont(ctx0, ggml_transpose(ctx0, loraA)),
cur
)
);
Expand Down

0 comments on commit 798cde7

Please sign in to comment.