Skip to content

Commit

Permalink
[FIX] Integer Division by zero on Windows build
Browse files Browse the repository at this point in the history
  • Loading branch information
flaviopontes authored and Yavor Ivanov committed Sep 6, 2023
1 parent 7e36353 commit 39aa3eb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sam.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1953,6 +1953,7 @@ struct ggml_cgraph * sam_build_fast_graph(
}

std::shared_ptr<sam_state> sam_load_model(const sam_params & params) {
ggml_time_init();
const int64_t t_start_ms = ggml_time_ms();

sam_state state;
Expand Down

0 comments on commit 39aa3eb

Please sign in to comment.