perf: parallelize host tensor elementwise and broadcast ops (#1998)

This commit is contained in:
leejet authored and GitHub committed 2026-09-19 21:46:16 +08:00
1 parent 275ab58e01
commit 17860c0e45
10 files changed
+361 -95

No files matched your search

+1
View File
@@ -17,6 +17,7 @@ struct UpscalerGGML {
std::shared_ptr<ESRGAN> esrgan_upscaler;
std::string esrgan_path;
int n_threads;
sd::ParallelExecutor tensor_executor;
bool direct = false;
int tile_size = 128;
size_t max_graph_vram_bytes = 0;