Skip to content

Commit

Permalink
Fix parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
gshtras committed Mar 21, 2024
1 parent 97e1978 commit ed96036
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion benchmarks/benchmark_throughput.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
from transformers import (AutoModelForCausalLM, AutoTokenizer,
PreTrainedTokenizerBase)
from tqdm import tqdm
from torch.distributed import launch


def sample_requests(
Expand Down Expand Up @@ -93,7 +94,7 @@ def run_vllm(
scales_path=scales_path,
device=device,
enable_prefix_caching=enable_prefix_caching,
worker_use_torchrun=args.worker_use_torchrun,)
worker_use_torchrun=worker_use_torchrun,)

# Add the requests to the engine.
for prompt, _, output_len in requests:
Expand Down

0 comments on commit ed96036

Please sign in to comment.