logger.warning_advice. For example:   Copied DIFFUSERS_NO_ADVISORY_WARNINGS=1 ./myprogram.py Here is an example of how to use the same logger as the library in your own module or script:   Copied from diffusers.utils import logging