Spaces:
Running
Running
Maxim Evtush
commited on
Commit
·
5c6d350
1
Parent(s):
762f497
fix: typos in documentation files (llama/11791)
Browse files* Update ggml.c
* Update arg.cpp
* Update speculative.h
- ggml/src/ggml.c +1 -1
ggml/src/ggml.c
CHANGED
|
@@ -1379,7 +1379,7 @@ bool ggml_are_same_stride(const struct ggml_tensor * t0, const struct ggml_tenso
|
|
| 1379 |
(t0->nb[3] == t1->nb[3]);
|
| 1380 |
}
|
| 1381 |
|
| 1382 |
-
// check if t1 can be represented as a
|
| 1383 |
bool ggml_can_repeat(const struct ggml_tensor * t0, const struct ggml_tensor * t1) {
|
| 1384 |
static_assert(GGML_MAX_DIMS == 4, "GGML_MAX_DIMS is not 4 - update this function");
|
| 1385 |
|
|
|
|
| 1379 |
(t0->nb[3] == t1->nb[3]);
|
| 1380 |
}
|
| 1381 |
|
| 1382 |
+
// check if t1 can be represented as a repetition of t0
|
| 1383 |
bool ggml_can_repeat(const struct ggml_tensor * t0, const struct ggml_tensor * t1) {
|
| 1384 |
static_assert(GGML_MAX_DIMS == 4, "GGML_MAX_DIMS is not 4 - update this function");
|
| 1385 |
|