Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@jgreer013
Copy link
Contributor

@jgreer013 jgreer013 commented Jul 2, 2025

Description

Conversations were not being saved in the core public infer() method, resulting in some scenarios where only some of the conversations were being written in the case where inference was stopped and restarted, rather than ALL conversations.

Related issues

Towards OPE-1307

Before submitting

  • This PR only changes documentation. (You can ignore the following checks in that case)
  • Did you read the contributor guideline Pull Request guidelines?
  • Did you link the issue(s) related to this PR in the section above?
  • Did you add / update tests where needed?

Reviewers

At least one review from a member of oumi-ai/oumi-staff is required.

@jgreer013 jgreer013 requested a review from taenin July 2, 2025 17:51
Copy link
Collaborator

@taenin taenin left a comment

Choose a reason for hiding this comment

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

Do you need to add / update any tests for the non-remote engines?

@jgreer013
Copy link
Contributor Author

Do you need to add / update any tests for the non-remote engines?

The core issue was with the restart logic which is only held within the base_inference_engine, the new test changes should properly validate that final output files are written and contain all examples, not just those we ran inference on in the latest try.

@jgreer013 jgreer013 merged commit 3e0f3f7 into main Jul 2, 2025
5 checks passed
@jgreer013 jgreer013 deleted the jgreer013/inference-write-bug branch July 2, 2025 21:44
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