Fix pipeline logger.warning_once bug
diff --git a/src/transformers/pipelines/base.py b/src/transformers/pipelines/base.py
index 7225a6136e48a..35ee02cab7ba6 100644
--- a/src/transformers/pipelines/base.py
+++ b/src/transformers/pipelines/base.py
@@ -1181,7 +1181,6 @@ def __call__(self, inputs, *args, num_workers=None, batch_size=None, **kwargs):
             logger.warning_once(
                 "You seem to be using the pipelines sequentially on GPU. In order to maximize efficiency please use a"
                 " dataset",
-                UserWarning,
             )
 
         is_dataset = Dataset is not None and isinstance(inputs, Dataset)

Fixes #30076