Azure Machine Learning compute provided on demand whenever a job names no compute target. No cluster needs creating or managing, and jobs do not wait in a queue behind one another.
Read more: Microsoft Learn
In the Ultra Transcenders books
Each book explains Serverless compute in context, with comparison tables and the common traps.
Terms in this definition
- Azure Machine Learning
Azure platform where you train, deploy, monitor and retrain models of your own, practising MLOps through tools such as pipelines, online endpoints, model monitoring and prompt flow.
- Job
A sequence of steps executed together on one agent or runner, or on the server for agentless work. While running, each occupies one of your parallel jobs.
Related terms
- ALTER TABLE ... SET MANAGED
Moves a Delta table from external or foreign status to being managed by Unity Catalog while preserving history, views, permissions, settings and name. Use serverless compute, or Runtime 17.3 LTS and later.
- Apache Spark cache
A cache you request explicitly, in memory or on disk, for a table or DataFrame using
df.cache(),df.persist()orCACHE TABLE, and release withunpersist. It differs from the automatic disk cache and cannot be used on serverless compute. - Arrow batching
Setting how large the Apache Arrow record batches passed to pandas UDFs are, through
spark.sql.execution.arrow.maxRecordsPerBatch, which defaults to 10,000. Serverless compute ignores it because the platform handles this itself. - Autoscale Billing for Spark
An opt-in way of paying for Spark (Learn also calls it on-demand billing) where jobs use separate serverless compute rather than drawing on the Fabric capacity, and you pay only while jobs are active, capped by a maximum CU setting. Smoothing and bursting play no part, and at the cap new batch jobs wait in a queue while interactive ones are throttled.
- Azure Functions
Serverless compute for event-driven code, started by triggers such as HTTP, timer, Blob or Event Grid and hosted on a Consumption, Premium or Dedicated plan.
- CACHE TABLE
Holds a table, or the output of a query, in Spark's cache.
df.persist()anddf.cache()can still be used on serverless compute, but this statement,df.checkpoint()andspark.catalog.cacheTable()all throw exceptions. - Classic compute
All-purpose, jobs and pipeline compute running in your own Azure subscription, which you set up and manage yourself. Its counterpart is serverless compute, which Azure Databricks runs for you.
- CLEAR CACHE
Empties the Apache Spark cache of every cached table and view. Serverless compute doesn't support it, nor SQL cache statements like
CACHE TABLE.