Skip to content

[Bug]: TP with external_launcher is not working with vLLM version 0.8.0 and above #15895

Closed
@toslali-ibm

Description

@toslali-ibm

Your current environment

The output of `examples/offline_inference/torchrun_example.py`
Processed prompts: 100%|██████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 4/4 [00:00<00:00, 59.10it/s, est. speed input: 384.52 toks/s, output: 946.41 toks/s]
Prompt: 'Hello, my name is', Generated text: ' Vicky and I am living in the Philippines and I am a mother of 2'
Prompt: 'The president of the United States is', Generated text: " pressuring, so I wouldn't worry too much.\nThe president of the United"
Prompt: 'The capital of France is', Generated text: ' destroying itself.\n French people could care less about its name than about the future'
Prompt: 'The future of AI is', Generated text: " far from bright.  It's going to go much, much faster than us"
Processed prompts: 100%|██████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 4/4 [00:00<00:00, 51.83it/s, est. speed input: 337.24 toks/s, output: 830.03 toks/s]
Prompt: 'Hello, my name is', Generated text: " Magicky, I'm an in Germany city. have am about big, three"
Prompt: 'The president of the United States is', Generated text: " calling, but it'm't be too much about\nIs President of the United"
Prompt: 'The capital of France is', Generated text: ' notorious itself.  battles Prime are have less about it great, the a French'
Prompt: 'The future of AI is', Generated text: ' in from clear, Scientists If is already to be down more much faster than we'

🐛 Describe the bug

When I run the script with torchrun --nproc-per-node=2 torchrun_example.py, ranks have different output (vlllm == 0.8.0 and onward). Whn I try it with 0.7.3, it works.

Before submitting a new issue...

  • Make sure you already searched for relevant issues, and asked the chatbot living at the bottom right corner of the documentation page, which can answer lots of frequently asked questions.

CC @youkaichao

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions