SessionOptionsConfig#
- class openstef_foundation_models.inference.providers.SessionOptionsConfig(**data: Any) None[source]
Bases:
BaseConfigA subset of ONNX Runtime
SessionOptionsexposed as typed config.- Parameters:
data (
Any)
- graph_optimization_level: Literal['DISABLE_ALL', 'ENABLE_BASIC', 'ENABLE_EXTENDED', 'ENABLE_ALL']
- model_config: ClassVar[ConfigDict] = {'arbitrary_types_allowed': False, 'extra': 'ignore', 'protected_namespaces': ()}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].