dataeval.config

Global configuration settings for DataEval.

Functions

get_device([override])

Returns the PyTorch device to use.

get_max_processes()

Returns the maximum number of worker processes to use when running tasks that support parallel processing.

set_device(device)

Sets the default device to use when executing against a PyTorch backend.

set_max_processes(processes)

Sets the maximum number of worker processes to use when running tasks that support parallel processing.