Troubleshooting Structured Data Models
The following issues might arise during local inference with Structured Data Models (SDM) and Kumo-TS, including the code and example notebook in Quickstart for Structured Data Models.
Environment and Dependencies
If an import fails, confirm that SDM and the example dependencies are installed
in the Python environment running your script or notebook. The notebook installs
SDM, numpy, pandas, scikit-learn, and ucimlrepo in its first code cell.
The notebook explicitly selects CPU and does not require a GPU. For a CUDA
configuration, check that torch.cuda.is_available() returns True. If it
returns False on an NVIDIA GPU host, check the driver and CUDA-enabled
PyTorch installation.
Refer to Set Up a GPU
and the PyTorch installation instructions.
Kumo Forecast and Kumo Anomaly
Match the symptom to its fix in the following table:
Model Download and Access
If weights fail to download, check connectivity to Hugging Face and the error message. The Kumo model repositories are public and need no token. Corporate proxies that intercept TLS can make Hugging Face downloads fail with certificate errors. Check your proxy configuration or try from a different network.
The first model initialization downloads pretrained weights. Subsequent runs
reuse the cache. After the first download, set HF_HUB_OFFLINE=1 to load SDM
weights from the cache without network access. If storage or cache
configuration causes an error, refer to the
Hugging Face cache configuration
and Model Weights and Caching.
Results Change Between Runs
SDM ensembles use random column and class shuffles.
Pass generator=torch.Generator(device=device).manual_seed(0) for reproducible output, and select class columns by name.
Kumo Anomaly samples from a diffusion model. Call sdk.inference_ad.set_seed(0) before each call.
GPU Memory
If inference raises a CUDA out-of-memory error, check the selected model size
and the available GPU memory. For Kumo Tabular, try a smaller size (refer to the
model reference),
keep estimator_batch_size=1 (the default), lower num_estimators, or use
fewer context rows. The notebook sets size="small" and runs on CPU, so it
does not use GPU memory.
Relational Input Errors
The following table lists Kumo Relational input error messages and their fixes:
Input Columns and Types
Check that the target has the intended semantic type, that query features exclude the target, and that the selected model supports your input types and prediction task. Refer to table semantics and the model reference.
Report a Library Issue
For Kumo Tabular and Kumo Relational, search or open an issue in the SDM repository. For Kumo Forecast and Kumo Anomaly, search or open an issue in the Kumo-TS repository. Include your library and PyTorch versions, device details, the error message, and a minimal reproduction. Remove credentials and private data before sharing it.