Skip to content

fix(conformer): use context manager for Pool to prevent race condition#21

Open
newtontech wants to merge 1 commit intodeepmodeling:mainfrom
newtontech:fix/issue-19-concurrency
Open

fix(conformer): use context manager for Pool to prevent race condition#21
newtontech wants to merge 1 commit intodeepmodeling:mainfrom
newtontech:fix/issue-19-concurrency

Conversation

@newtontech
Copy link

Fixes #19

Replace manual pool.close() with context manager to ensure proper cleanup and prevent race condition in multiprocessing.

Fixes deepmodeling#19

Replace manual pool.close() with context manager to ensure proper
cleanup and prevent race condition in multiprocessing.
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] concurrency/race condition in unimol_tools/data/conformer.py causes prediction to hang

1 participant