Skip to content

rpc/remote should always include autograd context id if contains UDF  #28819

@mrshenli

Description

@mrshenli

Currently, we only include context id when there is a valid context and when at least one tensor in the arg list requires grad. However, even if the request does not contain any requires_grad tensor, the response might contain some, whose grad should still belong to the same context.

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

Metadata

Metadata

Labels

module: rpcRelated to RPC, distributed autograd, RRef, and distributed optimizertriagedThis 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