Skip to content

add merge function for NamedDataStore - #8850

Merged
facebook-github-bot merged 1 commit into
pytorch:mainfrom
lucylq:export-D70409078
Mar 3, 2025
Merged

add merge function for NamedDataStore#8850
facebook-github-bot merged 1 commit into
pytorch:mainfrom
lucylq:export-D70409078

Conversation

@lucylq

Copy link
Copy Markdown
Contributor

Summary:
Allow us to change the NamedDataStore model. Usage will now be:

named_data_store
for backend in backends:
bytes, named_data_store = backend.preprocess()
named_data_store.merge(named_data_store)

Note:

  • named_data_store is held by edge program manager
  • preprocess returns the named data store as part of PreprocessResult

Differential Revision: D70409078

@pytorch-bot

pytorch-botBot commented Feb 28, 2025

Copy link
Copy Markdown

🔗 Helpful Links

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

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

❌ 1 New Failure

As of commit 2c5ed91 with merge base a5f9210 (image):

NEW FAILURE - The following job has failed:

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

@facebook-github-botfacebook-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 28, 2025
@facebook-github-bot

Copy link
Copy Markdown
Contributor

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

@facebook-github-bot

Copy link
Copy Markdown
Contributor

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

Comment threadexir/_serialize/test/test_named_data_store.py Outdated
Summary:
Allow us to change the NamedDataStore model. Usage will now be:
```
named_data_store
for backend in backends:
bytes, named_data_store = backend.preprocess()
named_data_store.merge(named_data_store)
```
Note:
- named_data_store is held by edge program manager
- preprocess returns the named data store as part of PreprocessResult
Differential Revision: D70409078
@facebook-github-bot

Copy link
Copy Markdown
Contributor

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

@lucylq
lucylq requested a review from mcr229February 28, 2025 22:43
@facebook-github-bot
facebook-github-bot merged commit 9aca1fa into pytorch:mainMar 3, 2025
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA SignedThis label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.fb-exportedtopic: not user facing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@lucylq@facebook-github-bot@mcr229