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

config changes #1733

Merged
merged 4 commits into from
Oct 1, 2024
Merged

config changes #1733

merged 4 commits into from
Oct 1, 2024

Conversation

felipemello1
Copy link
Contributor

@felipemello1 felipemello1 commented Oct 1, 2024

Context

What is the purpose of this PR? Is it to

  • add a new feature
  • fix a bug
  • update tests and/or documentation
  • other (please add here)

Changelog

3 mains fixes:

  1. llama 3.1 KD config loading wrong checkpoint
  2. qwen2 config loading wrong checkpoint
  3. llama 70b repeated fused argument + warning that it doesnt work on torch stable
  4. llama 405B-lora warning to not use pytorch stable

extra:
added compile flag for llama. I should have done it in another PR, sorry/not sorry.

Test plan

ran the configs and saved ckpt

Copy link

pytorch-bot bot commented Oct 1, 2024

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/torchtune/1733

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

✅ No Failures

As of commit 9a94468 with merge base 55b4814 (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 Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Oct 1, 2024
@@ -14,6 +14,12 @@
# tune run --nproc_per_node 8 full_finetune_distributed --config llama3/70B_full checkpointer.checkpoint_dir=<YOUR_CHECKPOINT_DIR>
#
# This config is only tested on an 8xA100 machine.
#
# !!!!!!!!!!!!!
# !!!!!!!!!!!!!
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: I would take the !!!! out personally

Copy link
Contributor Author

Choose a reason for hiding this comment

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

i am afraid that users would ignore it without the "!", and not understand why it crashes

checkpoint_files: [
hf_model_0001_0.pt
model.safetensors
]
recipe_checkpoint: null
output_dir: /tmp/Qwen2-1.5B-Instruct-lora-finetune
Copy link
Contributor

Choose a reason for hiding this comment

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

should change output dir here

Copy link
Contributor Author

Choose a reason for hiding this comment

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

i thought about it. Indeed in all of our configs we use the same output dir. I will make the change

@felipemello1 felipemello1 merged commit 59dc1f4 into pytorch:main Oct 1, 2024
17 checks passed
@felipemello1 felipemello1 deleted the fix_kd_config branch October 1, 2024 22:02
RdoubleA pushed a commit that referenced this pull request Oct 2, 2024
Co-authored-by: Felipe Mello <felipemello@fb.com>
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 Facebook bot. Authors need to sign the CLA before a PR can be reviewed.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants