mirror of
https://github.com/leejet/stable-diffusion.cpp.git
synced 2026-05-08 08:18:51 +00:00
fix ubuntu build
This commit is contained in:
parent
d51f35bf63
commit
2ca782a65a
@ -930,7 +930,6 @@ namespace LTXV {
|
|||||||
t = ggml_repeat(ctx->ggml_ctx, t, e);
|
t = ggml_repeat(ctx->ggml_ctx, t, e);
|
||||||
s = ggml_repeat(ctx->ggml_ctx, s, e);
|
s = ggml_repeat(ctx->ggml_ctx, s, e);
|
||||||
auto out = ggml_add(ctx->ggml_ctx, s, t);
|
auto out = ggml_add(ctx->ggml_ctx, s, t);
|
||||||
GGML_ASSERT(coeff <= INT_MAX);
|
|
||||||
auto chunks = ggml_ext_chunk(ctx->ggml_ctx, out, static_cast<int>(coeff), 1);
|
auto chunks = ggml_ext_chunk(ctx->ggml_ctx, out, static_cast<int>(coeff), 1);
|
||||||
return std::vector<ggml_tensor*>(chunks.begin() + start, chunks.begin() + start + count);
|
return std::vector<ggml_tensor*>(chunks.begin() + start, chunks.begin() + start + count);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user