Deploy
Deploy your Chain on Baseten
Deploying a Chain is an atomic action that deploys every Chainlet within the Chain. Each Chainlet specifies its own remote environment β hardware resources, Python and system dependencies, autoscaling settings.
Development
The default behavior for pushing a chain is to create a development deployment:
Where my_chain.py
contains the entrypoint Chainlet for your Chain.
Development deployments are intended for testing and canβt scale past one replica. Each time you make a development deployment, it overwrites the existing development deployment.
Development deployments support rapid iteration with watch
- see above
guide.
π Environments
To deploy a Chain to an environment, run:
Environments are intended for live traffic and have access to full autoscaling settings. Each time you deploy to an environment, a new deployment is created. Once the new deployment is live, it replaces the previous deployment, which is relegated to the published deployments list. Learn more about environments.