> This page is for Kumo Engine.

> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.nvidia.com/sdgm/llms.txt.

# Kumo Engine Prerequisites

> Prepare Python, compute, local storage, and data access for Kumo Engine.

Prepare your Python environment, local storage, and data access for Kumo Engine before following an environment-specific setup guide.
These prerequisites apply to Kumo running in your notebook or local Python process.

## Hardware Requirements

Verify that your compute and local storage meet the following hardware prerequisites.

### Compute

Kumo uses an available NVIDIA GPU through CUDA or an Apple silicon GPU through MPS.
CPU execution is supported for small jobs.

For production workloads, use a compatible NVIDIA GPU accessible to the Python process.
Refer to [your platform's setup guide](/sdgm/kumo-engine/get-started-with-kumo-engine/available-deployment-options#local-machine-deployment) for device checks and [GPU Sizing](/sdgm/kumo-engine/get-started-with-kumo-engine/gpu-sizing) for production planning.

### Local Storage

**Kumo jobs require local storage for execution.**
Place job working files and scratch data on that storage.

Use local SSD storage, such as NVMe or SATA SSDs.
Verify that the storage is local to the compute machine. Its device or mount name alone is not sufficient.
A writable directory alone does not meet this requirement.

For the S3 workflow on AWS, use EC2 compute with local instance storage.
**Amazon EBS volumes are not supported as execution storage for these jobs.**
Source data can reside in S3. Job execution still requires local storage on the compute machine.

For an AWS Databricks cluster that runs Kumo jobs, disable elastic disk and EBS volumes in the cluster configuration:

```json
{
  "enable_elastic_disk": false,
  "aws_attributes": {
    "ebs_volume_count": 0
  }
}
```

After the cluster starts, inspect its effective configuration and confirm that both values remain set.
A cluster policy can override requested settings.
This configuration is specific to AWS Databricks and does not apply to Azure compute.

Verify the storage backing your configured directories.
A `/dev/nvme*` device name is not sufficient evidence: AWS also exposes EBS volumes through an NVMe interface.
Refer to [Amazon EBS volumes and NVMe](https://docs.aws.amazon.com/ebs/latest/userguide/nvme-ebs-volumes.html).

Provide a writable scratch directory with enough space for staged source data, graph indexes, intermediate files, and prediction outputs.
Configure the directory for your environment:

* **Local machine:** Use local SSD storage.
  On macOS, choose a local directory. In WSL2, use the Linux filesystem backed by a local SSD.
  Follow the working storage instructions for [Linux](/sdgm/kumo-engine/get-started-with-kumo-engine/installation/linux-machine-deployment#configure-working-storage), [macOS](/sdgm/kumo-engine/get-started-with-kumo-engine/installation/macos#configure-working-storage), or [Windows (WSL2)](/sdgm/kumo-engine/get-started-with-kumo-engine/installation/windows-wsl2#configure-working-storage).
* **Snowflake notebook:** Choose a directory on the compute pool's local storage.
  The setup example uses `/tmp/kumoai-local`. Verify that this path is on the intended local disk before using it.
  Refer to [Snowflake working storage setup](/sdgm/kumo-engine/get-started-with-kumo-engine/installation/snowflake-notebook#configure-working-storage).
* **Databricks notebook:** Use `/tmp/kumoai-local` on Serverless GPU or `/local_disk0/kumo-scratch` on a classic dedicated GPU cluster.
  Confirm that the path is backed by local storage on your selected compute.
  Prepare a Unity Catalog volume for model and prediction files you need to retain.
  Refer to [Databricks working storage setup](/sdgm/kumo-engine/get-started-with-kumo-engine/installation/databricks-notebook#configure-working-storage).

Confirm how long that storage survives notebook restarts or machine shutdowns.
An artifact directory does not automatically provide durable storage.
Refer to [Publish and Retrieve Models](/sdgm/kumo-engine/user-code-guide/train-a-model/publish-and-retrieve-models).

## Software Requirements

Verify that your operating system and Python environment meet the following software prerequisites.

### Operating System

Supported local platforms are Linux, macOS 14 or later on Apple silicon, and Windows through WSL2 x86_64.
Linux environments, including WSL2, require glibc 2.34 or later.
Native Windows Python and Intel Macs are not supported.

### Runtime Dependencies

Use Python 3.12 for the documented local machine and notebook setup paths, with `pip` available in the environment that runs Kumo.

You need:

* **Package access:** Access to the Python package index that supplies Kumo Engine and its dependencies, including any required index credentials.
* **Installation permissions:** Permission to install packages into the interpreter used by your script or notebook, and to restart the notebook's Python process when required.
  On a local machine, use a dedicated virtual environment to isolate dependencies.

Choose one installation command for your environment and source:

| Use                              | Installation command                       |
| -------------------------------- | ------------------------------------------ |
| Base Kumo Engine for local files | `pip install kumo-engine`                  |
| Amazon S3 integration            | `pip install "kumo-engine[s3]"`            |
| Google Cloud Storage integration | `pip install "kumo-engine[gcs]"`           |
| BigQuery integration             | `pip install "kumo-engine[bigquery]"`      |
| Snowflake integration            | `pip install "kumo-engine[snowflake]"`     |
| Databricks integration           | `pip install "kumo-engine[databricks]"`    |
| Databricks with Amazon S3        | `pip install "kumo-engine[databricks,s3]"` |

Each integration option installs Kumo Engine with the dependencies for that connector.
The Python import name is `kumo.engine` for all installation choices.

Use a Kumo Engine build compatible with your environment, Python version, and PyTorch stack.
For NVIDIA GPU execution, use a CUDA build of PyTorch compatible with your driver.
Kumo's PyTorch version requirement does not select the device backend. The installed packages and configured package indexes determine which build pip uses.
Use a CPU build for CPU-only execution.
Follow your environment's setup guide to install PyTorch from the appropriate package index before installing Kumo Engine.

Install [Kumo Engine from PyPI](https://pypi.org/project/kumo-engine/).
Kumo Engine requires CPython 3.11 or later. These local setup instructions use Python 3.12.

Follow your environment's setup guide for notebook command syntax, storage, and identity.

## Documented Environment Targets

Use the environment version listed for your deployment with the matching Kumo build.
The environment version alone does not identify a compatible Kumo artifact.

| Setup path                                                                       | Environment                                                                                                                          | Python            | Runtime notes                                                                                                                                                                                                                                                                                                 |
| -------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------ | ----------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Snowflake notebook                                                               | [Snowflake GPU Container Runtime 2.9](https://docs.snowflake.com/en/developer-guide/snowflake-ml/container-runtime/releases/gpu/2_9) | 3.12              | PyTorch `2.9.1+cu129`; CUDA toolkit 12.9                                                                                                                                                                                                                                                                      |
| Databricks notebook                                                              | [Serverless GPU environment version 6](https://docs.databricks.com/aws/en/release-notes/serverless/environment-version/six-gpu)      | 3.12              | Select the version 6 AI base environment and a GPU accelerator; use `/tmp/kumoai-local` for scratch.                                                                                                                                                                                                          |
| Databricks notebook                                                              | [Databricks Runtime 17.3 LTS ML GPU](https://learn.microsoft.com/en-us/azure/databricks/release-notes/runtime/17.3lts-ml)            | 3.12              | Retain the supported PyTorch `2.7.0` and verify `torch.version.cuda` in the notebook: PyTorch uses its CUDA PyPI dependencies, so the built-in CUDA libraries do not establish its effective target.                                                                                                          |
| Databricks notebook                                                              | [Databricks Runtime 16.4 LTS ML GPU](https://learn.microsoft.com/en-us/azure/databricks/release-notes/runtime/16.4lts-ml)            | 3.12              | Preinstalled PyTorch `2.6.0+cu124` requires a manual upgrade to PyTorch `2.9.0` with CUDA 12.6 before installing Kumo; supported only after the upgrade described in [Install Kumo Engine in a Databricks Notebook](/sdgm/kumo-engine/get-started-with-kumo-engine/installation/databricks-notebook#install-kumo). |
| Linux machine                                                                    | [Ubuntu 24.04 x86_64](https://releases.ubuntu.com/noble/)                                                                            | 3.12              | Use a compatible CUDA build of PyTorch; verify GPU execution in the Linux setup guide                                                                                                                                                                                                                         |
| macOS                                                                            | macOS 14 or later, Apple silicon                                                                                                     | 3.12 (ARM64)      | Apple GPU through PyTorch MPS, or CPU                                                                                                                                                                                                                                                                         |
| Windows through WSL2                                                             | Ubuntu 24.04 x86_64 inside WSL2                                                                                                      | 3.12 (inside WSL) | NVIDIA CUDA through WSL2, or CPU; install the Linux wheel inside WSL                                                                                                                                                                                                                                          |
| [Google Colab](/sdgm/kumo-engine/user-code-guide/code-examples/google-colab-notebook) | Runtime 2026.07                                                                                                                      | Runtime supplied  | Use local files as the data source.                                                                                                                                                                                                                                                                           |
| SageMaker                                                                        | SageMaker Distribution 4.5 (GPU image)                                                                                               | Runtime supplied  | Use Amazon S3 as the data source.                                                                                                                                                                                                                                                                             |

Google Colab and SageMaker are suitable for small or introductory graphs and models.

Python compatibility alone is not sufficient for GPU execution.
Use PyTorch and `torch-geometric` versions compatible with your Kumo build and selected device backend.
Kumo no longer requires the separate `pyg-lib` or `torch-scatter` packages.

Follow the runtime-specific installation steps in your setup guide, including the required PyTorch upgrade for Databricks 16.4.
Otherwise, do not replace runtime packages independently unless Kumo release instructions provide a tested stack for your environment.
After installation, run the setup guide's verification cell to check imports, effective versions, and GPU execution.

## Credentials and Data Permissions

Choose your deployment and data connector below.
Follow the linked setup and connector instructions to configure credentials and data permissions.

| Deployment          | Connector                                                                                                  |
| ------------------- | ---------------------------------------------------------------------------------------------------------- |
| Google Colab        | [Local files](/sdgm/kumo-engine/user-code-guide/connect-your-data-linux#local-files)                            |
| SageMaker           | [Amazon S3](/sdgm/kumo-engine/user-code-guide/connect-your-data-linux#amazon-s3)                                |
| Local Python        | [Local files](/sdgm/kumo-engine/user-code-guide/connect-your-data-linux#local-files)                            |
| Local Python        | [Amazon S3](/sdgm/kumo-engine/user-code-guide/connect-your-data-linux#amazon-s3)                                |
| Local Python        | [Google Cloud Storage](/sdgm/kumo-engine/user-code-guide/connect-your-data-linux#google-cloud-storage)          |
| Local Python        | [BigQuery](/sdgm/kumo-engine/user-code-guide/connect-your-data-linux#bigquery)                                  |
| Local Python        | [Snowflake](/sdgm/kumo-engine/user-code-guide/connect-your-data-linux#snowflake)                                |
| Local Python        | [Databricks](/sdgm/kumo-engine/user-code-guide/connect-your-data-linux#linux-to-databricks)                     |
| Snowflake notebook  | [Snowflake warehouse](/sdgm/kumo-engine/user-code-guide/connect-your-data-snowflake#snowflake-tables-and-views) |
| Databricks notebook | [Amazon S3](/sdgm/kumo-engine/user-code-guide/connect-your-data-databricks#databricks-s3)                       |
| Databricks notebook | [Azure Data Lake Storage](/sdgm/kumo-engine/user-code-guide/connect-your-data-databricks#databricks-adls)       |
| Databricks notebook | [Unity Catalog](/sdgm/kumo-engine/user-code-guide/connect-your-data-databricks#databricks-unity-catalog)        |

## Next Steps

Choose the guide for where your Python code runs:

* [Google Colab Notebook Example](/sdgm/kumo-engine/user-code-guide/code-examples/google-colab-notebook) for a small or introductory local-file workflow
* [Install Kumo Engine in a Snowflake Notebook](/sdgm/kumo-engine/get-started-with-kumo-engine/installation/snowflake-notebook)
* [Install Kumo Engine in a Databricks Notebook](/sdgm/kumo-engine/get-started-with-kumo-engine/installation/databricks-notebook)
* [Install Kumo Engine on Linux](/sdgm/kumo-engine/get-started-with-kumo-engine/installation/linux-machine-deployment)
* [Install Kumo Engine on macOS](/sdgm/kumo-engine/get-started-with-kumo-engine/installation/macos)
* [Install Kumo Engine on Windows With WSL2](/sdgm/kumo-engine/get-started-with-kumo-engine/installation/windows-wsl2)

These guides configure execution, storage, and identity.
Connector creation follows setup.