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

[3p][python]add metering and error details to 3p outputs #2143

Merged
merged 1 commit into from
Jul 8, 2024

Conversation

siddvenk
Copy link
Contributor

@siddvenk siddvenk commented Jul 3, 2024

Description

3p Changes:

  1. Fix the output formatters to respond with the correct expected payload schema
  2. Add metering and error details to the output schema for 3p use-case
  3. force do_sample to be true when temperature > 0

General Change:

  1. Add exception details to the Token that is set when rolling batch inference occurs. This makes it possible for output formatters to further provide specific error details in the response rather than just saying "error". This is currently only used by the 3p output formatters.

@siddvenk siddvenk requested review from zachgk, frankfliu and a team as code owners July 3, 2024 22:20
@lanking520 lanking520 merged commit 04445f8 into deepjavalibrary:master Jul 8, 2024
9 checks passed
@siddvenk siddvenk deleted the 3p-handler branch August 5, 2024 23:49
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.

3 participants