Skip to content

Commit

Permalink
Spark examples to spark 3.4
Browse files Browse the repository at this point in the history
  • Loading branch information
vaibhj committed Dec 13, 2024
1 parent 84623e1 commit 48a013a
Show file tree
Hide file tree
Showing 15 changed files with 20 additions and 20 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@ jobs:

resources:
instance_type: standard_e8s_v3
runtime_version: "3.3"
runtime_version: "3.4"
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@ jobs:

resources:
instance_type: standard_e8s_v3
runtime_version: "3.3"
runtime_version: "3.4"
2 changes: 1 addition & 1 deletion cli/jobs/spark/serverless-spark-pipeline-user-identity.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@ jobs:

resources:
instance_type: standard_e8s_v3
runtime_version: "3.3"
runtime_version: "3.4"
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,5 @@ args: >-
resources:
instance_type: standard_e4s_v3
runtime_version: "3.3"
runtime_version: "3.4"

Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,5 @@ identity:

resources:
instance_type: standard_e4s_v3
runtime_version: "3.3"
runtime_version: "3.4"

Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,5 @@ identity:

resources:
instance_type: standard_e4s_v3
runtime_version: "3.3"
runtime_version: "3.4"

2 changes: 1 addition & 1 deletion cli/monitoring/advanced-model-monitoring.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ create_monitor:

compute:
instance_type: standard_e4s_v3
runtime_version: "3.3"
runtime_version: "3.4"

monitoring_target:
ml_task: classification
Expand Down
2 changes: 1 addition & 1 deletion cli/monitoring/custom-monitoring.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ trigger:
create_monitor:
compute:
instance_type: "standard_e8s_v3"
runtime_version: "3.3"
runtime_version: "3.4"

monitoring_signals:
customSignal:
Expand Down
2 changes: 1 addition & 1 deletion cli/monitoring/generation-safety-quality-monitoring.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ trigger:
create_monitor:
compute:
instance_type: "standard_e8s_v3"
runtime_version: "3.3"
runtime_version: "3.4"
monitoring_target:
ml_task: classification
endpoint_deployment_id: fake_endpoint_id
Expand Down
2 changes: 1 addition & 1 deletion cli/monitoring/model-monitoring-with-collected-data.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ trigger:
create_monitor:
compute:
instance_type: standard_e4s_v3
runtime_version: "3.3"
runtime_version: "3.4"
monitoring_target:
ml_task: classification
endpoint_deployment_id: azureml:fraud-detection-endpoint:fraud-detection-deployment
Expand Down
2 changes: 1 addition & 1 deletion cli/monitoring/out-of-box-monitoring.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ create_monitor:

compute: # specify a spark compute for monitoring job
instance_type: standard_e4s_v3
runtime_version: "3.3"
runtime_version: "3.4"

monitoring_target:
ml_task: classification # model task type: [classification, regression, question_answering]
Expand Down
2 changes: 1 addition & 1 deletion sdk/python/jobs/spark/setup_spark.sh
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ else
az storage fs create -n $GEN2_FILE_SYSTEM --account-name $GEN2_STORAGE_NAME
az synapse workspace create --name $SYNAPSE_WORKSPACE_NAME --resource-group $RESOURCE_GROUP --storage-account $GEN2_STORAGE_NAME --file-system $GEN2_FILE_SYSTEM --sql-admin-login-user $SQL_ADMIN_LOGIN_USER --sql-admin-login-password $RANDOM_STRING --location $LOCATION
az role assignment create --role "Storage Blob Data Owner" --assignee $AML_USER_MANAGED_ID_OID --scope /subscriptions/$SUBSCRIPTION_ID/resourceGroups/$RESOURCE_GROUP/providers/Microsoft.Storage/storageAccounts/$GEN2_STORAGE_NAME/blobServices/default/containers/$GEN2_FILE_SYSTEM
az synapse spark pool create --name $SPARK_POOL_NAME --workspace-name $SYNAPSE_WORKSPACE_NAME --resource-group $RESOURCE_GROUP --spark-version 3.3 --node-count 3 --node-size Medium --min-node-count 3 --max-node-count 10 --enable-auto-scale true
az synapse spark pool create --name $SPARK_POOL_NAME --workspace-name $SYNAPSE_WORKSPACE_NAME --resource-group $RESOURCE_GROUP --spark-version 3.4 --node-count 3 --node-size Medium --min-node-count 3 --max-node-count 10 --enable-auto-scale true
az synapse workspace firewall-rule create --name allowAll --workspace-name $SYNAPSE_WORKSPACE_NAME --resource-group $RESOURCE_GROUP --start-ip-address 0.0.0.0 --end-ip-address 255.255.255.255
#</create_attached_resources>

