This print statement runs on import, with no option to configure or disable it:
>>> import rerankers
Torch not installed...
May I kindly request to not print on import, or to make printing configurable? Thank you! In general, it's good practice to limit code that runs on import to a minimum.
Source:
|
print("Torch not installed...") |