Skip to content

Event loop is closed error. #147

@phalani-paladugu

Description

@phalani-paladugu

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?

Metadata

Metadata

Assignees

Labels

Type

Projects

Status

In progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions