poprox_recommender.config#
Access to configuration settings for the POPROX recommender pipeline.
Functions
|
Whether to allow tests to fail because the DVC-managed data is missing. |
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 selectscuda
if it is available andcpu
otherwise.- Return type: