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

Don't hold a file lock #1569

Merged
merged 2 commits into from
Apr 24, 2023
Merged

Don't hold a file lock #1569

merged 2 commits into from
Apr 24, 2023

Conversation

ianoc
Copy link
Contributor

@ianoc ianoc commented Apr 24, 2023

We have had complaints/issues randomly where a zombie python process is holding this lock. We don't need it since renames are atomic on posix. So refactor this to make temp files unique and then use replace (https://docs.python.org/3/library/os.html#os.replace )

@ianoc ianoc requested a review from ptillet as a code owner April 24, 2023 16:58
@ptillet ptillet merged commit cd096af into triton-lang:main Apr 24, 2023
5 checks passed
pingzhuu pushed a commit to siliconflow/triton that referenced this pull request Apr 2, 2024
We have had complaints/issues randomly where a zombie python process is
holding this lock. We don't need it since renames are atomic on posix.
So refactor this to make temp files unique and then use replace
(https://docs.python.org/3/library/os.html#os.replace )
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.

None yet

2 participants