Runtimes and compute
Your code does not run in your browser. It runs on a runtime (also called an RTE) that Groundzero starts for you, on a compute size that sets how much memory and how many processors the runtime gets. After this chapter you can choose both for any job, notebook, dataset or scheduled task.
You choose them in the runtime picker, which appears wherever code runs.
Choose a runtime#
Work down this list and stop at the first match.
- You need one SQL query on one source, for a chart or dashboard: use Standard. It has no compute size to choose, and works only in datasets.
- You need several connections, writes to a table, or Python beyond a few lines: use DuckDB or Spark.
- The data is small to medium in size, and you want fast analysis, joins or ETL: use DuckDB. It starts quickly and is a good default for notebooks.
- The data is large, or you need heavy parallel processing: use Spark.
- You need a machine learning library such as scikit-learn, PyTorch or TensorFlow: pick the runtime whose name includes that library.
- You need extra Python packages that no listed runtime has: ask an administrator for a custom runtime.
Runtime names follow the pattern engine, then machine learning library, then version. Your site may list different ones.
| Runtime | Use it for | Notes |
|---|---|---|
| Standard | Datasets that query one SQL source | Only in the dataset editor. See Datasets |
| DuckDB | Fast analysis on one machine, including lakehouse tables | Good default for notebooks and small to medium data |
| Spark | Large, parallel data processing | Has Minimum Workers. Notebook sessions scale between 1 and 10 workers as the load changes |
| Custom | Anything that needs extra Python packages | Built by an administrator from a base runtime |
Tip
Start on Standard or DuckDB and move to Spark when a job outgrows it.
Pick a runtime and compute size#
- Open the runtime picker in the editor toolbar. Until you choose, it reads Select runtime.
- Open Runtime and choose a runtime.
- Open Compute and choose a size.
- For Spark, set Minimum Workers if you need more than the default. For work that needs GPUs, set GPU Size.
- Close the panel.



What happens next: The picker shows your choice. The runtime starts when you run the job, start the notebook session or run the dataset.
| Field | What it holds |
|---|---|
| Runtime | The runtimes your site makes available, for example gz-. If none are available, the list reads No RTEs Available |
| Compute | A size shown as name, memory and processors, for example Medium, 8 GB Memory, 4 vCPU. If no sizes are listed for you, it reads Insufficient Permission |
| Minimum Workers | Spark runtimes only. How many workers to keep. Starts at 2 and cannot go below 1 |
| GPU Size | Every runtime except Standard. Starts at 0 and cannot go below 0 |
How the picker behaves in each place#
| Where | What to know |
|---|---|
| ETL job editor | Standard is not offered. Choose a runtime and compute size before Run |
| Notebook | Standard is not offered. The picker is locked while the session runs. Stop the session to change it |
| Dataset editor | Standard is offered when you use one SQL connection or none. Choosing another runtime turns the dataset into a code dataset |
| Scheduler task | Standard is not offered. The RTE field opens a Runtime and Compute dialog, and both are required |
Choose a size#
- Start with Small while you develop. Choose a bigger size when a run is slow or runs out of memory.
- For Spark, more memory per worker helps wide joins more than more workers do.
- Raise Minimum Workers only for work that runs in parallel. More workers than the work needs only adds cost.
- Use GPU Size only with runtimes built for GPUs, such as the PyTorch and TensorFlow ones.
Tip
Compute sizes are shared by your whole site. Pick the smallest size that finishes in a time you accept, and stop notebook sessions when you are done.
How long a runtime runs#
- A job run starts a fresh runtime for that run and ends when the job ends.
- A notebook session keeps running until you select Stop session or Stop Notebook.
- Dataset runs on DuckDB and Spark reuse a session for a few minutes after the last run, so the next run starts faster. A dataset run waits at most 5 minutes for its result.
Add a custom runtime (administrators)#
- Open the admin console, then Custom RTE, then Add custom RTE.
- In Base Image, choose the runtime to extend.
- Type a Name. The final name appears under the field.
- Under Choose File (.txt file only), choose a text file that lists the extra Python packages.
- Submit the form.
What happens next: You see RTE creation is in progress, this may take a while. The table lists each runtime's Name, Created By, Created On and Status, so you can watch the build finish. The new runtime then appears in every runtime list. If the build cannot start, you see Failed to add RTE.
Limits on cost#
Jobs, notebooks and datasets have no cost limit of their own. The budget set in the admin console limits AI chat only. See the Analyze, AI and Admin guide.
Troubleshooting#
| Message or symptom | Cause | Fix |
|---|---|---|
| Compute shows Insufficient Permission | Your role cannot use compute sizes | Ask an administrator for access to compute |
| No RTEs Available | No runtime is visible to your site | Ask an administrator to enable a runtime |
| please select Compute | You pressed Run with no compute chosen | Choose a Runtime and a Compute size |
| Please select RTE and Compute | You ran a dataset with neither chosen | Choose both, or choose Standard where it is offered |
| Invalid RTE. | The runtime you chose cannot run this work | Choose a runtime from the list |
| The dataset session stopped responding before it took the run. Run the dataset again to start a new session. | The dataset session stopped answering | Run the dataset again |