dataeval.config

Global configuration settings for DataEval.

Functions

get_batch_size([override])

Returns the batch size to use.

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

Sets the default batch size to use when processing data.

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.