Provider.create_gnn()
This method creates a new GNN engine. The engine automatically enters a suspended state after one hour of inactivity.
Parameters
Section titled “Parameters”| Name | Type | Description | Optional |
|---|---|---|---|
name | str | Name of the GNN engine to create. Engine names must be unique within your account | No |
size | str | Size specification for the engine. For Snowflake accounts hosted on AWS: GPU_NV_S, HIGHMEM_X64_S, HIGHMEM_X64_M and HIGHMEM_X64_L are supported. For Snowflake accounts hosted on Azure: HIGHMEM_X64_S is supported. Default: “HIGHMEM_X64_S”. For specifications of the available compute pool sizes, see the Snowflake documentation: Working with compute pools | Yes |
settings | Dict | Additional engine settings. For example, to set the auto-suspend time, use: {“auto_suspend_mins”: 60} | Yes |
Returns
Section titled “Returns”True if the engine was successfully created.
Example
Section titled “Example”provider.create_gnn( name="my_engine", size="GPU_NV_S")⚠️ Important Notes:
- Engines are automatically suspended after a period of inactivity
- Suspended engines can be resumed using resume_gnn()