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

[CI] fix bugs #2111

Merged
merged 1 commit into from
Jun 26, 2024
Merged

[CI] fix bugs #2111

merged 1 commit into from
Jun 26, 2024

Conversation

lanking520
Copy link
Contributor

Description

Fix some error conditions and telemetry tracking

@lanking520 lanking520 requested review from zachgk, frankfliu and a team as code owners June 26, 2024 16:44
@lanking520 lanking520 merged commit c578e6f into deepjavalibrary:master Jun 26, 2024
9 checks passed
f"Ignoring logging speculative decoding metrics")
) and self.lmi_dist_config.speculative_draft_model and request_output.finished:
try:
if self.supports_speculative_decoding and completion_output.acceptance_history:
Copy link
Contributor

Choose a reason for hiding this comment

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

I was going to change this part to

Suggested change
if self.supports_speculative_decoding and completion_output.acceptance_history:
if self.supports_speculative_decoding and hasattr(completion_output, 'acceptance_history'):

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