Skip to content

Conversation

lucylq
Copy link
Contributor

@lucylq lucylq commented May 21, 2025

Stack from ghstack (oldest at bottom):

^

Program+data combined currently, using the lora linear definition.
Issue: #9580

Differential Revision: D75153377

^

Program+data combined currently, using the lora linear definition.

Differential Revision: [D75153377](https://our.internmc.facebook.com/intern/diff/D75153377/)

[ghstack-poisoned]
Copy link

pytorch-bot bot commented May 21, 2025

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/11045

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

❌ 2 New Failures, 2 Unrelated Failures

As of commit bda599b with merge base 8da2ea6 (image):

NEW FAILURES - The following jobs have failed:

BROKEN TRUNK - The following jobs failed but were present on the merge base:

👉 Rebase onto the `viable/strict` branch to avoid these failures

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

lucylq added a commit that referenced this pull request May 21, 2025
^

Program+data combined currently, using the lora linear definition.

Differential Revision: [D75153377](https://our.internmc.facebook.com/intern/diff/D75153377/)

ghstack-source-id: 285402970
Pull Request resolved: #11045
@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 May 21, 2025
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D75153377

@lucylq lucylq added the release notes: llm Changes to llm utilities label May 21, 2025
adapter_checkpoint = {}
adapter_config = {}
adapter_checkpoint_path = kwargs.get("adapter_checkpoint", None)
if adapter_checkpoint_path:
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: use os.exists or similar from Path?

Copy link
Contributor

@digantdesai digantdesai left a comment

Choose a reason for hiding this comment

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

tests?

^

Program+data combined currently, using the lora linear definition.

Differential Revision: [D75153377](https://our.internmc.facebook.com/intern/diff/D75153377/)

[ghstack-poisoned]
lucylq added a commit that referenced this pull request Jul 10, 2025
Pull Request resolved: #11045

^

Program+data combined currently, using the lora linear definition.

Differential Revision: [D75153377](https://our.internmc.facebook.com/intern/diff/D75153377/)
ghstack-source-id: 295432560
@lucylq
Copy link
Contributor Author

lucylq commented Jul 10, 2025

tests?

Let me add one. Maybe with phi-3-mini or a smaller model.

metadata: Json string containing metadata information.
e.g. '"{\"get_bos_id\":128000, \"get_eos_ids\":[128009, 128001]}"'
use_lora: Rank of the LoRA, if set to 0 then this means no LoRA. For use with QAT.
use_lora: Only for use with QAT. Rank of the LoRA adapter, disabled
Copy link
Contributor

Choose a reason for hiding this comment

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

You didnt add this, but why is this boolean named field an int, and why does it correspond with qat?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

cc @cccclai ?

Copy link
Contributor

Choose a reason for hiding this comment

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

Didn't add it myself either, I think it's likely from Lunwen - I believe it's for the llama 3.2 1b QAT checkpoint which include LoRA, so make sure we don't break llama3.2 QAT model if we use this flag somewhere else

Copy link
Contributor

Choose a reason for hiding this comment

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

^

Program+data combined currently, using the lora linear definition.
Issue: #9580

Differential Revision: [D75153377](https://our.internmc.facebook.com/intern/diff/D75153377/)

[ghstack-poisoned]
lucylq added a commit that referenced this pull request Jul 22, 2025
Pull Request resolved: #11045

^

Program+data combined currently, using the lora linear definition.

Differential Revision: [D75153377](https://our.internmc.facebook.com/intern/diff/D75153377/)
ghstack-source-id: 295432560
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D75153377

@lucylq lucylq mentioned this pull request Jul 22, 2025
^

Program+data combined currently, using the lora linear definition.
Issue: #9580

Differential Revision: [D75153377](https://our.internmc.facebook.com/intern/diff/D75153377/)

[ghstack-poisoned]
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D75153377

lucylq added 6 commits July 24, 2025 12:37
^

Program+data combined currently, using the lora linear definition.
Issue: #9580

Differential Revision: [D75153377](https://our.internmc.facebook.com/intern/diff/D75153377/)

[ghstack-poisoned]
^

Program+data combined currently, using the lora linear definition.
Issue: #9580

Differential Revision: [D75153377](https://our.internmc.facebook.com/intern/diff/D75153377/)

[ghstack-poisoned]
^

Program+data combined currently, using the lora linear definition.
Issue: #9580

Differential Revision: [D75153377](https://our.internmc.facebook.com/intern/diff/D75153377/)

[ghstack-poisoned]
^

Program+data combined currently, using the lora linear definition.
Issue: #9580

Differential Revision: [D75153377](https://our.internmc.facebook.com/intern/diff/D75153377/)

[ghstack-poisoned]
^

Program+data combined currently, using the lora linear definition.
Issue: #9580

Differential Revision: [D75153377](https://our.internmc.facebook.com/intern/diff/D75153377/)

[ghstack-poisoned]
^

Program+data combined currently, using the lora linear definition.
Issue: #9580

Differential Revision: [D75153377](https://our.internmc.facebook.com/intern/diff/D75153377/)

[ghstack-poisoned]
lucylq added a commit that referenced this pull request Jul 25, 2025
Pull Request resolved: #11045

^

Program+data combined currently, using the lora linear definition.
ghstack-source-id: 298641176

Differential Revision: [D75153377](https://our.internmc.facebook.com/intern/diff/D75153377/)
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D75153377

@facebook-github-bot facebook-github-bot merged commit 9558550 into gh/lucylq/83/base Jul 26, 2025
95 of 101 checks passed
@facebook-github-bot facebook-github-bot deleted the gh/lucylq/83/head branch July 26, 2025 01:01
@pytorchbot pytorchbot mentioned this pull request Jul 26, 2025
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. fb-exported release notes: llm Changes to llm utilities

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants