@@ -90,21 +90,21 @@ def test_copy_hf_ckpt_remote_code_hub_id_offline_uses_cache(tmp_path, monkeypatc
9090 dst_dir = tmp_path / "dst"
9191 snapshot_dir = tmp_path / "snapshot"
9292 snapshot_dir .mkdir ()
93- (snapshot_dir / "ultra_v3_reasoning_parser .py" ).write_text ("# parser" )
93+ (snapshot_dir / "nemotron_reasoning_parser .py" ).write_text ("# parser" )
9494
9595 monkeypatch .setenv ("HF_HUB_OFFLINE" , "1" )
9696 with patch (
9797 "modelopt.torch.export.plugins.hf_checkpoint_utils.snapshot_download" ,
9898 return_value = str (snapshot_dir ),
9999 ) as mock_sd :
100- copy_hf_ckpt_remote_code ("nvidia/nemotron-ultra-rl-041326 " , dst_dir )
100+ copy_hf_ckpt_remote_code ("nvidia/NVIDIA-Nemotron-3-Nano-30B-A3B-BF16 " , dst_dir )
101101
102102 mock_sd .assert_called_once_with (
103- repo_id = "nvidia/nemotron-ultra-rl-041326 " ,
103+ repo_id = "nvidia/NVIDIA-Nemotron-3-Nano-30B-A3B-BF16 " ,
104104 allow_patterns = ["*.py" ],
105105 local_files_only = True ,
106106 )
107- assert (dst_dir / "ultra_v3_reasoning_parser .py" ).read_text () == "# parser"
107+ assert (dst_dir / "nemotron_reasoning_parser .py" ).read_text () == "# parser"
108108
109109
110110def test_copy_hf_ckpt_remote_code_hub_id_offline_missing_cache_raises (tmp_path , monkeypatch ):
@@ -115,4 +115,6 @@ def test_copy_hf_ckpt_remote_code_hub_id_offline_missing_cache_raises(tmp_path,
115115 side_effect = LocalEntryNotFoundError ("missing" ),
116116 ):
117117 with pytest .raises (RuntimeError , match = "HF_HUB_OFFLINE" ):
118- copy_hf_ckpt_remote_code ("nvidia/nemotron-ultra-rl-041326" , tmp_path / "dst" )
118+ copy_hf_ckpt_remote_code (
119+ "nvidia/NVIDIA-Nemotron-3-Nano-30B-A3B-BF16" , tmp_path / "dst"
120+ )
0 commit comments