Skip to content

Commit

Permalink
[Partiton] Don't output option.parallel_loading when partitioning (d…
Browse files Browse the repository at this point in the history
…eepjavalibrary#2189)

(cherry picked from commit 587fa22)
  • Loading branch information
a-ys authored and tosterberg committed Jul 18, 2024
1 parent bfc213f commit 9d919a5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion serving/docker/partition/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,10 @@ def get_partition_cmd(is_mpi_mode, properties):

def get_engine_configs(properties):
engine = properties.get('engine')
configs = {'option.parallel_loading': True}
configs = {}
if engine == 'DeepSpeed':
configs['option.checkpoint'] = 'ds_inference_config.json'
configs['option.parallel_loading'] = True

return configs

Expand Down

0 comments on commit 9d919a5

Please sign in to comment.