Skip to main content

Getting Started

You can now run selected code on our cloud GPUs using the official Snowcell SDK

  1. Log in to the Snowcell Console: And obtain your API key

  2. Authenticate: Import the Client class and authenticate with Snowcell

    from snowcell.client import Client

    client = Client(api_key='xyz123fgh456')
  3. Decorate your function: This will send your function to our cloud GPU to be ran on

    @client.function(name="my task", cpu=1.5, memory=2)
    def predict(**inputs):
    return inputs['x'] + inputs['y']

    predict(x=3, y=2)