Skip to content

Conversation

@zdevito
Copy link
Contributor

@zdevito zdevito commented Nov 25, 2025

Stack from ghstack (oldest at bottom):

StreamWorker now directly stores a python environment rather than RValue. Now IValue/RValue are almost entirely unused within the workers, and WireValue is only used to interface with some tests. Follow ups will re-implement Tenosor/TensorCell as a wrapper around a python torch tensor. Then we can begin to remove torch-sys's libtorch bindings.

Differential Revision: D87835914

NOTE FOR REVIEWERS: This PR has internal Meta-specific changes or comments, please review them on Phabricator!

StreamWorker now directly stores a python environment rather than RValue. Now IValue/RValue are almost entirely unused within the workers, and WireValue is only used to interface with some tests. Follow ups will  re-implement Tenosor/TensorCell as a wrapper around a python torch tensor. Then we can begin to remove torch-sys's libtorch bindings.

Differential Revision: [D87835914](https://our.internmc.facebook.com/intern/diff/D87835914/)

**NOTE FOR REVIEWERS**: This PR has internal Meta-specific changes or comments, please review them on [Phabricator](https://our.internmc.facebook.com/intern/diff/D87835914/)!

[ghstack-poisoned]
@meta-cla meta-cla bot added the CLA Signed This label is managed by the Meta Open Source bot. label Nov 25, 2025
zdevito added a commit that referenced this pull request Nov 25, 2025
StreamWorker now directly stores a python environment rather than RValue. Now IValue/RValue are almost entirely unused within the workers, and WireValue is only used to interface with some tests. Follow ups will  re-implement Tenosor/TensorCell as a wrapper around a python torch tensor. Then we can begin to remove torch-sys's libtorch bindings.

Differential Revision: [D87835914](https://our.internmc.facebook.com/intern/diff/D87835914/)

**NOTE FOR REVIEWERS**: This PR has internal Meta-specific changes or comments, please review them on [Phabricator](https://our.internmc.facebook.com/intern/diff/D87835914/)!

ghstack-source-id: 325513410
Pull Request resolved: #1992
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Meta Open Source bot. fb-exported meta-exported

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants