Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from
Jan 12, 2024
Merged

Conversation

tqchen
Copy link
Member

@tqchen tqchen commented Jan 11, 2024

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
Copy link
Member Author

tqchen commented Jan 11, 2024

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
18 checks passed
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