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

[eval] increase timeout for SWEBench eval init/complete #3829

Merged
merged 7 commits into from
Sep 12, 2024

Conversation

xingyaoww
Copy link
Contributor

@xingyaoww xingyaoww commented Sep 11, 2024

Short description of the problem this fixes or functionality that this introduces. This may be used for the CHANGELOG

Sometimes it takes a little while to run git reset --hard than the default timeout. Without a longer timeout, the runtime would return too early and causing assert exit_code == 0 to fail.

Could fix #3834


Give a summary of what the PR does, explaining any non-trivial design decisions


Link of any specific issues this addresses

Copy link
Contributor

@neubig neubig left a comment

Choose a reason for hiding this comment

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

Good idea!

@enyst
Copy link
Collaborator

enyst commented Sep 11, 2024

I think I just hit this. Thanks for the fix!

@xingyaoww
Copy link
Contributor Author

Actually - i think this goes further into #3653 - we probably also need to change the client-side code for this. Setting this timeout was actually not honored by runtime client..

@xingyaoww xingyaoww marked this pull request as draft September 11, 2024 16:10
@xingyaoww
Copy link
Contributor Author

This should be finally ready for another review :)

@xingyaoww xingyaoww marked this pull request as ready for review September 12, 2024 02:55
Copy link
Contributor

@neubig neubig left a comment

Choose a reason for hiding this comment

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

LGTM!

@neubig neubig enabled auto-merge (squash) September 12, 2024 15:03
@neubig neubig merged commit 2fe2f4c into main Sep 12, 2024
12 checks passed
@neubig neubig deleted the xw/increase-timeout-eval branch September 12, 2024 15:20
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.

[Bug]: <Attribute Error> while running instances for SWE-BENCH instances
3 participants