diff --git a/src/transformers/generation/candidate_generator.py b/src/transformers/generation/candidate_generator.py index fe9b3334012202..e9f688fd9f7c10 100644 --- a/src/transformers/generation/candidate_generator.py +++ b/src/transformers/generation/candidate_generator.py @@ -13,8 +13,6 @@ # See the License for the specific language governing permissions and # limitations under the License. -import warnings - import copy from typing import TYPE_CHECKING, Any, Dict, Optional, Tuple