[recipe] Refactor recipe demo to use KV interfaces#55
Merged
0oshowero0 merged 1 commit intoAscend:mainfrom Mar 25, 2026
Merged
Conversation
CLA Signature Passdodatboii, thanks for your pull request. All authors of the commits have signed the CLA. 👍 |
0oshowero0
reviewed
Mar 24, 2026
0oshowero0
reviewed
Mar 24, 2026
0oshowero0
reviewed
Mar 24, 2026
0oshowero0
reviewed
Mar 24, 2026
0oshowero0
reviewed
Mar 24, 2026
CLA Signature Passdodatboii, thanks for your pull request. All authors of the commits have signed the CLA. 👍 |
5 similar comments
CLA Signature Passdodatboii, thanks for your pull request. All authors of the commits have signed the CLA. 👍 |
CLA Signature Passdodatboii, thanks for your pull request. All authors of the commits have signed the CLA. 👍 |
CLA Signature Passdodatboii, thanks for your pull request. All authors of the commits have signed the CLA. 👍 |
CLA Signature Passdodatboii, thanks for your pull request. All authors of the commits have signed the CLA. 👍 |
CLA Signature Passdodatboii, thanks for your pull request. All authors of the commits have signed the CLA. 👍 |
- Remove legacy sync/async demos - Add single controller demo - Refactor tq_conf to satisfy new structure - Optimize meta field updates and clean up async interfaces
f7fd574 to
70878d9
Compare
CLA Signature Passdodatboii, thanks for your pull request. All authors of the commits have signed the CLA. 👍 |
0oshowero0
approved these changes
Mar 25, 2026
vermouth1992
pushed a commit
to vermouth1992/TransferQueue
that referenced
this pull request
Mar 28, 2026
### Summary Offer a new single_controller_demo to use the high-level KV interface (tq.init / tq.kv_batch_put / KVBatchMeta) instead of the low-level native interface (TransferQueueController, SimpleStorageUnit, process_zmq_server_info). ### Changes - Retired legacy sync_demo.py and async_demo.py - Replaced low-level controller/storage setup with tq.init(conf=config) - Switched from BatchMeta-based flow to KVBatchMeta-based flow: put prompts by UUID keys, sample global_batch_size keys via random.sample, pass KVBatchMeta through worker functions Signed-off-by: Chi Zhang <czhangseu@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Offer a new single_controller_demo to use the high-level KV interface (tq.init / tq.kv_batch_put / KVBatchMeta) instead of the low-level native interface (TransferQueueController, SimpleStorageUnit, process_zmq_server_info).
Changes