Skip to content

Commit

Permalink
Merge 3784d25 into 65f6005
Browse files Browse the repository at this point in the history
  • Loading branch information
park12sj authored Aug 30, 2023
2 parents 65f6005 + 3784d25 commit 2a6a963
Show file tree
Hide file tree
Showing 12 changed files with 18 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def initialize(self, ctx):
is initialized here.
Args:
ctx (context): It is a JSON Object containing information
pertaining to the model artefacts parameters.
pertaining to the model artifacts parameters.
"""
self.manifest = ctx.manifest
properties = ctx.system_properties
Expand Down
5 changes: 3 additions & 2 deletions examples/captum/Captum_visualization_for_bert.ipynb

Large diffs are not rendered by default.

7 changes: 4 additions & 3 deletions examples/captum/Captum_visualization_for_mnist.ipynb

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion examples/diffusers/stable_diffusion_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def initialize(self, ctx):
initialized here.
Args:
ctx (context): It is a JSON Object containing information
pertaining to the model artefacts parameters.
pertaining to the model artifacts parameters.
"""
self.manifest = ctx.manifest
properties = ctx.system_properties
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def initialize(self, ctx):
is initialized here.
Args:
ctx (context): It is a JSON Object containing information
pertaining to the model artefacts parameters.
pertaining to the model artifacts parameters.
"""
self.manifest = ctx.manifest
properties = ctx.system_properties
Expand Down
2 changes: 1 addition & 1 deletion examples/large_models/Huggingface_pippy/pippy_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def initialize(self, ctx):
partitioned into multiple stages each on one device using PiPPy.
Args:
ctx (context): It is a JSON Object containing information
pertaining to the model artefacts parameters.
pertaining to the model artifacts parameters.
"""
super().initialize(ctx)
self.manifest = ctx.manifest
Expand Down
2 changes: 1 addition & 1 deletion examples/large_models/deepspeed/custom_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def initialize(self, ctx: Context):
partitioned using DeepSpeed.
Args:
ctx (context): It is a JSON Object containing information
pertaining to the model artefacts parameters.
pertaining to the model artifacts parameters.
"""
super().initialize(ctx)
model_dir = ctx.system_properties.get("model_dir")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def initialize(self, ctx):
initialized here.
Args:
ctx (context): It is a JSON Object containing information
pertaining to the model artefacts parameters.
pertaining to the model artifacts parameters.
"""
self.manifest = ctx.manifest
properties = ctx.system_properties
Expand Down
2 changes: 1 addition & 1 deletion examples/large_models/inferentia2/inf2_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def initialize(self, ctx):
partitioned into multiple stages each on one device using PiPPy.
Args:
ctx (context): It is a JSON Object containing information
pertaining to the model artefacts parameters.
pertaining to the model artifacts parameters.
"""

self.manifest = ctx.manifest
Expand Down
2 changes: 1 addition & 1 deletion kubernetes/kserve/kserve_wrapper/TSModelRepository.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def __init__(
Args:
inference_address (str): The Inference Address present in the kserve side.
management_address (str): The Management Address present in the kserve side.
model_dir (str): the directory of the model artefacts in the kserve side.
model_dir (str): the directory of the model artifacts in the kserve side.
"""
super().__init__(model_dir)
logging.info("TSModelRepo is initialized")
Expand Down
2 changes: 1 addition & 1 deletion ts/handler_utils/micro_batching.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ def __call__(self, data, context):
Args:
data (list): The input data that needs to be made a prediction request on.
context (Context): It is a JSON Object containing information pertaining to
the model artefacts parameters.
the model artifacts parameters.
Returns:
list : Returns a list of dictionary with the predicted response.
Expand Down
4 changes: 2 additions & 2 deletions ts/torch_handler/base_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ def _load_pickled_model(self, model_dir, model_file, model_pt_path):
Loads the pickle file from the given model path.
Args:
model_dir (str): Points to the location of the model artefacts.
model_dir (str): Points to the location of the model artifacts.
model_file (.py): the file which contains the model class.
model_pt_path (str): points to the location of the model pickle file.
Expand Down Expand Up @@ -323,7 +323,7 @@ def handle(self, data, context):
Args:
data (list): The input data that needs to be made a prediction request on.
context (Context): It is a JSON Object containing information pertaining to
the model artefacts parameters.
the model artifacts parameters.
Returns:
list : Returns a list of dictionary with the predicted response.
Expand Down

0 comments on commit 2a6a963

Please sign in to comment.