No Access to ORT Environment (v2) #140
Closed
aykut-bozkurt
started this conversation in
General
Replies: 1 comment 3 replies
-
Would ea7d059 work? It allows |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello, with the version v2, I see we plan to quit accessing to
Environment
. Actually, this makes sense since we allow 1 Environment per process. But it has a limitation for the following case:We have a http service where we need to update the
Environment
if any setting, e.g. intra-op-parallelism and spin-control, changes. With the new version, this functionality goes away since we cannot recreate anEnvironment
with new configuration. When we had access to it, we could drop it and recreate a new one in a controlled way (making sure there is no active run etc...).One alternative might be to expose a function like
environment_set_config
. I may also think about it more. What do you think @decahedron1?Beta Was this translation helpful? Give feedback.
All reactions