Skip to content

[RUNTIME][RPC] Enable RPCObjectRef return in RPC - #16387

Merged
Hzfengsy merged 1 commit into
apache:mainfrom
tqchen:rpc-obj
Jan 12, 2024
Merged

Hzfengsy merged 1 commit into
apache:mainfrom
tqchen:rpc-obj

Conversation

@tqchen

@tqchen tqchen commented Jan 11, 2024 •

Copy link
Copy Markdown
Member

This PR enables RPCObjectRef return object similar to the disco transporation. This allows us to do advanced remote debugging when remote vm requires advanced object input like kv cache and shape.

To keep the implementation with minRPC(used in some of the limited protocols) forn now, we only support RPCObjectRef for now and do not enable unpacking Shape and String (they can still be constructed with two step constructor, per testcase).

@tqchen

tqchen commented Jan 11, 2024 •

Copy link
Copy Markdown
Member Author

cc @junrushao @Hzfengsy

@tqchen
tqchen force-pushed the rpc-obj branch 3 times, most recently from 320c694 to c1644b7 Compare January 11, 2024 14:04
This PR enables RPCObjectRef return object similar to the disco transporation.
This allows us to do advanced remote debugging when remote vm requires
advanced object input like kv cache and shape.

To keep the implementation with minRPC(used in some of the limited protocols) forn now,
we only support RPCObjectRef for now and do not enable unpacking Shape and String.
@Hzfengsy
Hzfengsy merged commit 4258c86 into apache:main Jan 12, 2024
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.

2 participants