Skip to content

Commit a599fa0

Browse files
authored
fix typo : Artifact terminology unification (#2551)
1 parent 65f6005 commit a599fa0

File tree

12 files changed

+18
-16
lines changed

12 files changed

+18
-16
lines changed

examples/Huggingface_Transformers/Transformer_handler_generalized.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ def initialize(self, ctx):
3737
is initialized here.
3838
Args:
3939
ctx (context): It is a JSON Object containing information
40-
pertaining to the model artefacts parameters.
40+
pertaining to the model artifacts parameters.
4141
"""
4242
self.manifest = ctx.manifest
4343
properties = ctx.system_properties

examples/captum/Captum_visualization_for_bert.ipynb

+3-2
Large diffs are not rendered by default.

examples/captum/Captum_visualization_for_mnist.ipynb

+4-3
Large diffs are not rendered by default.

examples/diffusers/stable_diffusion_handler.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ def initialize(self, ctx):
2626
initialized here.
2727
Args:
2828
ctx (context): It is a JSON Object containing information
29-
pertaining to the model artefacts parameters.
29+
pertaining to the model artifacts parameters.
3030
"""
3131
self.manifest = ctx.manifest
3232
properties = ctx.system_properties

examples/large_models/Huggingface_accelerate/custom_handler.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ def initialize(self, ctx):
3636
is initialized here.
3737
Args:
3838
ctx (context): It is a JSON Object containing information
39-
pertaining to the model artefacts parameters.
39+
pertaining to the model artifacts parameters.
4040
"""
4141
self.manifest = ctx.manifest
4242
properties = ctx.system_properties

examples/large_models/Huggingface_pippy/pippy_handler.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ def initialize(self, ctx):
3535
partitioned into multiple stages each on one device using PiPPy.
3636
Args:
3737
ctx (context): It is a JSON Object containing information
38-
pertaining to the model artefacts parameters.
38+
pertaining to the model artifacts parameters.
3939
"""
4040
super().initialize(ctx)
4141
self.manifest = ctx.manifest

examples/large_models/deepspeed/custom_handler.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ def initialize(self, ctx: Context):
3030
partitioned using DeepSpeed.
3131
Args:
3232
ctx (context): It is a JSON Object containing information
33-
pertaining to the model artefacts parameters.
33+
pertaining to the model artifacts parameters.
3434
"""
3535
super().initialize(ctx)
3636
model_dir = ctx.system_properties.get("model_dir")

examples/large_models/deepspeed_mii/DeepSpeed_mii_handler.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ def initialize(self, ctx):
2727
initialized here.
2828
Args:
2929
ctx (context): It is a JSON Object containing information
30-
pertaining to the model artefacts parameters.
30+
pertaining to the model artifacts parameters.
3131
"""
3232
self.manifest = ctx.manifest
3333
properties = ctx.system_properties

examples/large_models/inferentia2/inf2_handler.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ def initialize(self, ctx):
2828
partitioned into multiple stages each on one device using PiPPy.
2929
Args:
3030
ctx (context): It is a JSON Object containing information
31-
pertaining to the model artefacts parameters.
31+
pertaining to the model artifacts parameters.
3232
"""
3333

3434
self.manifest = ctx.manifest

kubernetes/kserve/kserve_wrapper/TSModelRepository.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ def __init__(
2626
Args:
2727
inference_address (str): The Inference Address present in the kserve side.
2828
management_address (str): The Management Address present in the kserve side.
29-
model_dir (str): the directory of the model artefacts in the kserve side.
29+
model_dir (str): the directory of the model artifacts in the kserve side.
3030
"""
3131
super().__init__(model_dir)
3232
logging.info("TSModelRepo is initialized")

ts/handler_utils/micro_batching.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ def __call__(self, data, context):
139139
Args:
140140
data (list): The input data that needs to be made a prediction request on.
141141
context (Context): It is a JSON Object containing information pertaining to
142-
the model artefacts parameters.
142+
the model artifacts parameters.
143143
144144
Returns:
145145
list : Returns a list of dictionary with the predicted response.

ts/torch_handler/base_handler.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ def _load_pickled_model(self, model_dir, model_file, model_pt_path):
233233
Loads the pickle file from the given model path.
234234
235235
Args:
236-
model_dir (str): Points to the location of the model artefacts.
236+
model_dir (str): Points to the location of the model artifacts.
237237
model_file (.py): the file which contains the model class.
238238
model_pt_path (str): points to the location of the model pickle file.
239239
@@ -323,7 +323,7 @@ def handle(self, data, context):
323323
Args:
324324
data (list): The input data that needs to be made a prediction request on.
325325
context (Context): It is a JSON Object containing information pertaining to
326-
the model artefacts parameters.
326+
the model artifacts parameters.
327327
328328
Returns:
329329
list : Returns a list of dictionary with the predicted response.

0 commit comments

Comments
 (0)