You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
We are starting to have some options in the model that are set during inference, like the mapper chunking. Right now, we pass them via environment variable.
Describe the solution you'd like
An interface to pass a dictionary of inference options that the model can read from.
The downside of this is that this only allows for runtime options, not for any options that are needed in initialisation (we don't have any of those right now, but we might in the future?). To do the latter we could do:
Is your feature request related to a problem? Please describe.
We are starting to have some options in the model that are set during inference, like the mapper chunking. Right now, we pass them via environment variable.
Describe the solution you'd like
An interface to pass a dictionary of inference options that the model can read from.
So we can do in inference something like:
The downside of this is that this only allows for runtime options, not for any options that are needed in initialisation (we don't have any of those right now, but we might in the future?). To do the latter we could do:
And in models we can do something like this, so it is accessible from everywhere in the module:
Describe alternatives you've considered
No response
Additional context
No response
Organisation
No response
The text was updated successfully, but these errors were encountered: