Skip to content

Event loop is closed error. #147

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
phalani-paladugu opened this issue May 5, 2025 · 1 comment
Open

Event loop is closed error. #147

phalani-paladugu opened this issue May 5, 2025 · 1 comment
Assignees
Labels
bug Something isn't working priority-high

Comments

@phalani-paladugu
Copy link

I’m encountering the following error for some requests when running the GuideLLM benchmark command using version v0.2.1 with Python 3.12.9.

The command I’m using is:

guidellm benchmark \
  --target "<valid target>" \
  --model "<model>" \
  --rate-type constant \
  --rate 0.31 \
  --data "prompt_tokens=4096,output_tokens=4096" \
  --processor "<valid tokenizer>" \
  --max-seconds 300 \
  --max-requests 100 \
  --output-path test.csv

And the error I’m seeing intermittently is:

text_completions | ERROR - OpenAIHTTPBackend request with headers: {'Content-Type': 'application/json', 'Authorization': 'Bearer <valid token>'} and payload: {'prompt': '; <valid prompt>', 'model': '<valide model>', 'stream': True, 'stream_options': {'include_usage': True}, 'max_tokens': 128, 'max_completion_tokens': 128, 'stop': None, 'ignore_eos': True} failed: Event loop is closed

Has anyone else encountered this issue? If so, was there a resolution or workaround that worked for you?

@brianlkurtz
Copy link

I saw the same error with the configuration below on multiple endpoints, on being a L40s with vllm 0.8.2 that has been reliable for us, so I suspect its on the testing side.
guidellm benchmark
--target ""
--model ""
--processor""
--rate-type sweep
--max-seconds 30
--max-requests 128
--data "prompt_tokens=512,output_tokens=512"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working priority-high
Projects
Status: No status
Development

No branches or pull requests

4 participants