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