[CPU][CI] Fallback sliding window to v0 and fix CPU pooling model tests (#19901)
Signed-off-by: jiang1.li <jiang1.li@intel.com>
This commit is contained in:
@@ -1449,6 +1449,13 @@ class EngineArgs:
|
||||
model_config=model_config) and _warn_or_fallback(
|
||||
current_platform.device_name):
|
||||
return False
|
||||
|
||||
if (current_platform.is_cpu()
|
||||
and model_config.get_sliding_window() is not None):
|
||||
_raise_or_fallback(feature_name="sliding window (CPU backend)",
|
||||
recommend_to_remove=False)
|
||||
return False
|
||||
|
||||
#############################################################
|
||||
|
||||
return True
|
||||
|
||||
Reference in New Issue
Block a user