MaterializationSettings Class
Defines materialization settings.
- Inheritance
-
azure.ai.ml.entities._mixins.RestTranslatableMixinMaterializationSettings
Constructor
MaterializationSettings(*, schedule: RecurrenceTrigger | None = None, offline_enabled: bool | None = None, online_enabled: bool | None = None, notification: Notification | None = None, resource: MaterializationComputeResource | None = None, spark_configuration: Dict[str, str] | None = None, **kwargs: Any)
Parameters
Name | Description |
---|---|
kwargs
Required
|
A dictionary of additional configuration parameters. |
Keyword-Only Parameters
Name | Description |
---|---|
schedule
|
The schedule details. Defaults to None. |
offline_enabled
|
Boolean that specifies if offline store is enabled. Defaults to None. |
online_enabled
|
Boolean that specifies if online store is enabled. Defaults to None. |
notification
|
The notification details. Defaults to None. |
resource
|
The compute resource settings. Defaults to None. |
spark_configuration
|
The spark compute settings. Defaults to None. |
Examples
Configuring MaterializationSettings.
from azure.ai.ml.entities import MaterializationComputeResource, MaterializationSettings
materialization_settings = MaterializationSettings(
offline_enabled=True,
spark_configuration={
"spark.driver.cores": 2,
"spark.driver.memory": "18g",
"spark.executor.cores": 4,
"spark.executor.memory": "18g",
"spark.executor.instances": 5,
},
resource=MaterializationComputeResource(instance_type="standard_e4s_v3"),
)
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
Azure SDK for Python