Skip to content

Provider.create_gnn()

This method creates a new GNN engine. The engine automatically enters a suspended state after one hour of inactivity.

NameTypeDescriptionOptional
namestrName of the GNN engine to create. Engine names must be unique within your accountNo
sizestrSize 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 poolsYes
settingsDictAdditional engine settings. For example, to set the auto-suspend time, use: {“auto_suspend_mins”: 60}Yes

True if the engine was successfully created.

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()