gradio
workflow: use anyio.to_thread to send sync server functions to thread pool
#13612
Merged

workflow: use anyio.to_thread to send sync server functions to thread pool #13612

hannahblair merged 45 commits into main from workflow-event-loop
hannahblair
hannahblair run server funcs in thread pool with asyncio
5ae54545
gradio-pr-bot
gradio-pr-bot add changeset
1355992f
gradio-pr-bot
hannahblair lint
283665af
hannahblair Merge branch 'workflow-event-loop' of github.com:gradio-app/gradio in…
180286bd
hannahblair hannahblair marked this pull request as ready for review 13 days ago
hannahblair hannahblair changed the title use asyncio.to_thread to send sync server functions to thread pool workflow: use asyncio.to_thread to send sync server functions to thread pool 13 days ago
gradio-pr-bot add changeset
bf86ac61
abidlabs abidlabs requested a review from AK391 AK391 13 days ago
abidlabs abidlabs requested a review from hysts hysts 13 days ago
abidlabs abidlabs requested a review from copilot-pull-request-reviewer copilot-pull-request-reviewer 13 days ago
abidlabs
abidlabs commented on 2026-07-13
copilot-pull-request-reviewer
copilot-pull-request-reviewer commented on 2026-07-13
hannahblair rm import
6cec7788
hannahblair Merge branch 'workflow-event-loop' of github.com:gradio-app/gradio in…
dd61f28f
hysts
hysts commented on 2026-07-14
hannahblair use anyio + add test
ae65a605
hannahblair limit call_fn concurrency
ab8967af
hannahblair format
ee614cd3
hannahblair
hannahblair test fix
f2cd259e
abidlabs
hannahblair refactor
9484451f
gradio-pr-bot add changeset
8eda72a2
hannahblair clean up
2c45debb
hannahblair Merge branch 'workflow-event-loop' of github.com:gradio-app/gradio in…
5dbca123
hannahblair format + lint
1dccdbdd
hannahblair typefix
b5721324
hannahblair move import
afb42dc5
abidlabs
hannahblair tweak
e92c802b
hannahblair
abidlabs
abidlabs
abidlabs commented on 2026-07-15
abidlabs
abidlabs commented on 2026-07-15
abidlabs
abidlabs commented on 2026-07-15
abidlabs
abidlabs commented on 2026-07-15
hannahblair rm direct call_fn tests
17db80a9
hannahblair rm call_fn server function
0919239e
hannahblair add sanitized name error
805887a4
hannahblair lint
8194c7dd
hannahblair Merge branch 'main' into workflow-event-loop
cc3a560d
hannahblair format
91c9c45d
hannahblair Merge branch 'workflow-event-loop' of github.com:gradio-app/gradio in…
8cbcc7f3
hannahblair fix test
2f13f53e
hannahblair tweak
cd50bfb2
hannahblair format
7a752f9f
abidlabs abidlabs requested a review from copilot-pull-request-reviewer copilot-pull-request-reviewer 10 days ago
copilot-pull-request-reviewer
copilot-pull-request-reviewer commented on 2026-07-16
abidlabs
abidlabs commented on 2026-07-16
abidlabs
abidlabs commented on 2026-07-16
abidlabs
abidlabs commented on 2026-07-16
abidlabs
abidlabs commented on 2026-07-16
hannahblair hannahblair changed the title workflow: use asyncio.to_thread to send sync server functions to thread pool workflow: use anyio.to_thread to send sync server functions to thread pool 10 days ago
gradio-pr-bot add changeset
5ebe4e35
hannahblair add flag for unicode
6be56cd8
hannahblair add blocks check
78648e1e
hannahblair use gr.api() to register bound fn endpoints
8ed0e9ef
hannahblair Merge branch 'workflow-event-loop' of github.com:gradio-app/gradio in…
6938de7f
hannahblair save lock
4a3735c0
hannahblair trigger job.cancel() on abort
8f18d8b6
hannahblair prevent race in image editor
2a7ef947
hannahblair
hannahblair format
ea728b3f
hannahblair format
8eefd04a
abidlabs
abidlabs commented on 2026-07-16
abidlabs
abidlabs approved these changes on 2026-07-16
hannahblair error tweak
e9f8edf7
hannahblair revert
211f9fd5
hannahblair Merge branch 'main' into workflow-event-loop
2fe3e617
hysts
hannahblair wrap bound fn exceptions as gr.Error
46721fb0
hannahblair Merge branch 'workflow-event-loop' of github.com:gradio-app/gradio in…
54cb15e6
hannahblair
hannahblair format
7e98f424
hannahblair hannahblair merged 0286f2c2 into main 9 days ago
hannahblair hannahblair deleted the workflow-event-loop branch 9 days ago

Login to write a write a comment.

Login via GitHub

Assignees
No one assigned
Labels
Milestone