Skip to main content
Oumi is an open-source platform that simplifies the entire lifecycle of foundation models, from data preparation and training to evaluation and deployment. To learn more about using the SambaNova inference engine through Oumi, check out the Oumi SambaNova inference engine API reference. This guide provides detailed instructions on how to integrate and use the SambaNova engine within the Oumi platform.

Prerequisites

Setup

1

Install Oumi

2

Export your API key

Usage

Create a SambanovaInferenceEngine and run inference:
For full usage — including how to pass conversations and retrieve responses — see the Oumi SambaNova inference engine API reference.

Troubleshooting

  • Run pip install oumi inside your active virtual environment
  • Confirm the environment is active: which python should point inside .venv
  • Confirm the key is exported: echo $SAMBANOVA_API_KEY
  • Re-export with export SAMBANOVA_API_KEY="your-key" and retry
  • RemoteParams(api_key_env_varname="SAMBANOVA_API_KEY") reads the variable at runtime — it must be set in the same shell session
  • Verify the model name on the SambaCloud models page
  • Model names are case-sensitive — use the exact string shown in the portal
  • Oumi requires Python 3.10 or later — confirm with python --version
  • If using an older version, create a new virtual environment with Python 3.10+

Resources

Oumi API reference

Full SambanovaInferenceEngine API — conversations, responses, and config options.

Oumi documentation

Official Oumi guides covering training, evaluation, and inference.

Supported models

Current list of models available on SambaCloud.

SambaCloud portal

Generate and manage your SambaCloud API keys.