feat: stream model conversion (#1581)

This commit is contained in:
Shikaku2 authored and GitHub committed 2026-07-05 17:46:07 +08:00
1 parent e9dee542c4
commit da6db07c5c
12 files changed
+676 -82

No files matched your search

+2 -1
View File
@@ -521,7 +521,8 @@ SD_API bool convert_with_components(const char* model_path,
const char* output_path,
enum sd_type_t output_type,
const char* tensor_type_rules,
bool convert_name);
bool convert_name,
int n_threads);
SD_API bool preprocess_canny(sd_image_t image,
float high_threshold,