Skip to content

Commit

Permalink
Sync with whisper.cpp 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Nov 24, 2023
1 parent 80d84c7 commit ac3558c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/whisper/examples/server/server.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,7 @@ void get_req_parameters(const Request & req, whisper_params & params)
{
params.response_format = req.get_file_value("response-format").content;
}
if (req.has_file("temerature"))
if (req.has_file("temperature"))
{
params.userdef_temp = std::stof(req.get_file_value("temperature").content);
}
Expand Down Expand Up @@ -429,7 +429,7 @@ int main(int argc, char ** argv) {
});

svr.Post("/inference", [&](const Request &req, Response &res){
// aquire whisper model mutex lock
// acquire whisper model mutex lock
whisper_mutex.lock();

// first check user requested fields of the request
Expand Down
2 changes: 1 addition & 1 deletion src/whisper/ggml-metal.m
Original file line number Diff line number Diff line change
Expand Up @@ -1072,7 +1072,7 @@ void ggml_metal_graph_compute(
GGML_ASSERT(ne00 == ne10);
GGML_ASSERT(ne03 == ne13);

const uint gqa = ne12/ne02;
const unsigned int gqa = ne12/ne02;

// find the break-even point where the matrix-matrix kernel becomes more efficient compared
// to the matrix-vector kernel
Expand Down

0 comments on commit ac3558c

Please sign in to comment.