2020from transformers .testing_utils import slow
2121from utils_tests import MODEL_NAMES , get_num_sdpa , mock_torch_cuda_is_available , patch_awq_for_inference
2222
23- from optimum .exporters .openvino .model_configs import DeepseekOpenVINOConfig
23+ from optimum .exporters .openvino .model_configs import DeepseekOpenVINOConfig , NemotronOnnxConfig
2424from optimum .exporters .openvino .model_patcher import patch_update_causal_mask
2525from optimum .exporters .tasks import TasksManager
2626from optimum .intel import OVModelForCausalLM , OVModelForSequenceClassification
@@ -166,7 +166,7 @@ class OVModelForCausalLMIntegrationTest(unittest.TestCase):
166166 "bart" : 2 ,
167167 "baichuan2" : 2 ,
168168 "baichuan2-13b" : 2 ,
169- "bigbird_pegasus" : 2 ,
169+ "bigbird_pegasus" : 2 if is_transformers_version ( ">=" , "4.52" ) else 0 ,
170170 "gpt_bigcode" : 5 ,
171171 "blenderbot" : 2 ,
172172 "blenderbot-small" : 2 ,
@@ -187,8 +187,9 @@ class OVModelForCausalLMIntegrationTest(unittest.TestCase):
187187 "mistral" : 2 ,
188188 "mixtral" : 2 ,
189189 "mpt" : 5 ,
190+ "nemotron" : 2 ,
190191 "olmo2" : 2 ,
191- "opt" : 5 if is_transformers_version (">=" , "4.46.0 " ) else 0 ,
192+ "opt" : 5 if is_transformers_version (">=" , "4.46" ) else 0 ,
192193 "pegasus" : 2 ,
193194 "qwen" : 2 ,
194195 "phi" : 2 ,
@@ -228,6 +229,7 @@ class OVModelForCausalLMIntegrationTest(unittest.TestCase):
228229 "mixtral_awq" : 2 ,
229230 "gemma3_text" : 2 ,
230231 "glm4" : 2 ,
232+ "helium" : 2 ,
231233 "qwen3" : 2 ,
232234 "qwen3_moe" : 2 ,
233235 "mamba" : 0 ,
@@ -253,6 +255,8 @@ def test_find_untested_architectures(self):
253255 supported_architectures .remove ("deepseek_v2" )
254256 if "deepseek_v3" in supported_architectures :
255257 supported_architectures .remove ("deepseek_v3" )
258+ elif is_transformers_version ("<" , str (NemotronOnnxConfig .MIN_TRANSFORMERS_VERSION )):
259+ supported_architectures .remove ("nemotron" )
256260
257261 untested_architectures = supported_architectures - tested_architectures
258262
0 commit comments