File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
python_coreml_stable_diffusion Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -231,7 +231,7 @@ def _make_second_chunk_prog(prog, op_idx):
231231 return prog
232232
233233
234- def _legancy_model_chunking (args ):
234+ def _legacy_model_chunking (args ):
235235 # TODO: Remove this method after setting the coremltools dependency >= 8.0
236236 os .makedirs (args .o , exist_ok = True )
237237
@@ -344,13 +344,13 @@ def main(args):
344344
345345 if ct_version != "8.0b2" and ct_version < "8.0" :
346346 # With coremltools version <= 8.0b1,
347- # we use the lagancy implementation.
347+ # we use the legacy implementation.
348348 # TODO: Remove the logic after setting the coremltools dependency >= 8.0.
349349 logger .info (
350350 f"coremltools version { ct_version } detected. Recommended upgrading the package version to "
351351 f"'8.0b2' when you running chunk_mlprogram.py script for the latest supports and bug fixes."
352352 )
353- _legancy_model_chunking (args )
353+ _legacy_model_chunking (args )
354354 else :
355355 # Starting from coremltools==8.0b2, there is this `bisect_model` API that
356356 # we can directly call into.
You can’t perform that action at this time.
0 commit comments