Skip to content

Conversation

@kumpera
Copy link

@kumpera kumpera commented Apr 26, 2023

Append is an optional operation for stores.
The semantics is to create or append the value to a given key.

Test plan:

It builds.
This change was tested from PyTorch.

Copy link
Contributor

@fduwjj fduwjj left a comment

Choose a reason for hiding this comment

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

Are existing test plans enough?

@kumpera
Copy link
Author

kumpera commented Apr 27, 2023

Are existing test plans enough?

Yes, because we're not modifying exiting functionality.

The only implementations of the new store API will be in PT, so there isn't much to test here.

Copy link
Contributor

@fduwjj fduwjj left a comment

Choose a reason for hiding this comment

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

Unblock. Does the CI failure matter here?

V2 Store extends with the following methods: append, multi_get and multi_set.
Capabiltities can be probed at runtime and compile time.
@facebook-github-bot
Copy link

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

@facebook-github-bot
Copy link

@kumpera merged this pull request in c774e9e.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants