Skip to content

[DISCUSSION] RPC server-side ThreadLocalState #38510

@mrshenli

Description

@mrshenli

This is a followup discussion of #38439. We fix #38439 by restoring ThreadLocalState and distributed autograd context separately. Creating this issue to track discussion on whether distributed autograd context id belongs to ThreadLocalState.h or we should create RpcThreadLocalState.h or else. Below are some concerns and notes from an offline discussion with @xush6528 @ilia-cher and @pritamdamania87,

cc @suo @pietern @mrshenli @pritamdamania87 @zhaojuanmao @satgera @gqchen @aazzolini @rohan-varma @xush6528 @jjlilley @osalpekar

Metadata

Metadata

Assignees

No one assigned

    Labels

    module: multithreadingRelated to issues that occur when running on multiple CPU threadsmodule: rpcRelated to RPC, distributed autograd, RRef, and distributed optimizeroncall: jitAdd this issue/PR to JIT oncall triage queuetriagedThis issue has been looked at a team member, and triaged and prioritized into an appropriate module

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions