Skip to content

fix: release Python GIL during CPU intensive operations#111

Open
Gnoale wants to merge 1 commit intoopenai:mainfrom
Gnoale:fix/releaseGil
Open

fix: release Python GIL during CPU intensive operations#111
Gnoale wants to merge 1 commit intoopenai:mainfrom
Gnoale:fix/releaseGil

Conversation

@Gnoale
Copy link
Copy Markdown

@Gnoale Gnoale commented Mar 31, 2026

Hi 👋

Fixes #110 to release the Python GIL and avoid deadlocks in servers using asyncio like vLLM

I validated the fix on a base v0.17.0 vLLM docker image, using the make_async helper to make render_for_completion async _make_request_with_harmony

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.

Python asyncio eventloop run_in_executor with ThreadPoolExecutor is not working

1 participant