Skip to content

Conversation

@JacobSzwejbka
Copy link
Contributor

Summary: The params were being cloned and then cached so in python we observed them changing but the actual cpp weights being run against were not.

Differential Revision: D69568035

@pytorch-bot
Copy link

pytorch-bot bot commented Feb 13, 2025

🔗 Helpful Links

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

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

❌ 1 New Failure, 1 Unrelated Failure

As of commit 4635a8d with merge base 0222074 (image):

NEW FAILURE - The following job has failed:

  • pull / unittest-arm / linux-job (gh)
    RuntimeError: Command docker exec -t 3eaeb9cefdda4f181da8380828d4ce442ef255f2c0aed78c4fd33ebc4322b2c3 /exec failed with exit code 1

BROKEN TRUNK - The following job 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.

@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 Feb 13, 2025
@facebook-github-bot
Copy link
Contributor

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

Summary:

The params were being cloned and then cached so in python we observed them changing but the actual cpp weights being run against were not.

Differential Revision: D69568035
@facebook-github-bot
Copy link
Contributor

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


self.named_grads = dict(zip(fqn, grads))
if self.named_params is None:
params = full_outputs[params_start_idx:]
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: would be more clear if you added the comment about not cloning here instead imo

@facebook-github-bot facebook-github-bot merged commit 643c381 into pytorch:main Feb 13, 2025
45 of 49 checks passed
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 topic: not user facing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants