Skip to content
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

Allow direct payloads to be passed into GenAI-Perf #235

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dyastremsky
Copy link
Contributor

Allow direct payloads to be passed into GenAI-Perf as a JSONL file.

If we proceed with this feature, we'll need to update the parser descriptions and docs. We'll want to add unit testing and a CI test.

Example:

Server run command: docker run -it --net=host --gpus=all vllm/vllm-openai:latest --model gpt2 --dtype float16 --max-model-len 1024

Direct payload file (JSONL):

{"model": "gpt2", "prompt": ["Generate an example of a user profile."], "stream": false, "temperature": 0.0}

Example command: genai-perf profile -v -m gpt2 --service-kind openai --endpoint-type completions --input-file payload:direct_payload_example.jsonl

Output:
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant