AI-Hypercomputer / AI-Hypercomputer/tpu-recipes

Parallelism setups might not correct in OPT-OSS 120B vLLM inference recipes

Ouverte
#161 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
Shell
Étoiles
126
Forks
81
Merge moyen
1 j 15 h
PR mergées (30 j)
3

Description

When I ran the benchmark following these recipes:
- https://github.com/AI-Hypercomputer/tpu-recipes/blob/main/inference/ironwood/vLLM/GPT-OSS/README.md
- https://github.com/AI-Hypercomputer/tpu-recipes/blob/main/inference/ironwood/vLLM/GPT-OSS/README-gcs.md

I found that only one model copy was downloaded to the node from GCS, even though tp=2 was set.

Upon further inspection of the logs, I noticed that data_parallelism switches from [4](https://cloudlogging.app.goo.gl/ZH9WzYWzvPhv1weZ7) to [1](https://cloudlogging.app.goo.gl/wyq1UhchSzi6MiWN9) in the vLLM engine.

I would like to understand this behavior better. Specifically, based on the current configurations, how many model copies should reside on a single node, and how many copies are actually downloaded from GCS? Does the workload download the model multiple times, or is it downloaded once and then shared across the chips?

cc @karan

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.