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

Move to cuda unconditionally so pp-only run works #50

Merged
merged 1 commit into from
Feb 10, 2024
Merged

Conversation

wconstab
Copy link
Contributor

@wconstab wconstab commented Feb 9, 2024

No description provided.

@wconstab wconstab requested a review from wanchaol February 9, 2024 21:55
@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Meta Open Source bot. label Feb 9, 2024
Copy link
Contributor

@tianyu-l tianyu-l left a comment

Choose a reason for hiding this comment

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

lgtm!

@@ -185,4 +185,6 @@ def parallelize_llama(model, world_mesh, parallel_dims, args):

rank0_log("Applied FSDP to the model...")

# redundant if FSDP is used, but ensure the model is on device consistently regardless with parallelisms were used
Copy link
Contributor

Choose a reason for hiding this comment

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

not sure if this is a grammar issue: "regardless with" -> "regardless of what"

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yep, will fix

@wconstab wconstab merged commit 1a0b9fd into main Feb 10, 2024
3 checks passed
@wconstab wconstab deleted the whc/fixes branch February 10, 2024 00:50
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.

3 participants