Skip to content

Commit

Permalink
Specify gpu num in 30b yaml (#404)
Browse files Browse the repository at this point in the history
* fix

* bump image
  • Loading branch information
margaretqian authored Jun 30, 2023
1 parent da0be56 commit 1b747d4
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
5 changes: 4 additions & 1 deletion examples/inference-deployments/mpt/mpt_30b_ft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: mpt-30b-ft
compute:
gpus: 2
gpu_type: a100_40gb
image: mosaicml/inference:0.1.1
image: mosaicml/inference:0.1.4
replicas: 1
command: |
export PYTHONPATH=/code/llm-foundry:/code/examples:/code
Expand All @@ -20,7 +20,10 @@ model:
downloader: examples.inference-deployments.mpt.mpt_ft_handler.download_convert
download_parameters:
hf_path: mosaicml/mpt-30b
gpus: 2
force_conversion: true
model_handler: examples.inference-deployments.mpt.mpt_ft_handler.MPTFTModelHandler
model_parameters:
model_name_or_path: mosaicml/mpt-30b
ft_lib_path: /code/FasterTransformer/build/lib/libth_transformer.so
gpus: 2
5 changes: 4 additions & 1 deletion examples/inference-deployments/mpt/mpt_30b_instruct_ft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: mpt-30b-instruct-ft
compute:
gpus: 2
gpu_type: a100_40gb
image: mosaicml/inference:0.1.1
image: mosaicml/inference:0.1.4
replicas: 1
command: |
export PYTHONPATH=/code/llm-foundry:/code/examples:/code
Expand All @@ -20,7 +20,10 @@ model:
downloader: examples.inference-deployments.mpt.mpt_ft_handler.download_convert
download_parameters:
hf_path: mosaicml/mpt-30b-instruct
gpus: 2
force_conversion: true
model_handler: examples.inference-deployments.mpt.mpt_ft_handler.MPTFTModelHandler
model_parameters:
model_name_or_path: mosaicml/mpt-30b-instruct
ft_lib_path: /code/FasterTransformer/build/lib/libth_transformer.so
gpus: 2

0 comments on commit 1b747d4

Please sign in to comment.