SelectCudaDevice
Introduction
Function signature
SelectCudaDevice(
get_list_on_init = True,
sort_by_free_ram = False,
include_cpu_option = False,
widget_id = None,
)Parameters
Parameters
Type
Description
get_list_on_init
sort_by_free_ram
include_cpu_option
widget_id
Methods and attributes
Methods and Attributes
Description
Mini app example
Import libraries
Init API client
Initialize the SelectCudaDevice widget
SelectCudaDevice widgetCreate an event handler for the SelectCudaDevice widget
SelectCudaDevice widgetCreate app layout
Create an app using the layout
Last updated