Skip to content

[Dist][Inference] U-haul TP and distribute utils code to TorchChat #873

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

Merged
merged 7 commits into from
Jul 2, 2024

Conversation

fduwjj
Copy link
Contributor

@fduwjj fduwjj commented Jun 28, 2024

This is a starting PR trying to uhaul some distributed related utils and TP code to torchchat from TorchTitan. The code most is gated and running python3 torchchat.py chat llama3 still working. We will only develop in the distributed folder down the road. And this PR is an initial effort and we will have more PRs down the road.

Copy link

pytorch-bot bot commented Jun 28, 2024

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/torchchat/873

Note: Links to docs will display an error until the docs builds have been completed.

❗ 1 Active SEVs

There are 1 currently active SEVs. If your PR is affected, please view them below:

✅ No Failures

As of commit 8393020 with merge base b244612 (image):
💚 Looks good so far! There are no failures yet. 💚

This comment was automatically generated by Dr. CI and updates every 15 minutes.

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Meta Open Source bot. label Jun 28, 2024
@Jack-Khuu Jack-Khuu requested review from byjlw and Jack-Khuu July 1, 2024 16:02
@fduwjj fduwjj requested a review from lessw2020 July 1, 2024 19:16
@fduwjj fduwjj requested a review from kartikayk July 1, 2024 23:02
Copy link
Contributor

@lessw2020 lessw2020 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm - thanks for getting this started!

@fduwjj fduwjj merged commit c716548 into main Jul 2, 2024
51 checks passed
vmpuri pushed a commit that referenced this pull request Jul 8, 2024
)

* [Dist][Inference] U-haul TP and distribute utils code to TorchChat
malfet pushed a commit that referenced this pull request Jul 17, 2024
)

* [Dist][Inference] U-haul TP and distribute utils code to TorchChat
malfet pushed a commit that referenced this pull request Jul 17, 2024
)

* [Dist][Inference] U-haul TP and distribute utils code to TorchChat
malfet pushed a commit that referenced this pull request Jul 17, 2024
)

* [Dist][Inference] U-haul TP and distribute utils code to TorchChat
malfet pushed a commit that referenced this pull request Jul 17, 2024
)

* [Dist][Inference] U-haul TP and distribute utils code to TorchChat
malfet pushed a commit that referenced this pull request Jul 17, 2024
)

* [Dist][Inference] U-haul TP and distribute utils code to TorchChat
malfet pushed a commit that referenced this pull request Jul 17, 2024
)

* [Dist][Inference] U-haul TP and distribute utils code to TorchChat
desertfire added a commit that referenced this pull request Aug 15, 2024
Summary: use_tp was renamed to use_distributed in #873, but the PR missed generate.py, which caused "AttributeError: 'BuilderArgs' object has no attribute 'use_tp'" when running generate with --profile.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Meta Open Source bot.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants