Skip to content

Conversation

jnanliu
Copy link
Collaborator

@jnanliu jnanliu commented Dec 18, 2024

Motivation

When multiple tasks are submitted in the cloud server's shared file system, the existing local_runner's logic for saving params.py files can cause conflicts between different tasks (these tasks may have the same pid).

Modification

Modify the save path of params.py to work dir of each task.

Checklist

Before PR:

  • Pre-commit or other linting tools are used to fix the potential lint issues.
  • Bug fixes are fully covered by unit tests, the case that causes the bug should be added in the unit tests.
  • The modification is covered by complete unit tests. If not, please add more unit test to ensure the correctness.
  • The documentation has been modified accordingly, like docstring or example tutorials.

Copy link
Collaborator

@MaiziXiao MaiziXiao left a comment

Choose a reason for hiding this comment

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

LGTM

@MaiziXiao MaiziXiao merged commit 4993028 into open-compass:main Dec 19, 2024
8 checks passed
stephen-nju pushed a commit to stephen-nju/opencompass that referenced this pull request May 14, 2025
* update local runner params save dir

* fix remove

* fix directory remove

* Fix *_params.py by uuid4
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.

2 participants