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

[Fix] Use a copy of the config object in Task #174

Merged
merged 1 commit into from
Aug 9, 2023

Conversation

gaotongxiao
Copy link
Collaborator

Motivation

In debugging mode, the config objects are directly passed to Task instances, which may modify the fields inside and cause some unexpected errors in other processes that assume the sanity of the config.

Closing #171

Modification

Use a copy of the config object in Task.

@Leymore Leymore merged commit e6194df into open-compass:main Aug 9, 2023
1 check passed
@gaotongxiao gaotongxiao deleted the fix_task branch August 9, 2023 07:27
go-with-me000 pushed a commit to go-with-me000/opencompass that referenced this pull request Oct 9, 2023
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] --debug mode trying to pickle logger in GenInferencer
3 participants