Expand Down
6 changes: 3 additions & 3 deletions sdk/python/jobs/spark/submit_spark_pipeline_jobs.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,7 @@
" spark_step.identity = ManagedIdentityConfiguration()\n",
" spark_step.resources = {\n",
" \"instance_type\": \"Standard_E8S_V3\",\n",
" \"runtime_version\": \"3.3.0\",\n",
" \"runtime_version\": \"3.4.0\",\n",
" }\n",
"\n",
"\n",
Expand Down Expand Up @@ -422,7 +422,7 @@
" spark_step.identity = UserIdentityConfiguration()\n",
" spark_step.resources = {\n",
" \"instance_type\": \"Standard_E8S_V3\",\n",
" \"runtime_version\": \"3.3.0\",\n",
" \"runtime_version\": \"3.4.0\",\n",
" }\n",
"\n",
"\n",
Expand Down Expand Up @@ -501,7 +501,7 @@
" spark_step.outputs.wrangled_data.mode = InputOutputModes.DIRECT\n",
" spark_step.resources = {\n",
" \"instance_type\": \"Standard_E8S_V3\",\n",
" \"runtime_version\": \"3.3.0\",\n",
" \"runtime_version\": \"3.4.0\",\n",
" }\n",
"\n",
"\n",
Expand Down
6 changes: 3 additions & 3 deletions sdk/python/jobs/spark/submit_spark_standalone_jobs.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@
" executor_instances=2,\n",
" resources={\n",
" \"instance_type\": \"Standard_E8S_V3\",\n",
" \"runtime_version\": \"3.3.0\",\n",
" \"runtime_version\": \"3.4.0\",\n",
" },\n",
" inputs={\n",
" \"titanic_data\": Input(\n",
Expand Down Expand Up @@ -329,7 +329,7 @@
" executor_instances=2,\n",
" resources={\n",
" \"instance_type\": \"Standard_E8S_V3\",\n",
" \"runtime_version\": \"3.3.0\",\n",
" \"runtime_version\": \"3.4.0\",\n",
" },\n",
" inputs={\n",
" \"titanic_data\": Input(\n",
Expand Down Expand Up @@ -391,7 +391,7 @@
" executor_instances=2,\n",
" resources={\n",
" \"instance_type\": \"Standard_E8S_V3\",\n",
" \"runtime_version\": \"3.3.0\",\n",
" \"runtime_version\": \"3.4.0\",\n",
" },\n",
" inputs={\n",
" \"titanic_data\": Input(\n",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -535,7 +535,7 @@
" executor_instances=2,\n",
" resources={\n",
" \"instance_type\": \"Standard_E8S_V3\",\n",
" \"runtime_version\": \"3.3.0\",\n",
" \"runtime_version\": \"3.4.0\",\n",
" },\n",
" inputs={\n",
" \"titanic_data\": Input(\n",
Expand Down Expand Up @@ -769,7 +769,7 @@
" executor_instances=2,\n",
" resources={\n",
" \"instance_type\": \"Standard_E8S_V3\",\n",
" \"runtime_version\": \"3.3.0\",\n",
" \"runtime_version\": \"3.4.0\",\n",
" },\n",
" inputs={\n",
" \"titanic_data\": Input(\n",
Expand Down

0 comments on commit 48a013a

Please sign in to comment.