Mixtral_8x7b running slow in my server

0

I tried to run Mixtral_8x7b on AWS SageMaker 192 GB GPU and the instance name is ml.g5.48.xlagre. but it's still running slow.

132 seconds for 200 tokens.

Enter image description here

you can see the code in the screenshot.

All the things are in place model is loaded in GPU also all the GPUs are showing that vRAM is used. But, when i start inferencing using the model only one GPU is used to process. GPU processors are not used except for the first GPU.

Enter image description here

I have tried the following:

  • torch_dtype= torch.bfloat16
  • low_cpu_mem_usage=True
Maunish
質問済み 3ヶ月前371ビュー
1回答
0

Hi,

Do you have Instance_type = "local_gpu" ? When you have "local", the model may default to CPU instead of GPU.

Best,

Didier

profile pictureAWS
エキスパート
回答済み 3ヶ月前
  • as I said earlier.

    All the things are in place model is loaded in GPU. also, all the GPUs are showing that vRAM is used. But, when I start inferencing using the model only one GPU is used to process. GPU processors are not used except for the first GPU. please refer to the 2nd image("GPU-Util") I have attached in question.

    Thanks Didier.

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