diff --git a/optimum/intel/ipex/modeling_base.py b/optimum/intel/ipex/modeling_base.py index f42cd8908a..ad04f193d7 100644 --- a/optimum/intel/ipex/modeling_base.py +++ b/optimum/intel/ipex/modeling_base.py @@ -134,6 +134,7 @@ class IPEXModel(OptimizedModel): main_input_name = "input_ids" output_name = "last_hidden_state" _supports_cache_class = False + _is_stateful = False def __init__( self, diff --git a/optimum/intel/version.py b/optimum/intel/version.py index e2caf8ae11..ad90088f0c 100644 --- a/optimum/intel/version.py +++ b/optimum/intel/version.py @@ -12,4 +12,4 @@ # See the License for the specific language governing permissions and # limitations under the License. -__version__ = "1.18.1" +__version__ = "1.18.2"