Skip to content

[executorch][aot] Remove deepcopy #2502

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

Closed
wants to merge 1 commit into from
Closed

[executorch][aot] Remove deepcopy #2502

wants to merge 1 commit into from

Conversation

lucylq
Copy link
Contributor

@lucylq lucylq commented Mar 19, 2024

No description provided.

Copy link

pytorch-bot bot commented Mar 19, 2024

🔗 Helpful Links

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

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

✅ No Failures

As of commit efb7489 with merge base 625257b (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 Mar 19, 2024
@facebook-github-bot
Copy link
Contributor

@lucylq has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

@lucylq lucylq marked this pull request as ready for review March 19, 2024 03:20
facebook-github-bot pushed a commit that referenced this pull request Mar 19, 2024
Summary:
Add fake program to remove deepcopy.
See: D54826270


Test Plan:
Imported from GitHub, without a `Test Plan:` line.

Peak memory usage: 38.7 GiB, down from 45GiB.
https://lookaside.facebook.com/intern/diff/file/data/?number=1470390332&download=1

Differential Revision: D55047794

Pulled By: lucylq
@facebook-github-bot
Copy link
Contributor

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

facebook-github-bot pushed a commit that referenced this pull request Mar 20, 2024
Summary:
Add fake program to remove deepcopy.
See: D54826270

Peak memory usage: 38.7 GiB, down from 45GiB.
https://lookaside.facebook.com/intern/diff/file/data/?number=1470390332&download=1


Test Plan:
Imported from GitHub, without a `Test Plan:` line.
```
memray run -m examples.models.llama2.export_llama -c ../llama-models/llama7b/consolidated.00.pth -p ../llama-models/llama7b/config.json -kv --use_sdpa_with_kv_cache -d fp32 --pt2e_quantize "xnnpack_dynamic"
```

```
buck2 run fbcode//executorch/exir/program/test:test_program
```

Reviewed By: cccclai

Differential Revision: D55047794

Pulled By: lucylq
@facebook-github-bot
Copy link
Contributor

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

facebook-github-bot pushed a commit that referenced this pull request Mar 20, 2024
Summary:
Add fake program to remove deepcopy.
See: D54826270

Peak memory usage: 38.7 GiB, down from 45GiB.
https://lookaside.facebook.com/intern/diff/file/data/?number=1470390332&download=1


Test Plan:
Imported from GitHub, without a `Test Plan:` line.
```
memray run -m examples.models.llama2.export_llama -c ../llama-models/llama7b/consolidated.00.pth -p ../llama-models/llama7b/config.json -kv --use_sdpa_with_kv_cache -d fp32 --pt2e_quantize "xnnpack_dynamic"
```

```
buck2 run fbcode//executorch/exir/program/test:test_program
```

Reviewed By: cccclai

Differential Revision: D55047794

Pulled By: lucylq
@facebook-github-bot
Copy link
Contributor

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

Summary:
Add fake program to remove deepcopy.
See: D54826270

Peak memory usage: 38.7 GiB, down from 45GiB.
https://lookaside.facebook.com/intern/diff/file/data/?number=1470390332&download=1


Test Plan:
Imported from GitHub, without a `Test Plan:` line.
```
memray run -m examples.models.llama2.export_llama -c ../llama-models/llama7b/consolidated.00.pth -p ../llama-models/llama7b/config.json -kv --use_sdpa_with_kv_cache -d fp32 --pt2e_quantize "xnnpack_dynamic"
```

```
buck2 run fbcode//executorch/exir/program/test:test_program
```

Reviewed By: cccclai

Differential Revision: D55047794

Pulled By: lucylq
@facebook-github-bot
Copy link
Contributor

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

@facebook-github-bot
Copy link
Contributor

@lucylq merged this pull request in f5d75ff.

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 Merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants