Skip to content

Commit

Permalink
Typo Fix
Browse files Browse the repository at this point in the history
Signed-off-by: Shrinath Suresh <shrinath@ideas2it.com>
  • Loading branch information
shrinath-suresh committed Sep 13, 2023
1 parent 7174cde commit 6dc025b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions cpp/src/examples/babyllama/baby_llama_handler.hh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#ifndef LLM_HANDLER_HH_
#define LLM_HANDLER_HH_
#ifndef BABYLLAMA_HANDLER_HH_
#define BABYLLAMA_HANDLER_HH_

#include <folly/FileUtil.h>
#include <folly/json.h>
Expand Down Expand Up @@ -45,4 +45,4 @@ class BabyLlamaHandler : public torchserve::torchscripted::BaseHandler {
override;
};
} // namespace llm
#endif // LLM_HANDLER_HH_
#endif // BABYLLAMA_HANDLER_HH_
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ TEST_F(TorchScriptedBackendTest, TestLoadPredictMnistHandler) {
"mnist_ts", 200);
}

TEST_F(TorchScriptedBackendTest, TestLoadPredictLlmHandler) {
TEST_F(TorchScriptedBackendTest, TestLoadPredictBabyLlamaHandler) {
this->LoadPredict(
std::make_shared<torchserve::LoadModelRequest>(
"test/resources/torchscript_model/babyllama/babyllama_handler", "llm",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"createdOn": "28/07/2020 06:32:08",
"runtime": "LSP",
"model": {
"modelName": "llm",
"modelName": "babyllama",
"serializedFile": "dummy.pt",
"handler": "libbabyllama_handler:BabyLlamaHandler",
"modelVersion": "2.0"
Expand Down

0 comments on commit 6dc025b

Please sign in to comment.