Skip to content

Conversation

@Kang-Meng
Copy link
Collaborator

No description provided.

@Kang-Meng Kang-Meng force-pushed the feat_async_copy branch 3 times, most recently from 17797ce to 034f86e Compare November 5, 2025 10:13
return torch::Tensor();
}
}

Copy link
Collaborator

Choose a reason for hiding this comment

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

Add a TODO tag, MTP need more support.

RobbieLeung
RobbieLeung previously approved these changes Nov 6, 2025
Copy link
Collaborator

@RobbieLeung RobbieLeung left a comment

Choose a reason for hiding this comment

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

LGTM

public:
~ServerStreamHandler() {
if (!promise_set_.exchange(true)) {
try {
Copy link
Collaborator

Choose a reason for hiding this comment

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

why use try catch here?

std::unique_ptr<std::thread> polling_thread_;

std::unique_ptr<ThreadPool> threadpool_;
ThreadPool copy_threadpool_{5};
Copy link
Collaborator

Choose a reason for hiding this comment

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

why 5 threads? ??

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants