Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cleans tensorParallelDegree with MultiDevice #1222

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Commits on Dec 11, 2023

  1. Cleans tensorParallelDegree with MultiDevice

    This is a refactor to simplify the handling of tensor parallel degree. Before,
    it is read independently in 3+ locations in code and the behavior determining
    the tpDegree is hard to follow. This moves the reading to a single place and
    then represents it using a MultiDevice. This also means that the behavior can be
    entirely visible - a worker group will show up with the tp devices that it's
    worker will be using.
    zachgk committed Dec 11, 2023
    Configuration menu
    Copy the full SHA
    f0f1ab3 View commit details
    Browse the repository at this point in the history