huggingface / optimum-intel

🤗 Optimum Intel: Accelerate inference with Intel optimization tools
https://huggingface.co/docs/optimum/main/en/intel/index
Apache License 2.0
358 stars 99 forks source link

Disable future warnings/info messages on import #748

Closed helena-intel closed 1 month ago

helena-intel commented 1 month ago

Importing an OVModel shows info messages and warnings that are not relevant for optimum-intel end users. That's not an issue in a script, but in notebooks/demos it can be distracting. This PR disables the INFO message from NNCF, and FutureWarnings that result from imports in __init__.py

7025d07633b6ca9f8cfb18d483d600fc

HuggingFaceDocBuilderDev commented 1 month ago

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.