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...") |
This print statement runs on import, with no option to configure or disable it:
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:
rerankers/rerankers/utils.py
Line 50 in c5b2c19