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

Support input payload generation for tensorrtllm engine #767

Merged
merged 1 commit into from
Jul 26, 2024

Conversation

nv-hwoo
Copy link
Contributor

@nv-hwoo nv-hwoo commented Jul 25, 2024

Generates input json file for PA to directly send requests to tensorrtllm engine:

{
   "data":[
      {
         "input_ids":{
            "content":[
               1243,
               1881,
               697
            ],
            "shape":[
               3
            ]
         },
         "input_lengths":[
            3
         ],
         "request_output_len":[
            256
         ]
      },
      ...
}

Copy link
Contributor

@dyastremsky dyastremsky left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great work!

@nv-hwoo nv-hwoo force-pushed the hwoo-tensorrtllm-input branch from be921b6 to a6db17a Compare July 26, 2024 16:31
@nv-hwoo nv-hwoo merged commit 7dc7b3b into tensorrtllm-engine Jul 26, 2024
5 checks passed
@nv-hwoo nv-hwoo deleted the hwoo-tensorrtllm-input branch July 26, 2024 16:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants