poprox_recommender.config#

Access to configuration settings for the POPROX recommender pipeline.

Functions

allow_data_test_failures([what])

Whether to allow tests to fail because the DVC-managed data is missing.

default_device()

Get the default device for POPROX components.

poprox_recommender.config.default_device()#

Get the default device for POPROX components. This is read from the POPROX_REC_DEVICE environment variable, if it exists; otherwise it selects cuda if it is available and cpu otherwise.

Return type:

str

poprox_recommender.config.allow_data_test_failures(what='models')#

Whether to allow tests to fail because the DVC-managed data is missing.

Parameters:

what (Literal['models', 'mind'])

Return type:

bool