🌐 AI搜索 & 代理 主页
Skip to content

Commit fde734b

Browse files
committed
Adapt to lastest changes
1 parent dd75498 commit fde734b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tae.hpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -414,7 +414,7 @@ class TAESD : public GGMLBlock {
414414
struct TinyAutoEncoder : public GGMLRunner {
415415
TinyAutoEncoder(ggml_backend_t backend, bool offload_params_to_cpu)
416416
: GGMLRunner(backend, offload_params_to_cpu) {}
417-
virtual void compute(const int n_threads,
417+
virtual bool compute(const int n_threads,
418418
struct ggml_tensor* z,
419419
bool decode_graph,
420420
struct ggml_tensor** output,
@@ -548,7 +548,7 @@ struct TinyVideoAutoEncoder : public TinyAutoEncoder {
548548
return gf;
549549
}
550550

551-
void compute(const int n_threads,
551+
bool compute(const int n_threads,
552552
struct ggml_tensor* z,
553553
bool decode_graph,
554554
struct ggml_tensor** output,
@@ -557,7 +557,7 @@ struct TinyVideoAutoEncoder : public TinyAutoEncoder {
557557
return build_graph(z, decode_graph);
558558
};
559559

560-
GGMLRunner::compute(get_graph, n_threads, false, output, output_ctx);
560+
return GGMLRunner::compute(get_graph, n_threads, false, output, output_ctx);
561561
}
562562
};
563563

0 commit comments

Comments
 (0)