Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .gitmodules
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[submodule "3rdparty/NeMo"]
path = 3rdparty/NeMo-workspace/NeMo
url = https://github.com/NVIDIA/NeMo.git
branch = zhiyul/yukih/prepare-refit-info
branch = https://github.com/NVIDIA/NeMo/tree/ashors/rl-qwen3-export
shallow = true
[submodule "3rdparty/Megatron-LM"]
path = 3rdparty/Megatron-LM-workspace/Megatron-LM
Expand Down
2 changes: 1 addition & 1 deletion 3rdparty/NeMo-workspace/NeMo
Submodule NeMo updated from 8ddf43 to aaefed
7 changes: 6 additions & 1 deletion nemo_rl/models/megatron/community_import.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,9 +85,14 @@ def export_model_from_megatron(
from nemo.tron.converter.qwen import HFQwen2Exporter

exporter_cls = HFQwen2Exporter

elif hf_config.model_type in ("qwen3", "qwen3_moe"):
from nemo.tron.converter.qwen import HFQwen3Exporter

exporter_cls = HFQwen3Exporter
else:
raise ValueError(
f"Unknown model: {hf_model_name}. Currently, only Qwen2 and Llama are supported. "
f"Unknown model: {hf_model_name}. Currently, only Qwen2, Qwen3 and Llama are supported. "
"If you'd like to run with a different model, please raise an issue or consider adding your own converter."
)
print(f"Exporting model {hf_model_name} to {output_path}...")
Expand Down
Loading