Skip to content

Remove tie weights check in DTensor worker #684

Closed

Description

@yuki-97

FSDP2 with Hugging Face tensor parallel plan should be able to handle tie_word_embeddings model with tp_size size > 1.

Currently in order to train a tie_word_embeddings model with tp_size > 1, we need to set NRL_SKIP_TIED_WEIGHT_CHECK=1 to skip the check, otherwise there will be an assert.

Need to validate if the following model works well, then remove the tie weights check and the env var.

  1. Qwen/Qwen2.5-1.5B-Instruct
  2. meta-llama/Llama-3.2-1B
  3. google/gemma-2-2b-it
  4. google/gemma-3-1b-it

Activity

  1. added
    qa_rcca_done
    on May 5, 2026
  2. qiaochuz-nv commented on May 5, 2026

    @qiaochuz-nv
    Contributor

    QA RCCA Analysis

    RCCA Status: Done
    RCCA Category: covered
    Test Action: none

    Fix PR: #700
    Root Cause: fix PR includes upstream test coverage.
    Trigger Config: Remove tie weights check in DTensor worker

    Coverage Assessment:

    Area Result
    Existing Test Upstream fix PR test coverage
    Coverage Status COVERED
    Gap N/A
    Corrective Action No nmfw_tests addition required; fix PR includes upstream test coverage or equivalent regression coverage.

    Conclusion: RCCA classification completed for this closed NeMo-RL GitHub issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

qa_rcca_done

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions