Skip to content

Commit

Permalink
fix: Do not hardcode different ports
Browse files Browse the repository at this point in the history
  • Loading branch information
saattrupdan committed May 22, 2024
1 parent 38cb047 commit 2c3ff56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ def generator_with_few_max_tokens(
"""Initialise a configuration for testing."""
params = deepcopy(vllm_generator_params)
params["max_tokens"] = 1
params["port"] = 9998
params["port"] = params["port"] - 1
config = DictConfig(dict(random_seed=703, generator=params))
yield VllmGenerator(config=config)

Expand Down

0 comments on commit 2c3ff56

Please sign in to comment.