Add python bindings to the global thread pool functionality #24238
khoover
force pushed
from
6a2b5242
to
44d5cf65
342 days ago
enable global thread pool in python
9c19ed79
Lint fixes
42b42875
Include utility for std::move
510733f6
khoover
force pushed
from
44d5cf65
to
510733f6
341 days ago
Create threadpool shutdown method for Environment
c8453d11
Register global thread pool shutdown via atexit in Python
5baf1ee8
khoover
marked this pull request as ready for review 341 days ago
Register the shutdown when the EnvInitializer is created, not when se…
89a602d0
Fix typo
6f0ce1eb
Merge branch 'main' into add-python-global-thread-pool
c22c6631
Fix member hiding
9a1f7fee
Use default initializers over initializer list
42b2a108
Remove special code for destroying environment
6a4b1f3a
Add the simplest possible test of global thread pools in Python
bc64c223
Remove the other eager env init
9aa24aee
Lintrunner
79163faa
Merge branch 'main' into add-python-global-thread-pool
4b5b0958
Add an explicit function for ensuring the ort environment is initialized
635450c4
When creating InferenceSessions, ensure the environment is initialized
e81c90e8
snnn
closed this 299 days ago
snnn
reopened this 299 days ago
khoover
marked this pull request as draft 293 days ago
khoover
marked this pull request as ready for review 293 days ago
Merge changes from #24891
170f36ad
Update environment to allow late instantiation of global thread pools
fb12fd0c
Return to eager env init, use late-binding of global thread pools
e93897c4
khoover
force pushed
from
fa82356c
to
e93897c4
289 days ago
snnn
commented
on 2025-06-10
snnn
commented
on 2025-06-10
Fix dropped whitespace
c082bcfb
Fix dropped static
c42cd0d5
Add missing environment.h include
7d244e88
Add test for raising an exception when setting use_per_session_thread…
1e4b6fe4
snnn
approved these changes
on 2025-06-14
snnn
merged
089c52e4
into main 283 days ago
Assignees
No one assigned
Login to write a write a comment.
Login via GitHub