Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

distill.py fails with AttributeError: DistillQwen3VLModel has no attribute 'output_layer' when using Qwen3.5-0.8B as student/teacher

オープン
#1,819 コメント 1 件 リアクション 0 件 担当者 1 名 GitHub で見る

メンテナーはふだん 2 日以内に返信

@kevalmorabia97 がすでに取り組んでいます。

2026年6月25日 から。

評価

この issue はまだ評価されていません。

説明

feature request

branch: dkorzekwa/claude_qwen35_distill (create a few days ago from modelopt main)
container: nemo_26_06

Steps to reproduce

PYTHONPATH=/workspace/Model-Optimizer:$PYTHONPATH \
torchrun --nnodes 1 --nproc_per_node 1 \
    examples/megatron_bridge/distill.py \
    --tp_size 1 \
    --teacher_hf_path /workspace/hf_models/Qwen/Qwen3.5-0.8B \
    --student_hf_path /workspace/hf_models/Qwen/Qwen3.5-0.8B \
    --student_hf_model /workspace/hf_models/Qwen/Qwen3.5-0.8B \
    --use_mock_data \
    --seq_length 512 --mbs 1 --gbs 8 --train_iters 10 \
    --kd_loss_scale 1.0 \
    --output_dir /tmp/distill_test \
    --hf_export_path /tmp/distill_test/hf

Error
AttributeError: DistillQwen3VLModel has no attribute output_layer

Full traceback location:

  • modelopt/torch/distill/mode.py:189 → _convert_for_kd
  • modelopt/torch/distill/distillation_model.py:88 → self.get_submodule(student_layer_name)
主要言語
Python
スター
5.2k
フォーク
736
平均マージ
4日 2時間
マージ済み PR(30日)
160

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

NVIDIA/Model-Optimizer のほかの issue

NVIDIA/Model-Optimizer の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。