Skip to content

Commit 28d1c45

Browse files
Update examples/llava/clip.cpp
Used fprintf instead of output streams. Co-authored-by: Clint Herron <[email protected]>
1 parent aa9e721 commit 28d1c45

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/llava/clip.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1283,7 +1283,7 @@ struct clip_ctx * clip_model_load(const char * fname, const int verbosity = 1) {
12831283
throw std::invalid_argument("Invalid hyperparameter values");
12841284
}
12851285
} catch (const std::exception& e) {
1286-
std::cerr << "Error while loading hyperparameters: " << e.what() << std::endl;
1286+
fprintf(stderr, "Error while loading hyperparameters: %s\n", e.what());
12871287
return false;
12881288
}
12891289
try {

0 commit comments

Comments
 (0)