Skip to content

Commit 8e7fbf8

Browse files
committed
upscaler: use fp16 again
1 parent 170663f commit 8e7fbf8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

upscaler.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ struct UpscalerGGML {
3636
if (!model_loader.init_from_file(esrgan_path)) {
3737
LOG_ERROR("init model loader from file failed: '%s'", esrgan_path.c_str());
3838
}
39+
model_loader.set_wtype_override(model_data_type);
3940
if (!backend) {
4041
LOG_DEBUG("Using CPU backend");
4142
backend = ggml_backend_cpu_init();

0 commit comments

Comments
 (0)